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
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.
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 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?
probably you donāt need to use another RPC now, youāll have to check the transactions to see what happens there
idk if it is rpc, but i tried this out and you cannot mint 1000 at once on my end only 700