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