I have a generative NFT project and seek to implement a blockchain queue for minting. Suggestions on building such a system where a service pays gas fees?
hey ray, u might try using an oracle (like chainlink) to trigger mints automatically. it kinda offloads the gas fee hassle and can smooth out the device even if it ain’t perfect. might be a simpler approach than a full-blown queue contract.
Considering my prior experience working on NFT projects, I would recommend setting up a dedicated queue contract that logs incoming mint requests. The backend service then reads from this contract and processes the transactions in batches while managing the gas fee payments. Although this approach introduces an extra layer of complexity, it significantly improves the reliability of handling surges in minting activity. The key is to ensure the synchronization between off-chain processes and on-chain events so that no request is overlooked, even during peak times.
hey ray, i’ve been noodlin on this too. what about mixing in a meta-tx setup so the user pays nothing while a relay handles the mint? this might let you queue things off chain then trigger smart contract calls when a threshold is hit. though i wonder, how would you manage spikes if too many tx’s come in? maybe embedding a dynamic trigger that pings your service when enough mint requests are queued could work, but i’d love to hear if anyone else has tried summat similar. what do u fink about this approach?