boc-contract-core
v2.0.0-beta-5
Published
BankOfChain protocol core.
Downloads
54
Keywords
Readme
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