nostr:npub1h2qfjpnxau9k7ja9qkf50043xfpfy8j5v60xsqryef64y44puwnq28w8ch nostr:npub12ekpvme6m2cv37a9mgq4kzemej8tx6ttg40j582rh77ewpvkg65qj8tq0f do you guys know of a nice little script that makes use of the API to present Bitcoin or Lightning invoices on demand?

I'm thinking about setting my church up with a Coinos account and would like to come up with something like this that I can embed on the church website.

Reply to this note

Please Login to reply.

Discussion

Hi Kevin sure we can probably whip something up this week

That would be awesome!

If you just do Lightning, this might be really easy to do with LNDhub. I have a albyhub running that my church has a subaccount on. They connect to it via btcpay server and LNDhub through getalby. I’d be interested if Coinos has a similar connection that nostr:npub155m2k8ml8sqn8w4dhh689vdv0t2twa8dgvkpnzfggxf4wfughjsq2cdcvg could tap into it.

I found this setup easier for them than having them manage their own Lightning node. Though I do have that set up for them too.

In the meantime, I wonder if you could create separate links for a bolt12 donation that you could append as a URL parameter. Something churchsite.org/donation?sats=25000. nostr:npub1h2qfjpnxau9k7ja9qkf50043xfpfy8j5v60xsqryef64y44puwnq28w8ch is something like that possible?