This is the part of the flow I’m referring to https://m.primal.net/IGoE.png
bitcoinmints pulls the mints from nostr, this app could do the same