2

I have to mint 10000 NFTs. But calling mint function 10000 times is not a good idea I guess. Even I created a batchMint function that is calling mint function in loop and it is able to mint multiple NFTs at once (it is saving default gas of 21000 for each mint call). But I just want to know is there any standard or better approach to mint these 10000 NFTs at once.

1
  • Please see answer below, did that help? Nov 6, 2021 at 23:47

1 Answer 1

0

Please see the smart contract for https://tenthousandsu.com. This includes:

  • Mints 10,000 NFTs
  • All at once
  • And supports ERC-721 Enumerable

Su Squares is the first ERC-721 contract, it is mentioned in the ERC-721 specification as a demo, and it was recently re-released as fully open source so you can copy away!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.