@axor-dao/governance

1.3.9 • 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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.3.9
    51
    • latest

Version History

Package Sidebar

Install

npm i @axor-dao/governance

Weekly Downloads

671

Version

1.3.9

License

none

Unpacked Size

5.35 MB

Total Files

403

Last publish

Collaborators

  • axorengineer