QuidTrade is Ethereum dApp which connects directly creditors and borrowers through smart-contracts.
Platform offers debt trading with bonds. Creditor risk is backed by borrowers' reserve tokens (ERC20).
Creditor is able to diversify risks by choosing bonds with different collateral.
Demo Video - https://screencast-o-matic.com/watch/cbinIjllnb
The dApp is deployed to Ropsten Testnet - https://dobrokhvalov.github.io/quid-hackathon/dist/index.html
To interact with dApp you need access to web3 client (MetaMask, Geth or other)
Mikhail Dobrokhvalov - blockchain developer / finance - https://www.facebook.com/dobrokhvalov
Andrey Krylov - leader / design - https://www.facebook.com/kryptonlove
Idea came up when our blockchain developer wanted more Ether to buy more SNT tokens. He believes the price of SNT in future will grow.
Existing lending platforms (such as lendingclub.com) don't use blockchain. Our platform based on Ethereum, which reduces costs for maintaining webservers.
Also the loan is secured by the borrower's tokens. In the event that the borrower doesn't pay out his debt creditor receives reserve tokens.
Embark - framework for serverless Decentralized Applications using Ethereum, IPFS and other platforms
AngularJS - Front-end Javascript Framework
We planned to deploy our dApp to QTum Sparknet. Unfortunately, due to lack of time and lack of expereince of our team with Bitcoin Blockchain, we didn't managed to deliver dApp on QTum. However, we will look for more documentation in future for QTum development.
'./app' - all dApp specific code is located in this folder.
'./app/contracts' - Ethereum Contracts are located here, 'BondContract.sol' is the main contract.
'./app/js/services/BondService.js' - service responsible for integration of 'BondContract.sol' with AngularJS app.
- Install Embark framework via terminal :
Requirements: geth (1.6.5 or higher recommended, 1.6.0 or lower for whisper support), node (6.9.1 or higher is recommended) and npm
$ npm -g install embark
$ npm -g install ethereumjs-testrpc
See Complete Installation Instructions.
- Clone this project
git clone https://github.com/Dobrokhvalov/quid-hackathon.git
- Go to project directory and run embark simulator:
cd quid-hackathon && embark simulator
Simulator will generate private keys with test Ether. Import one of accounts to your web3 client in order to interact with dApp.
- In separate tab, start embark server:
embark run
This command will serve dApp on localhost:8000