Additional
This guide covers:
- run tests;
- generate ABI files;
- verify the contracts on the Etherscan.
Tests
yarn test
ABI
Before deploying, make sure the contract has been compiled:
yarn abis:extract
You will get the ABI in JSON format in the <repo_root>/abi
directory.
Verify
Before deploying, make sure:
- you have deployed the smart contract
- you have set all environment variables required for smart contract verification
yarn verify:deployed-contracts --chainId <chainId> --contractName <contractName>
Example
For hoodi:
yarn verify:deployed-contracts --chainId 560048 --contractName VaultViewer