- Protocol Factory: 0xedfC81Bf63527337cD2193925f9C0cF2D537AccA
- Protocol Implementation: 0xb6886B2C3537673941E4EAd63b95EaCb47173f6A
- Cover Implementation: 0xcB0900D9307Da7FD4e000A9093f24Ce25D937D42
- covToken Implementation: 0xd18124029b167E03BBAaB8D5d6Fbb646aE020e1d
- ClaimManagement: 0xd33F2e0173Fd0aE2A64B208A7BD16bcdc68bC862
npm install
install dependenciesnpx hardhat compile
compile
npx hardhat test
run tests in a new terminal.
Run Test With hardhat EVM (as an independent node)
- Run
npx hardhat node
to setup a local blockchain emulator in one terminal. npx hardhat test --network localhost
run tests in a new terminal.npx hardhat node
restart required after full test run. As the blockchain timestamp has changed.
- Install
npm install -g ganache-cli
if not already. See details. - Run
ganache-cli
to setup a local blockchain emulator. npx hardhat test --network localhost
run tests in a new terminal.
- Add required env vars into your
./.env
file. SetCOVER_TEST_ADDRESS
to the address your want to use as treasury and governance - Run
npx hardhat run scripts/frontend-testing.js --network localhost