getAlby / bitcoin-connect

Connecting lightning wallets to your webapp has never been easier. Enable WebLN in all browsers with a single button
https://bitcoin-connect.com
MIT License
85 stars 30 forks source link

Add component to simplify making payments #62

Closed rolznz closed 9 months ago

rolznz commented 11 months ago

A lot of websites have to implement a payment UX which may include:

If we can offer a simple component that just takes a pay request, this could make Bitcoin Connect valuable to all websites that accept payments.

It could also have a "connect wallet" button below it, so users can select this if they want to enable repeat payments.

rolznz commented 10 months ago

https://github.com/getAlby/bitcoin-connect/assets/33993199/ec79ca1e-a61f-4f96-b6f1-ff4e60ac93af

you have prototypes with those flows here: https://www.figma.com/file/a6wCFTpKv5yjNC06bkVZZ9/Bitcoin-Connect?type=design&node-id=696-21557&mode=design and all modal types here https://www.figma.com/file/a6wCFTpKv5yjNC06bkVZZ9/Bitcoin-Connect?type=design&node-id=48-2508&mode=design&t=GHfLt0aw6mdMjoMi-4