/bancor-liquidly-pool-with-compound

This is one of system of "new bancor pool design" that integrate Compound (cToken) with Bancor Pool by using bancor and compound protocol.

Primary LanguageJavaScriptOtherNOASSERTION

Bancor Liquidly Pool with Compound


【Introduction of Bancor Liquidly Pool with Compound】

  • This is the "Bancor Liquidly Pool with Compound".
  • This is one of system of "new bancor pool design" that integrate Compound (cToken) with Bancor Pool by using bancor and compound protocol.
  • I try to integrate Compound with Bancor Pool
    • Both of token (cToken and BNT) are conbined and published as SmartToken (i.e. cDAIBNT )
    • Currently, I have implemented them on ropsten

 


【Setup for testing system behavior in frontend】

Setup wallet by using Metamask

  1. Add MetaMask to browser (Chrome or FireFox or Opera or Brave)
    https://metamask.io/

  2. Adjust appropriate newwork below

Ropsten Test Network

 

Setup backend

  1. Deploy contracts to Ropsten Test Network
(root directory)

$ npm run migrate:ropsten

 

Setup frontend

  1. Execute command below in root directory.

$ npm run client
  1. Access to browser by using link
http://127.0.0.1:3000

 


【Work flow】

 


【References】