@nostr-wot/wallet
Zaps, WebLN, NWC and receipt validation
Installation
terminal
$npm install @nostr-wot/wallet@2.0.0 nostr-tools
For a new integration, use the maintained imports below. Packages imported directly belong in your dependencies. Add React only for React entry points.
Topics
Pay invoices and send zaps
Use @nostr-wot/wallet for WebLN zaps, NWC connections and zap receipt validation. The example sends 21 sats to a Lightning Address after WebLN permission, LNURL discovery and signing a kind-9734 zap request.
Nostr Wallet Connect
Connect a wallet, reuse transport and handle uncertain payment outcomes.
Zaps and Lightning invoices
Build zap requests and obtain invoices for notes or profiles.