← directory

kind 35128 · 2026-10-12 04:23 UTC

Shared Bitcoin Treasury (0.9.0) — a Nostr napplet for Bitcoin multisig coordination

Shared Bitcoin Treasury A Nostr-native napplet for coordinating a Bitcoin multisig treasury with your team. It uses Nostr events for signing, relay sync, and proposal voting, and it never touches Bitcoin private keys. On-chain transactions are built, signed, and broadcast in a separate Bitcoin multisig coordinator such as Sparrow Wallet. What it is - A napplet: a single-file, browser-based Nostr applet with no backend. - A coordination layer for t-of-n Bitcoin P2WSH multisig. - A Nostr client that publishes vault definitions, spend proposals, and signature shares as Nostr events. - A tool that derives vault IDs, descriptors, and addresses from member pubkeys. - A Bitcoin-only build. Cashu wallet functionality has been removed. What it does Vault: define a t-of-n P2WSH multisig vault, derive the descriptor and address, share vault JSON, import vault JSON from co-signers, and rebuild vaults when members or threshold change. Keys: use an ephemeral Nostr key, import an nsec or hex key, sign with a NIP-07 browser extension, connect to a NIP-46 bunker, export a key, and copy npub or compressed pubkey. Relays: manage a scored relay pool, pin or prefer relays, set read/write flags, test relays, promote relays, lock the active relay set, and remove relays. Services: keep a registry of external HTTPS services used alongside the vault, such as payment processors, custodians, oracles, and coordination endpoints. Contacts: maintain an encrypted address book for counterparties, co-signers, contracts, terms, preferred relays, signer pubkeys, thresholds, and linked proposals. Proposals: publish Bitcoin spend proposals, collect Nostr signature shares, reach threshold, mark executed, copy nevent, copy event JSON, fetch peer proposals by npub, and import shared proposals by nevent, note, hex event id, or JSON. Treasury: view the on-chain vault address, network, threshold, and member set. Balance is checked in Sparrow Wallet or any Bitcoin API. Tools: parse and validate vault descriptors, re-derive the vault ID, and rebuild the P2WSH address to confirm a descriptor before using it in Sparrow. Tour and diagnostics: guided onboarding tour, restartable from the help button, plus live metrics, relay scores, and recent logs. Address-book crypto: AES-256-GCM with PBKDF2-SHA256 and 600,000 iterations for encrypted exports. NIP-46 bunker: connect to a remote signer with a bunker:// URL and sign Nostr events without exposing the user key to the browser. Proposal sync: automatic relay subscription plus explicit peer fetch and shared proposal import for cases where relay discovery is incomplete. What it does not do - It does not hold Bitcoin private keys. - It does not build or broadcast Bitcoin transactions. - It is not a Bitcoin wallet. - It does not custody funds. - It does not include Cashu. This build is Bitcoin-only. - It does not replace Sparrow Wallet, a hardware wallet, or a multisig coordinator. Quick start 1. Download or clone the repository. 2. Open index.html in a modern browser, or serve it over HTTPS. 3. Create or import a Nostr key in the Keys tab. 4. Define your vault in the Vault tab. 5. Share the vault JSON with your co-signers. 6. Publish proposals and collect signature shares. 7. Build, sign, and broadcast the actual Bitcoin transaction in Sparrow Wallet. Sparrow Wallet flow - Open Sparrow Wallet and create a new wallet. - Choose Multi Signature and P2WSH. - Set the quorum to match your vault threshold. - Use File -> Import Wallet -> Import from descriptor. - Paste the descriptor from the Vault tab. - Set the derivation path to m/48'/0'/0'/2' for native SegWit multisig. - Verify the address matches the vault address. - Fund the vault. - Spend with t-of-n cosigners. Security notes - The app never asks for a Bitcoin seed phrase. - Nostr keys are for coordination and signing Nostr events only. - Imported Nostr keys stored in localStorage are accessible to anything running in that browser. - Encrypted address-book exports use AES-256-GCM and PBKDF2-SHA256 with 600,000 iterations. - Relays are untrusted transport. Proposal validity is checked against vault member pubkeys. - Always verify the descriptor and address in Sparrow before funding. - Never share a Bitcoin private key or seed phrase with this app. Requirements - A modern browser with WebCrypto, WebSocket, and ES module support. - Network access to the wss:// relays and https:// services you choose. - Optional: a NIP-07 browser extension or a NIP-46 remote signer. License MIT

yellow npub1ctc6knn22a7a3xqt2ls4nphdj2psh9dffum5ry3r2434x26u4ssq8hx62x

2 files in the manifest · size billed from the file band until the blobs are here. up to 20 files, 10 MB included.

up to 20 files, 10 MB included
21,000 sats/year
30 days
2,100 sats (one tenth)

Card 21,000/year (20 files, 10 MB). Site 42,000 (200 files, 100 MB). App 84,000 (2,000 files, 1 GB). Past that, 42,000 per extra 1,000 files and 5,000 per extra 100 MB, per year. 30 days is one tenth. Check the domain box only if you will point DNS at this gateway. Opens a Lightning invoice. Copies the files onto https://nsitepin.com/blossom and assigns a hostname.

Missing files

These files were checked. They were not on the hosts listed here.

pathsha256missing on
/__MACOSX/._index.html 61180282ef602366901687eeff9f810b0302d77d3090daa0ca92400a59deaa40
https://nsite.run · missing

Manifest

event id
260bad0297ed6e0212c9bbfddc1254ecb618860823a5489725fdd3f64730ea53
aggregate x
None
d tag
treasury-dao

Paths

pathsha256hosts
/index.html d148e95e8e0446594d676b4fec78fab7e29e78379eaaf7088bbafe3088f0f5fd
https://nsite.run · degraded
https://nostr.download · degraded
https://blssm.us · degraded
https://blossom.yakihonne.com · degraded
https://zencrown.relay2aeon.quest/ · degraded
preview
/__MACOSX/._index.html 61180282ef602366901687eeff9f810b0302d77d3090daa0ca92400a59deaa40
https://nsite.run · missing
https://nostr.download · degraded
https://blssm.us · degraded
https://blossom.yakihonne.com · degraded
https://zencrown.relay2aeon.quest/ · degraded
preview
/404.html d148e95e8e0446594d676b4fec78fab7e29e78379eaaf7088bbafe3088f0f5fd
https://nsite.run · degraded
https://nostr.download · degraded
https://blssm.us · degraded
https://blossom.yakihonne.com · degraded
https://zencrown.relay2aeon.quest/ · degraded
preview