Skip to content

linen-app/bloqboard-lending-wallet

Repository files navigation

Bloqboard Lending Wallet

Situation overview

Bloqboard, a non-custodial Digital Asset Lending Platform powered by decentralized finance protocols MakerDAO, Dharma and Compound, provides the ability to borrow and lend certain ERC-20 tokens. Bloqboard enables three types of loans: 1) peer-to-peer loans via Dharma protocol, 2) borrow and lend on liquidity pools via Compound protocol and 3) Collateralized debt positions (CDP) via MakerDAO. The web application fulfills the needs of the average cryptocurrency trader or investor but is harder to run algorithmic trading strategies. This is where Bloqboard Lending Wallet comes in. We provide the first opportunity to engage in on-chain lending over an API in a non-custodial manner.

Description

Bloqboard provides sophisticated cryptocurrency traders access to peer-to-peer and liquidity pool loans via a local API. The proposed API can also be used to provide borrowing/lending of tokens to customers of exchanges and allows aforementioned parties to keep custody of their assets. The solution is the Bloqboard Lending Wallet, open-source software that runs on the server of your choice to enable interaction with Compound, MakerDAO and Dharma protocol smart contracts. Additionally, the Kyber network integration automatically assists with dust and fee repayment of borrowed assets. The proposed solution can be accessed via API or the autogenerated web interface (Swagger) as seen below.

homescreen

The solution works on the Ethereum Mainnet and Kovan networks.

This solution is provided without any warranties and it may contain bugs. Users of this software are responsible for any losses that can occur during use.

homescreen

Prerequisites

  1. Install Node.js on your machine (tested with v8.10.0)
  2. Create an Ethereum account or use existing
  3. Transfer some ETH and tokens to this account. Currently supported tokens: WETH, DAI, ZRX, REP and BAT
  4. Extract private key from your Ethereum account. This can be done on myetherwallet.com for example

Installation

From the project directory run the next command:

$ npm install

Running the app

Paste a private key from your Ethereum account in resources/account.json file.

To start the app with Mainnet config, run the following command in the console:

$ NETWORK=mainnet npm run start

The app in now running on localhost:3000/api and you can interact with the app using Swagger UI

Test

Run E2E tests

$ npm run test:e2e

Contacts:

support@bloqboard.com

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •