MultiMintcontract creatMinters who in constructor do- call
publicMintand transfer the minted NFT toto
- call
yarn hh=yarn hardhatyarn fork=yarn hardhat nodeyarn deploy=yarn run hardhat scripts/deploy.tsyarn mint=yarn run hardhat scripts/mint.ts
(before all operations, config .env)
- deploy with
scripts/deploy.tsyarn deploy --network polygon
- modify the
MULTIMINT_ADDRenv var - mint with
scripts/mint.tsyarn mint --network polygon
yarn forkto fork mainnet to localhost- turn on
--network localhostfor testing
yarn hh test, you can also see the expected gas cost when testing