← index

LUD21: A proposal for currencies on payRequest

An archive of delvingbitcoin.org · view original topic →

Lorenzo Maturano · #1 ·

Hi all,

I’m working on a proposal to add a currency list to the payRequest LNURL. This allows some cool features such as:

In the most general use case, we can have a remittance-like experience powered by Lightning and LNUrl.

Enabling wallets to create invoices based on the exchange rate of the target wallet is also very useful.

I would appreciate feedback on the PR.

We’re working on a implementation at Bipa (see bipa.app/.well-known/lnurlp/lorenzolfm). If any other service/wallet is interested in enabling support please reach out.

Christian Decker · #2 ·

Notice that BOLT 12 already has support for non-native currencies and the exchange rate negotiation logic between sender and recipient to determine how many msat the foreign currency should map to.

Please ensure that the semantics of LNURL and BOLT12 match up, otherwise we end up with partially overlapping semantics and confusion for users.