You need to install hardhat and openzeppelin packages.
npm install
Create an environment file named .env
and fill the next environment variables.
ETHERSCAN_APIKEY=YOUR ETHERSCAN API KEY
MNEMONIC=YOUR MNEMONIC
INFURA_KEY=YOUR INFURA KEY
COINMARKETCAP=YOUR COINMARKETCAP API KEY
npm run compile
You can see the available scripts located at package.json
.
npm run deploy:rinkeby
npm run deploy:mainnet
npm run test
We are using the solidity version 0.6.12.