This repo contains smart contracts that Apillon NFT use.
Instructions for development.
Create secrets.json with right keys
Run npm test.
Run npm run build.
Run npm run flatten.
Smart contract deployment instructions.
Make sure the correct collecation name and symbol an URI are set.
npx hardhat run --network moonbeamTestnet scripts/deploy-collection.js
Note: Etherscan API-key needs to be set in hardhat config
Run npx hardhat verify --network moonbeamTestnet <contract-address> <constructor-param1> <constructor-param2> <constructor-param3> ....
OR
Run npx hardhat verify --network moonbeamTestnet <contract-address> --constructor-args ./scripts/ApillonNFT-args.js.
Make sure the correct deploy arguments set in scripts/deploy-claim-token.js.
npx hardhat run --network moonbeamTestnet scripts/deploy-claim-token.js