https://github.com/masaun/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.
https://github.com/masaun/bancor-liquidly-pool-with-compound
bancor-protocol compound-protocol react solidity truffle web3js
Last synced: about 1 year ago
JSON representation
This is one of system of "new bancor pool design" that integrate Compound (cToken) with Bancor Pool by using bancor and compound protocol.
- Host: GitHub
- URL: https://github.com/masaun/bancor-liquidly-pool-with-compound
- Owner: masaun
- License: other
- Created: 2020-01-31T19:04:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-23T05:09:37.000Z (over 6 years ago)
- Last Synced: 2025-04-22T10:37:32.122Z (about 1 year ago)
- Topics: bancor-protocol, compound-protocol, react, solidity, truffle, web3js
- Language: JavaScript
- Homepage:
- Size: 474 KB
- Stars: 4
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```
2. Access to browser by using link
```
http://127.0.0.1:3000
```
***
## 【Work flow】
***
## 【References】
- Gitcoin / Sustain Web3
- Bancor Challenge 2 — New Liquidity Pool Designs
https://gitcoin.co/issue/bancorprotocol/contracts/337/3948
- Document of bancor protocol
- How to Create a Bancor Liquidity Pool
https://docs.bancor.network/user-guides/token-integration/how-to-create-a-bancor-liquidity-pool
- ContractAddress on Ropsten Network
https://support.bancor.network/hc/en-us/articles/360010410399-Ethereum-Ropsten-Network-
- ContractAddress(Called by `addressOf()` )
https://docs.bancor.network/user-guides/network-data-and-stats/ethereum-contract-addresses
- Document of compound protocol
- ContractAddress of cToken on Ropsten
https://compound.finance/developers
- Github of bancor protocol
- Bancor Protocol Contracts v0.5 (beta)
https://github.com/bancorprotocol/contracts
- Reference dApp
- Co-Trader:https://bancor.cotrader.com/#/pool
- Zerion (Invest tab): https://app.zerion.io