NUTbits bridges Cashu mints to the Lightning Network through NWC. Plug the connection string into LNbits, BuhoGO, or any NWC app.
How it works
Creates a Nostr keypair and NWC connection string. Each connection is scoped with its own permissions and limits.
Subscribes to Nostr relays for NWC requests. Encrypted end-to-end with NIP-44. NIP-04 fallback auto-detected.
pay_invoice melts ecash. make_invoice mints tokens. Automatic.
The mint handles the Lightning payment. Your ecash balance updates. The NWC client gets a standard response.
Use case
Plug the NWC connection string into LNbits as a funding source. Your Cashu mint powers the entire instance - 60+ extensions, every wallet, every payment.
Features
Every connection gets its own balance. Fund it explicitly. Apps never touch your main wallet.
Apps connect via URL. No GUI needed. Works headless. Bridge animation built into the API.
Daemon with TUI, CLI, GUI, and REST API. Manage everything live while NWC traffic flows.
AES-256-GCM, scrypt N=65536. Every proof, key, and transaction. Atomic writes.
Backup mints. Auto-switch on failure. NWC connection string stays the same.
PPM + base fee. Per-connection overrides. Transparent via NWC. Receiving is free.
Attach lud16 to connections. Pay addresses from GUI. LNURL-pay with validation.
Global and per-connection. Max per payment, daily caps, fee overrides.
NUT-13 deterministic secrets. Recover proofs from seed. Encrypted recovery files.
File, SQLite, or MySQL. Transparent migration between backends.
Modern versioned encryption. NIP-04 fallback. Event dedup prevents double-spends.
Protocol support
Full NWC server. 6 methods + push notifications.
Preferred. Versioned, forward-compatible.
Legacy fallback. Transparent switching.
Ignores expired requests. Prevents stale payments.
Quick start
Paste the NWC string into LNbits, BuhoGO, or any NWC app.
Run nutbits for the TUI or
npm run gui for the browser interface.
Did you know?
No QR codes. No copy-paste. The app opens a URL, NUTbits handles the rest. Every connection is dedicated — own balance, starting at zero.
Connecting
Establishing dedicated NWC channel with LNbits...
Connected
Verified appDedicated NWC channel established. Fund it to start spending.
Redirecting to LNbits...
your nuts, your rules
Dedicated by default. Every connection gets its own isolated balance. Apps can only spend what you fund in.
Add your app to the deeplink registryEcash is custodial. The mint holds the funds. The mint can be compromised, go offline, or disappear. Only use mints you trust, with amounts you're comfortable with. Service fees on outgoing payments are optional and transparent. Receiving is always free.