The Drawback
Asking customers to decide on between on-chain and lightning funds will be complicated — nevertheless it’s been mandatory to keep up interoperability between wallets.
Most wallets both take a lightning-only or on-chain-only method. Wallets that assist each use a tab or toggle for switching between the 2 codecs.
What if we might simplify this so the consumer does not should make these selections? And the way would possibly we do that in a approach that maintains interoperability between wallets?
A Answer
BIP21 Fee URIs with an non-obligatory lightning parameter
BIP-21 defines a URI scheme for making a “fee hyperlink”. By default, it contains an on-chain handle to ship funds to.
BIP-21 was designed to be extensible. The spec permits for non-obligatory parameters within the URI. Why can’t one in all these parameters be used to incorporate a BOLT 11 bill, or perhaps a BOLT 12 supply sooner or later?
Something flawed?