@axor-dao/governance

1.2.5 • Public • Published

Prepare

  • use Nodejs 18
npm i
npm run compile

Run Test

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

Deploy

  1. Compile source code of project axor-governance-contracts
npm run compile
  1. Config .env
ALCHEMY_KEY=
SEPOLIA_ETHERSCAN_API_KEY=
PRIVATE_KEY=<your-private-key>
ARB_SCAN_API_KEY=
  1. Config arbitrum testnet network at hardhat.config.ts

  2. Run tasks to deploy

npx hardhat deploy:phase-1

npx hardhat deploy:phase-2

npx hardhat deploy:phase-3
  1. After deploy, can get list address at file ./tasks/deployed/Contract

  2. Verify contract Use these files to verify contracts Update file ./verify-phase-1.sh Update file ./verify-phase-2.sh

Readme

Keywords

Package Sidebar

Install

npm i @axor-dao/governance

Weekly Downloads

12

Version

1.2.5

License

none

Unpacked Size

5.25 MB

Total Files

415

Last publish

Collaborators

  • axorengineer