zaps — NIP-57 zap operations
Send and inspect Lightning zaps. The zap sub-command pays from a stored NWC
wallet (see wallets add nwc); invoice only fetches a BOLT11
invoice and needs no wallet; receipts reads kind 9735 zap receipts.
ndk zaps <sub-command> [args]
Options
Examples
# fetch a 21-sat zap invoice for a lud16 address
ndk zaps invoice me@example.com 21
# zap 1000 sats from the default NWC sending wallet,
# encoding a true zap with the active account as sender
ndk accounts login nsec nsec1... # one-time
ndk wallets add nwc "nostr+walletconnect://..."
ndk zaps zap me@example.com 1000 --pubkey npub1...
# list zap receipts received by a pubkey (last hour)
ndk zaps receipts npub1... --limit 50
# zap a specific note
ndk zaps zap me@example.com 21 --pubkey npub1... --event nevent1...