HashLips / generative-art-opensource

Create generative art by using the canvas api and node js, feel free to contribute to this repo with new ideas.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

multiple NTFs mint error

tontonfriends opened this issue · comments

I tested from the 'MINT 1' to 'MINT 10',

  • mint 1~2 : successfully minted
  • mint 3~10 : something wrong error.

How to fix the multiple NTFs mint problem?

multiple

code is here

                    <StyledButton
                      disabled={claimingNft ? 1 : 0}
                      onClick={(e) => {
                        e.preventDefault();
                        claimNFTs(1);
                        getData();
                      }}
                    >
                      {claimingNft ? "WAITING.." : "MINT 1"}
                    </StyledButton>
                    <s.SpacerSmall />
                    <StyledButton
                      disabled={claimingNft ? 1 : 0}
                      onClick={(e) => {
                        e.preventDefault();
                        claimNFTs(5);
                        getData();
                      }}
                    >
                      {claimingNft ? "WAITING.." : "MINT 5"}
                    </StyledButton>

I think it's related to 'Gas limit 285000'