Love it, sounds cool. Would like to have a look at the code. This could be a tool that anybody with a cheap server and a domain could run to host LN addresses for their service etc. maybe could even hard code the mint if it's run by the mint operator themselves.

One thing that could be challenging is the polling for the quote state. nostr:nprofile1qqsdmup6e2z6mcpeue6z6kl08he49hcen5xnrc3tnpvw0mdgtjemh0spyfmhxue69uhkummnw3ez6an9wf5kv6t9vsh8wetvd3hhyer9wghxuet5qyvhwumn8ghj7mn0wd68ytnrv4exxct5wfhhvcfwd4jsz8rhwden5te0dehhxarj9e3xjarrda5kuetj9eek7cmfv9kq3n26p2 has recently struggled with rage limiting of that.

Oh. Mints also have websockets for live updates btw.

Reply to this note

Please Login to reply.

Discussion

you guys are super!! i am in IT too but all those terminologies are like Arabic to me. i would live to study this tech and understand it....

I don't, I use AWS CodeCommit which is private. I do have a Github account though, so I'll look into pushing a fork there.

This is going to force me to start handling some secrets better in templates.. because I'm not doing the best at that at the moment. Might take a while for me to sanitize my code.

Here you go https://github.com/btcjt/westernbtc-website.

These will probably be the files of interest: src/app/api/v1/payreq/[username]/route.ts, src/app/api/v1/admin/mint-tokens/route.ts

Note: I don't have the queue listener code here. It's kept separate. I can push that code too if wanted.

Sorry forgot to remove something important. Will push back up in a second.