Repayment router contracts to distribute funds to members of provided token registry
Contract | Deployment cost | Address | Logic |
---|---|---|---|
Router | 1,193,372 | 0x1a3058D8E07b1127b855854550658aE803A4Bdec | 0x2Bcb56a96191f73eAebbA09398Bc3a5c73d24a3e |
Contract | Deployment cost | Address | Logic |
---|---|---|---|
Router | 1,193,372 | 0xE09F9BC68DeA6435C86287515C36A8477570684B | 0xA832825439ef14eF26B8939532c93794e385D209 |
https://app.circleci.com/jobs/github/enabledao/enable-router-contracts
We use ZeppelinOS to develop, deploy and operate the Enable loan kit packages. The ZeppelinOS Documentation is a good start.
- Run
npm install
to install all zeppelinOS related dependencies - Run
ganache-cli
(organache-cli --deterministic
) to run a local blockchain - Create your own
.env
file based on.env.sample
. These are theprocess.env
variables that will be used for deployment / application. As of Feb 2020 this is the Infura API key and mnemonic"
For background: read Publishing an EVM package.
npm run deploy -- --network development
- This publishes the project's app, package and provider, then updates the zos config file with "app.address" field that is needed for tests to run.
- Deploys the contracts in the project
- Creates Proxies for the contract in the network. See Quickstart for context.
npm run initialize -- --network development
- Initializes all deployed proxies on the network
- Run
npm run deploy -- --network kovan
; change the network to the desired network - Run
npm run initialize -- --network kovan
; change the network to the desired network
npm run test
.