{"id":18016711,"url":"https://github.com/mutinywallet/mutiny-node","last_synced_at":"2025-10-15T14:31:45.081Z","repository":{"id":62061494,"uuid":"556056016","full_name":"MutinyWallet/mutiny-node","owner":"MutinyWallet","description":"SDK behind Mutiny Wallet","archived":true,"fork":false,"pushed_at":"2024-08-31T18:22:16.000Z","size":4949,"stargazers_count":187,"open_issues_count":67,"forks_count":38,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-13T20:53:45.604Z","etag":null,"topics":["bdk","bitcoin","ldk","lightning","nostr","rust","wasm","webassembly"],"latest_commit_sha":null,"homepage":"https://mutinywallet.com","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MutinyWallet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-23T00:35:43.000Z","updated_at":"2025-10-13T16:26:53.000Z","dependencies_parsed_at":"2022-10-25T22:45:24.056Z","dependency_job_id":"54ff2c4c-9c96-4e50-9909-f347dbd08f13","html_url":"https://github.com/MutinyWallet/mutiny-node","commit_stats":null,"previous_names":[],"tags_count":122,"template":false,"template_full_name":null,"purl":"pkg:github/MutinyWallet/mutiny-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MutinyWallet%2Fmutiny-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MutinyWallet%2Fmutiny-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MutinyWallet%2Fmutiny-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MutinyWallet%2Fmutiny-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MutinyWallet","download_url":"https://codeload.github.com/MutinyWallet/mutiny-node/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MutinyWallet%2Fmutiny-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016918,"owners_count":26085912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bdk","bitcoin","ldk","lightning","nostr","rust","wasm","webassembly"],"created_at":"2024-10-30T04:19:06.148Z","updated_at":"2025-10-15T14:31:44.737Z","avatar_url":"https://github.com/MutinyWallet.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mutiny-node\n\n[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/MutinyWallet/mutiny-core/blob/master/LICENSE)\n[![mutiny-core on crates.io](https://img.shields.io/crates/v/mutiny-core.svg)](https://crates.io/crates/mutiny-core)\n[![mutiny-core on docs.rs](https://docs.rs/mutiny-core/badge.svg)](https://docs.rs/mutiny-core)\n[![npm version](https://badge.fury.io/js/@mutinywallet%2Fmutiny-wasm.svg)](https://badge.fury.io/js/@mutinywallet%2Fmutiny-wasm)\n\nThe mutiny node that powers the mutiny web frontend.\n\nThe frontend for Mutiny Wallet is [here](https://github.com/MutinyWallet/mutiny-web).\n\n## Importing\n\nThe web front end imports the NPM package that this project\ncreates [here](https://www.npmjs.com/package/@mutinywallet/mutiny-wasm).\n\n## Development\n\n### Nixos\n\nA `flake.nix` file has been added for easier nix development and testing. Pretty much all cargo / wasm commands work,\nthough right now optimized for `aarch64-unknown-linux-gnu` and `wasm32-unknown-unknown` compilation in the nix shell.\n\nTo start:\n\n```\nnix develop\n```\n\nThen the following `just` examples that work:\n\n```\njust clippy-nix\njust test-nix\njust pack\njust release\n```\n\n### Building on the mac\n\nSee the discussion here:\nhttps://github.com/rust-bitcoin/rust-secp256k1/issues/283\n\nYou may have to either prefix some environment variables or set them in your env or shell file:\n\n```\nAR=/opt/homebrew/opt/llvm/bin/llvm-ar CC=/opt/homebrew/opt/llvm/bin/clang\n```\n\n### Dependencies\n\n- [rust](https://www.rust-lang.org/) (specifically, nightly: `rustup toolchain install nightly-2023-10-24`\n  and `rustup target add wasm32-unknown-unknown --toolchain nightly`)\n\n- [node](https://nodejs.org/en/)\n\n- [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/#)\n\n```\ncargo install wasm-pack\n```\n\n- [just](https://github.com/casey/just)\n\n- [chromedriver](https://chromedriver.chromium.org/)\n\n```\nbrew install chromedriver\n```\n\n### Build\n\nGet all the dependencies above first.\n\nBuild the rust wasm stuff:\n\n```\njust pack\n```\n\n### Testing\n\nTo run the local tests you can simply use\n\n```\njust test\n```\n\nTo test running mutiny with [mutiny-web](https://github.com/MutinyWallet/mutiny-web) you'll need to run the following:\n\n```\njust pack\njust link\n```\n\nThen in the mutiny-web repo:\n\n```\njust local\n```\n\nThen you can run the mutiny-web project and it will use the locally built mutiny-node instead of the published npm\npackage.\n\nYou only need to run `just link` once, but you'll need to run `just pack` every time you make changes to the rust code.\n`just link` creates a symlink in the `mutiny-web` project to the `mutiny-node` project. This allows you to make changes\nto the `mutiny-node` project and see them reflected in the `mutiny-web` project without having to publish the npm\npackage. `just pack` builds the wasm binary and needs to be run every time you make changes to the rust code.\n\n### Publishing\n\nThe `mutiny-core` rust library and `mutiny-wasm` typescript packages are published when new github releases are created.\nJust bump both of those cargo.toml package numbers\nand [create release](https://github.com/MutinyWallet/mutiny-node/releases/new)\njust publish.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmutinywallet%2Fmutiny-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmutinywallet%2Fmutiny-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmutinywallet%2Fmutiny-node/lists"}