Compound

Wed Feb 5, 2020

Compound is a platform for lending and borrowing ethereum assets like ether, Dai and USD Coin. It’s implemented as a set of smart contracts that control the interest rates and the liquidity pool (which is the amount of assets available to be withdrawn at any time) without human interaction!

Why would you want to lend or borrow ethereum assets though?

Borrowing

If you want to bet on the value of an asset going up then all you have to do is buy some, wait and then sell it. But if you want to bet on the value of an asset going down then you need to short it, which is where you:

  1. Borrow some
  2. Sell it
  3. Wait for the value to go down
  4. Buy some (for less than you sold it for)
  5. Repay your loan
  6. Profit

Loaning

All those people looking to short assets need to borrow them from somewhere, and they’re willing to pay interest on their loans. That means people who loan out the assets can make money too.

How to loan it

Before I get into this I need to say there are any number of things that could go wrong when loaning ethereum assets. Don’t spend any money you don’t mind never seeing again.

If you’ve got MetaMask installed and a loanable asset (like Dai) in your wallet, then loaning it out is as easy as visiting the Compound web interface and hitting the Supply button.

If you need to get a loanable asset then have a look at the Getting Some post for how to get some eth and the MetaMask post for how to swap it for Dai.

The supply interface in the Compound app.

So far I’ve only supplied Dai, because it’s pegged to the value of the US dollar. I hope that means its value will stay stable.

Once you’ve supplied some assets you can sit back and watch your interest accumulate.

The Compound app showing the amount of Dai earned from a loan.

At the time of writing the supply interest rate is 8.82%. An average savings account here in the UK offers 1.2%, so supplying Dai is an attractive option. Especially as (in theory) you can withdraw it at any time.

In the next post we’ll talk about an application built on top of Compound: Pool Together.


<< Metamask Pool Together >>

Long Fetch

[home] [rss] [all]

Latest posts

Beavertail Canoe Paddle I made a beavertail canoe paddle out of a plank of ash and paddled it down a river.

Springs and Neaps Trying to visualise the next 28 days of tides.

Home Tide v2 Getting even more in tune with the tides, by seeing them on the iOS lock screen.

Paulownia On paulownia wood, daughters of marriagable age, projects that last decades and water craft.

Home Tide Calm technology to show the tide and twilight on the iOS home screen.

Frequent topics

apps ash azure beavertail beeswax bio-resin bitcoin blockchain boats calm-technology canoe cedar coinbase compound dai daughters erc20 ether ethereum handplane home-screen home-tide homescreen instagram instrument ios journal kong lock-screen lockdrop lockscreen making metamask mining moleskine music neap-tides nkn p2p paddle paulownia pool-together projects sapele sea seeds smart-contracts spring-tides stand-up-paddle stories sup surf swift swiftui tides tom-wegener toys uniswap web3 widget woodwork xylophone