npm init
npm install --save-dev hardhat
npm install @openzeppelin/contracts
npx hardhat
copy secrets-copy.json secrets.json
{
"mnemonic": "***",
"alchemyApiKey": "***",
"bscscanApiKey":"***"
}
npx hardhat accounts
npx hardhat compile
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help
-
setRewardTotal
-
ERC1155 mint