750 DAI


Remaining Balance


MetaCartel - Dragon Quest : Compound Finance Borrow Bounty





Dragon Quest


decentralized finance

What is Compound?

The majority of cryptocurrencies sit idle on exchanges and in wallets, without yielding interest. The Compound Protocol is an algorithmic, autonomous interest rate protocol built for developers, to unlock a universe of open financial applications.

Compound Finance Bounty 1 of 2

🎉750 DAI prize to the most original use of Compound protocol’s “borrow” in a project. The other Compound bounty is "MetaCartel - Dragon Quest : Compound Finance Governance Bounty"

Build an application, SDK, or API that uses the Compound protocol’s cToken borrow function. The project’s code must use at least 1 cToken contract borrow. There are 7 cToken contracts to choose from. Users can borrow any of these assets from a liquidity pool.

  • ETH
  • DAI
  • USDC
  • REP
  • WBTC
  • BAT
  • ZRX

The Compound Protocol is deployed to all Ethereum test nets, so your project can utilize the contracts on your test net of choice. In order to borrow, users need to first supply an asset as collateral. You’ll need to acquire crypto from a faucet on your test net before you supply. Here are the contract addresses for each network:

To learn each of the steps for borrowing assets from the Compound Protocol, see this borrow developer quick start guide. The guide references a GitHub repository with open source code examples for implementing borrow.

Go here for more Compound developer guides

Examples of use cases for borrowing assets from the Compound Protocol:

  • Transform Assets - An application can transform an asset in their possession into another asset that Compound supports, with flexibility to transform back at any time.
  • Utility - Users of Compound can borrow an asset and use it for that asset's specific utility, like BAT.

Examples of Projects That Implement Borrow

Acceptance Criteria

  • ✅Uses the “borrow” function from a cToken contract for a practical use within your project.
  • ✅Project is an end-user application, a developer SDK, or an API.
  • ✅Bonus points (not required) project implements Compound community governance.

Join the Compound Discord #development channel for technical help. Someone is always online. 750 DAI will go to the team with the most original and practical project that implements Compound borrowing.

a yearremaining
1 revisionsexpected





Not Accepted

App users of Favela sem Corona will be able to interact with Compound's cDAI and use it like fiat . Users will receive donations from all over the world in crypto currencies and the App will allow them to leverage the donations by transferring cDAI from Compound to other peers. An escrow contract was created to earn interest from compound and allocate the funds in equal parts to wallet addresses from the favela users. Our escrow contract takes donations in ETH and invests all of that to Compound ETH as collateral. Then we borrow DAI against ETH collateral leveraging compound's liquidity. The DAI is then flipped into cDAI which is then distributed to Users. The contract is Deployed on Kovan at 0x41B76A41d7b5C9cc7316645C0676Ae56328BC11E
The App will not have "pre-loaded" currency in it, as, each new account will be registered to receive charity via the escrow smart contract.
We picked cDAI as a choice for its good community engagement, liquidity and the transparent communications with the general public and governance mechanisms.

App Demo:


Implementation: For mobile applications the team build Favela sem Corona using flutter, which builds for both Android and iOS. There is an escrow smart contract that receives donations and distributes it among favelas and it uses Compound and Kyber.

Deployment: The contracts are deployed on Kovan and can be checked at
The BUIDLer will need to have flutter installed, and Android/iOS sdks for the app and truffle for deploying the contracts.

The UI repository can be found: (the repo is currently private, Judges, please ask for access, we had to put it private as we are currently releasing it into Google Play Store and other developers in Brazil are looking to clone the repo before we launch it).


Name of the Project


Project Description

This app ultilizes Compound's supply/borrow, Aave's flashloans, and Uniswap's DEX to allow users to leverage on any asset with the ability to hedge against liquidation risks. I.e. It allows users to transform their assets (debt OR collateral) from A to B, within a single transaction regardless of their borrowing power.

Project Team

Kendrick Tan - Smart Contracts

Adrian Li - Frontend


The contracts are deployed on mainnet and accessible on today

Github Repo

The app uses Next.js and React for the frontend and Solidity for the contract logic -

Video Demo

Swapping Compound Debt from DAI to BAI -

Swapping Compound Collateral from ETH top USDC -

Not Accepted

Minimal Finance

This app is made to minimize the process for an user to earn interest and borrow dai using his/her ether without getting into more complex details about other markets and stuff.


I have made use of React and Material UI as my frontend frameworks. The app currently uses Kovan test network for the functionalities provided by Compound finanace.


The app is deployed to IPFS using Fleek to keep everything decentralized. It's live on

EDIT: Here's my submission details in hackmd,