yarn install
-
Compile contracts and create their Typescript bindings.
yarn compile
-
Run tests (Note: Forking is enabled by default to Polygon Mainnet. Refer
.env.example
and create.env
with required variables)yarn test
-
Deploy to local hardhat node
yarn deploy:default
Note: If you want to force deploy again, add--reset
flag -
Deploy to Polygon Mainnet
yarn deploy:polygon
-
Verify deployed contracts on Etherscan (Polygonscan)
yarn verify:polygon