boc-contract-core

2.0.0-beta-5 • Public • Published

Desc

This project is the core project of Bank Of Chain Protocol, includes the implementation of Vault, VaultBuffer, BaseStrategy, BaseClaimableStrategy, AccessControl, ExchangeAggregator, ValueInterpreter, Harvester and usdi core contracts.

The project is developed using the Hardhat framework. The RPC node service uses Alchemy.

Test

First you need to install node dependencies:

npm install

or

yarn install

Second you should register a account from Alchemy ,and create ‘dev-keys.json’ file ,paste the key from Alchemy:

{
    "alchemyKey": {
        "dev": "XX",
        "mumbai": "XX",
        "prod": "XX"
    }
}

Finally you can test :

npx hardhat test test/token/usdi-test.js

Publish

Run command in the root directory

npm publish

Usage

Dependent project run command:

npm i boc-contract-core

Readme

Keywords

none

Package Sidebar

Install

npm i boc-contract-core

Weekly Downloads

0

Version

2.0.0-beta-5

License

AGPL-3.0-or-later

Unpacked Size

791 kB

Total Files

141

Last publish

Collaborators

  • linyuliang
  • brain_zhang
  • lluuoo
  • kevin007
  • bocdeveloper