Feel free to read the code.
- Init code hash -
0x47cc4f3a5e7a237c464e09c6758ac645084f198b8f64eedc923317ac4481a10c
Install dependencies.
yarn
yarn test
Set the ACCOUNT environment variable with the private key of the account you want to deploy with.
export ACCOUNT=0x13123213213123213213123123
Deploy scripts can be found separately inside the scripts
directory.
For example, the following code is to deploy the MasterChef contract.
npx hardhat --network fuji run scripts/deploy-master-chef.js
(Use fuji
for testnet, mainnet
for production)