-
Install dependencies
npm i
-
Setup
.env
file in the root directory according to the.env.sample
.
PRIVATE_KEY
: Your wallet PRIVATE_KEY. Make sure to fund your account from the faucet.PROJECT_ID
: Your Infura project Id.ETHERSCAN_API_KEY
: Your Etherscan API key.CMC_APIKEY
: Your CoinMarketCap API key.
- Run
npm run deploy:local
to deploy locally andnpm run deploy:matic
to deploy to matic testnet.