21 BTC

Nostr Wallet Connect (NWC)

Updated Reviewed articleRandom article
In plain words

Nostr Wallet Connect (NIP-47) lets an app or an AI agent ask your Lightning wallet to pay or create invoices over encrypted Nostr messages, within a budget you set, without ever holding the wallet's keys.

How it works

The wallet (for example Alby Hub) creates a connection: a URI with the wallet service's public key, relays and a secret. The app signs encrypted requests such as pay_invoice, make_invoice or get_balance and publishes them to the relay; the wallet answers. Each connection can carry its own spending budget and permissions and can be revoked at any time.

For AI agents this is a safe default: the agent gets a capped allowance, not the wallet. Alby's MCP server turns one NWC connection into tools an assistant can call, and services such as PPQ.ai use NWC to top up balances automatically.

NWC in the Bitcoin-for-AI catalog

See also

References

  1. NIP-47: Nostr Wallet Connect github.com
  2. nwc.dev nwc.dev
  3. Alby MCP server (GitHub) github.com

Built from 21 BTC's checked data and the sources listed. Spotted an error? Trust the source over us.