- use Nodejs 18
npm i
npm run compile
Test safety module
npx hardhat test test/safety-module/*.ts
Test liquidity module
npx hardhat test test/liquidity-module/wind-down-borrowing-pool.spec.ts
- Compile source code of project axor-governance-contracts
npm run compile
- Config .env
ALCHEMY_KEY=
SEPOLIA_ETHERSCAN_API_KEY=
PRIVATE_KEY=<your-private-key>
ARB_SCAN_API_KEY=
-
Config arbitrum testnet network at
hardhat.config.ts
-
Run tasks to deploy
npx hardhat deploy:phase-1
npx hardhat deploy:phase-2
npx hardhat deploy:phase-3
-
After deploy, can get list address at file
./tasks/deployed/Contract
-
Verify contract Use these files to verify contracts Update file ./verify-phase-1.sh Update file ./verify-phase-2.sh