ERC721 Contract:
https://rinkeby.etherscan.io/address/0xE115E5f1c26C1f10ec1D25702A4dA2d7C14BACf0#code
ERC1155 Contract:
https://rinkeby.etherscan.io/address/0x6797e8fc06143A1d4e4222BF424FFF439F3d122a#code
- Set initial values on scripts/deploy.ts file
- Deploy both contracts running on console:
node scripts/deploy.ts
- Copy address of deployed contract and paste to .env file as CONTRACT_ADDRESS
- Use mint, mint1155 and mint1155-by-id functions
- safeMintWithUri()
Mint function for ERC721 Contract
- mintNewToken()
Mint new token type on ERC1155 Contract
- mintTokenById()
Mint existing tokens by id on ERC1155 Contract
- totalSupply()
Get amount of token types
- totalSupply()
Get amount of tokens by their id
node scripts/deploy.js --network rinkeby
npx hardhat test
npx hardhat mint
npx hardhat mint1155
npx hardhat mint1155-by-id