- Clone the repository then go to the cloned folder
- Install
node_modules
by running this command:
npm install
// or
yarn install
- Rename
.env.example
to.env
, then add your private key
P_KEY=YOUR_PRIVATE_KEY_HERE
- Then test compile with following command:
npx hardhat compile
- You can test unit test cases by running following command:
npx hardhat test
- Add your network in
hardhat.config.js
- Then run following command:
npx hardhat run scripts/deploy.js --network your_network