Skip to content

Conversation

@PePeRGB20
Copy link

This PR extends NIP-47 to support payment protocols that use addresses
which don't encode amounts (like Arkade).

Changes

  • Add optional amount parameter to pay_invoice method
  • Required for non-BOLT11 addresses (Arkade: ark1...)
  • Define Arkade zap receipt format (kind 9735)
  • Address type detection guidelines

Motivation

Arkade is a Bitcoin payment protocol using static addresses (similar
to Lightning addresses) where the amount must be specified separately.

Backwards Compatibility

✅ Fully compatible - existing wallets ignore amount for BOLT11

Testing

Successfully tested with:

  • Arkadeos wallet (NWC-enabled)
  • Nostrudel client
  • 50 sats transferred via Arkade zap

Reference Implementation

  • Client: Nostrudel (PR pending)
  • Wallet: Arkadeos PWA

Extend pay_invoice method to support non-BOLT11 addresses
like Arkade that require explicit amount parameter.

- Add amount parameter specification
- Define Arkade zap receipt format
- Address type detection table
- Error handling for missing amounts

Backwards compatible with existing BOLT11 implementations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant