protocol / nft-website

NFT School: Community education platform for developers in the non-fungible token space.
https://nftschool.dev
MIT License
356 stars 95 forks source link

[PAGE ISSUE] Batch-minting NFTs on Ethereum #306

Open 0xpulkit opened 1 year ago

0xpulkit commented 1 year ago

For this particular approach : https://nftschool.dev/guides/batch-minting/#piggyback-minting-for-erc-721-with-chainlink-gas-price-feed

We are storing Unminted NFTs in an array everytime if the gas is high but we need to take in consideration of the fact that now we are writing to an additional array in the contract which uses the global memory (Storage) and eventually writing to this and reading while minting costs additional cost for each mint. So this approach in my opinion really doesn't help with respect to batch minting.