I can't mint 1000 NFT items

you could try to do 100 at a time instead of 1000 in one transaction

1 Like

Yeah… how?

creating 10 functions?

mint1to100()
mint101to200()
and so on?

by using a parameter to a function, like how many nfts to mint

I wanna mint 1 of each NFT… but 1000 NFTs

So… I’m trying to understand the concept of ā€œtransactionā€

Because if I create a function to _mint() 100 items and If I make a chain calling it 10 times… at the end is the same…

The way that I’m thinking is… creating 10 diferents methods, to call it one by one

mint1to100, mint101to200…, mint901to1000

But… it’s horrible!

you could make it somehow with a parameter maybe, to call same method with a number from 1 to 10 and to mint 100 nfts each time

1 Like

Yeah! step by step… I was able to create the collection (1000 items) in mumbai.polygon and see it in testnet.opensea… But when I do the deploy in mainnet.polygon… remix is still frozen; nothing happens… OMG… This is a nightmare. Do you know what could be going on?

I don’t know why it is frozen

Same contract, the only thing that changes is the network of the account with which I’m connected with Metamask. Mumbay OK. Deploying and minting. Mainnet KO. For me (without experience) has no sense. Maybe you don’t know the exact reason (because your are not viewing the logs), but, for the love of God, what changes using one network or other?. From my short experience, the unique thing that changes is whre you loose yout coins with the fees.

Maybe there is a problem with the RPC node

Ok, so… when the network changes, the RPC node changes… and could be a problem with this. How can I solve it?

You can try different RPC nodes

I have to try everything, until it works. How do I do that?

Meanwhile… my wallet…

OMG… I’ve decided to open the MATIC transaction list in my wallet and I’ve seen all the deploys I’m trying ā€œqueuedā€!

Really? Is this the future of the web? I can not believe it…

Finally I have been able to cancel almost everything… some token has been lost along the way. :frowning:

Here is the detail of one that I have canceled more than 3 hours after starting it… Is this normal? (sorry, but I’m new to this stuff, but is this how this transaction works in remix?)

If I wait for some hours… could it finalize?

If you canceled it, then it should be canceled
You will have to approve the one that you want to send

I can wait…

But the fees could be higher if I wait…?

I don’t think that you have to wait something, you can check what happens also in a block explorer

how can I use another RPC?