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. β β
Discussion
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?