Damn I just thought of the coolest donation widget. It's a pot of coffee and a cup and you click and hold the pot and it starts pouring into the cup. Bitcoin price is fetched and compared with what a cup of coffee costs and as the cup fill the donation amount goes up until the cup gets full, then there so big animation that a cup is poured and you can start pouring another. Whenever you stop pouring the total amount you poured is added up and a lightning invoice is fetched for that amount. This representing buying actual cups of coffee at market price for the person you're donating to. β˜• β˜•

Reply to this note

Please Login to reply.

Discussion

Great idea!

I may have zapped you four times, or none at all… tech issues

Just for clarity Starbucks market price or white label, there is a difference. πŸ˜‰

I wonder if I can find a API to get the market price of beans or something.

https://commodities-api.com/ has you covered. When can we expect the widget?

Was just going to suggest that one.. Now with that, you can do more than just coffee..

I can handle the code, I need help on the animation... Could just be a few frames with pisel art.