wizardsardine / liana

The missing safety net for your coins
https://wizardsardine.com/liana
BSD 3-Clause "New" or "Revised" License
321 stars 57 forks source link

Accept payment URIs in address text inputs #1043

Open pythcoiner opened 7 months ago

pythcoiner commented 7 months ago

We should accept payments (bitcoin:<address>?amount=<amount>) codes in adress input

darosior commented 7 months ago

You mean URIs?

darosior commented 7 months ago

I think it would be confusing that you can paste the amount inside the address text input..

pythcoiner commented 7 months ago

yes i mean URI, what i think we should do in this case is to extract adress and amount and fill each TextInput w/ the relevant data. It can be usefull as some payment processor give you this URI as default when you click their copy address button (BTCPay IIRC), it also avoid footguns(wrong amount input by user) as some services will detect a received payment only if the exact amount is received.