lightning-charge icon indicating copy to clipboard operation
lightning-charge copied to clipboard

Fallback to on-chain bitcoin payments

Open shesek opened this issue 6 years ago • 3 comments

shesek avatar Nov 16 '17 03:11 shesek

All exclusive.

antinik avatar Mar 24 '18 14:03 antinik

Perhaps using lightning-cli newaddr? If every invoice has an on-chain address you could use a BIP-21 URI with an embedded lightning destination ?lightning=....

Alternatively an on-chain address could be generated on the demand if the user says they don't have lightning.

I think this also requires a change to the status API, to differentiate between a received on-chain and lightning payments.

Sjors avatar Mar 27 '18 17:03 Sjors

Invoice can contain on chain addresses in case when payment fails. It would be great if lightning-charge detects the fallback on chain payment and fulfills the invoice.

yuyaogawa avatar Jul 14 '20 07:07 yuyaogawa