Is DeFi Ethereums Killer App?

A Case Study with Compound Finance

Dave Kaj
11 min readApr 26, 2019

After 4 years it is still unclear what the best use case for smart contracts are.

The ICO was a revolutionary shift in fund raising, which drove a massive bull market that peaked in January 2018. The ability to raise funds so easily is still an amazing piece of tech enabled by blockchain. But a lot of the funds raised were traded for network tokens that may or may not have value in the long run.

A perfect example is Bancor, which raised approximately $150 million , for a token exchange protocol that uses the Bancor Network Token to connect liquidity tokens to the network. Uniswap then came along and created a different token exchange protocol that only uses Ether to exchange tokens.

The Bancor token does get real usage. It also works cross-chain on EOS, Ethereum, and POA Network. They can become a successful protocol, but I believe they are in the same boat as many other protocols — proving that their token has value by building a good product and keeping users within their network.

This is important in open source technology. Uniswap was able to create a protocol on a single chain by a single developer, without creating a token to transact, and without raising millions of dollars. This has bitten into some of Bancors exchange volume between two Ethereum tokens. But they are still different protocols, and they don’t compete directly as they are designed with different goals in mind.

You can also consider Maker/Dai. Some CDPs have been used to long Ether by reinvesting the minted Dai back into Ether. But now protocols like Compound and dYdX allow you to get the same kind of leverage, taking away a feature that used to be unique to Maker.

This leads to a serious question that all token protocols have to ask themselves — Is there any part of the protocol that can easily be replicated, or forked, or simplified? And if so, how will it effect your network?

And by asking this question, protocol token networks should currently be paying attention to what is happening in “Decentralized Finance”.

Decentralized Finance — A different smart contract approach

Twenty years from now we’ll all be laughing at how stupid we were to not recognize the best use cases for blockchains and smart contracts. One approach that has gained some momentum in the last 6 months is Decentralized Finance (DeFi).

The idea is this — DeFi will replace traditional technologies of the current financial system, with open source protocols that serve the same needs. It is an intriguing idea, with a trillion dollar potential.

It’s quite bizarre to think this will actually happen in twenty years. But we can roughly compare it to how the Internet disinter-mediated traditional media over the last twenty years. Newspapers are going out of business around the world. Online media companies are on a race to the bottom with their click bait articles.

As traditional media is losing ground, we have the new Internet media gaining power. Such as the YouTuber PewDiePie, who has 94 million subscribers. That more than the population of most countries! Not to mention his total video views of 21 billion.

The disruption of traditional media by online media was huge, and needless to say the opportunities to disrupt traditional finance are huge as well.

Ethereum DeFi projects today

The image below provides a list of protocols and projects that are providing DeFi services. Many of these services are provided by traditional finance today.

Source: https://www.theblockcrypto.com/2019/03/14/mapping-out-ethereums-defi/

However, today most of these protocols aren’t making money. Some of them are successful by some metrics, but we still don’t know if these metrics make the protocol valuable. MetaMask processes thousands of transactions a day, but doesn’t currently monetize it in anyway.

0x, a decentralized exchange which has processed over 700,000 transactions, clearly has immense use, but so far their protocol token has had no real use case. They do have a real plan to implement the token with staking, which has some real promise. But only time will tell if it gives the token true value, and that holds true for 99% of the tokens out there.

Some of the DeFi projects focus on creating a suite of smart contracts that lock up ETH and tokens, without the need of a network token. These are projects like Compound, Uniswap, and dYdX.

Locked up ETH today

The diagram below show how much ETH is locked up in a few of the largest DeFi protocols. (Note that Maker is excluded here, since it is so much bigger that the rest, making the chart hard to read).

Source: https://mikemcdonald.github.io/eth-defi/ — The amount of ETH locked in some DeFi protocols on April 16th 2019

That is a lot of ETH! We still can’t be certain that locked up ETH is a great metric, and it probably needs deeper analysis, such as how long the ETH is locked within the smart contract for.

There is a lot going on in DeFi today, and a lot of projects to study, but the protocol I’m currently most excited about right now is Compound Finance. Compound is a great protocol to study in depth, because they are following a unique strategy that appears to work in DeFi, and users of the protocol are actually earning interest on their locked up assets.

Compound Finance

I’ve examined the smart contracts and the data produced by about 15 Ethereum projects while working at The Graph, and Compound has been my favourite thus far.

At The Graph, we’ve built indexes (aka Subgraphs) of all the relevant data emitted and stored by these smart contracts. The Subgraphs we’ve built can be found here, and you can explore the mountains of data we make available here.

While exploring all these contracts and data, I came to a few realizations on what appears to work well on Ethereum, and what doesn’t. Compounds smart contracts and their strategy make the most sense out of all the projects, and I can actually envision how they can make profit in the future.

There is no protocol token

In the last year a fair amount of Ethereum projects decided to have no token at all, and Compound is one of them. A token can just complicate the protocol, or bring in a bunch of speculative traders. Legal problems are also hidden under the surface of some of these protocol tokens, as some of them will end up being identified as securities.

Protocols like Dharma, Compound, Uniswap and dY/dX do not have tokens. And they each have real value stored in their smart contracts, as seen in the image above. They are starting to prove that a token is not needed to build something useful in blockchain.

Tokens are only really needed when the network is large enough. ETH is used for ICOs, for locking up as collateral in DeFi, and as general purpose gas. These are good use cases that support the Ethereum Blockchain.

Right now there isn’t a good reason for Compound to have a network token. Instead, they are focused on building a product that works, and getting a strong user base. But how does Compound actually plan to make money?

Protocol fees

Charging a small fee to engage with the Compound Protocol is a completely reasonable way to make money. The whole entire financial industry makes money by charging fees between 0–4%, on trillions of dollars worldwide. People don’t care about a small 0.25% fee, as long as the product is reliable and works.

If Compound incorporates a small fee which helps them build a public, transparent, upgradeable, globally available money market, the product they create will be well worth the fess accumulated over time.

Building a brand around the company will bring trust to platform, which will help bring more users. The brand and the experience thinking deeply about smart contract money markets will build a moat around the company, and protect against the risk of someone forking the code with a 0% fee. It is also unlikely that further development will happen on a 0% forked protocol. As cool as it would be, no one builds great products while working for free.

Let’s do some math

Over the last few months Compound has hovered around $30 million dollars locked up in value. The fee that the protocol uses in V1 is an origination fee on borrowing at 0.25%. This amounted to the following profit for the protocol as of April 26th 2018:

$34,943.34 in DAI

$4019.59 in WETH

$83.70 in ZRX

$350.22 in REP

$522.42 BAT

TOTAL = $ 44,469.27

The Compound Money Market Dapp

This is since the day it was created, September 26th 2018. This is not a lot of money. But let’s consider the size of traditional money markets today.

The market size has been estimated to be upwards of $3 trillion dollars. This is 10,000x larger than what Compound has been hovering around the last few months.

A well designed smart contract can be more efficient than the traditional money markets of today, making the cost of operating money markets cheaper, and thus reducing fees and friction for the end user.

When you combine that with the fact that even the smallest fee on $3 trillion dollars adds up to a HUGE sum of money, you start to understand why smart contract money markets are lucrative.

Other ways to profit

I am not sure what Compounds long term strategy is to make profit with their protocol. They might not plan to charge fees, and there are likely other avenues to explore that I haven’t thought about or expressed here.

Implemented with simplicity

There is something to be said about simplicity. It is often with complex financial instruments (i.e. 2008 mortgage backed securities), that risks are hidden in the facts and figures.

What is great about Compound is if you read the whitepaper, it is easy to understand exactly what the protocol is aiming to accomplish. There are only a few smart contracts one needs to understand, and there are only 5 main functions users interact with the protocol through:

  • Supply
  • Withdraw
  • Borrow
  • Repay
  • Liquidate

This simplicity, combined with the protocol being based on traditional money markets, which have been around for decades, make it extremely easy for even beginner cryptocurrency users to grasp.

The ease at which the code can be read is important in open source development. It makes it much easier to attract open source developers to build on top of your protocol, since they can actually understand what it does.

This isn’t to say complexity is bad, it is just refreshing to see such a simple protocol work so well. Maker/Dai is extremely complex, and hard for outside developers to read with their interesting choice of naming convention. And even with this complexity, Maker/Dai is the most successful protocol on Ethereum.

Both complexity and simplicity are needed in smart contracts, but it is likely that the simple protocols will appeal to more users.

Strategically decentralized

The code release strategy of Compound has become clear to me as I have followed the project. They work on their code in secret, and then release the smart contracts all at once in order to provide their product to the world. They did this with the Compound Money Market back in 2018, and now with Compound V2 release that was recently announced.

The strategy here is keeping the code proprietary up until the last moment, and building a proprietary interface in parallel. Then you release the whole platform, and start attracting users and building the brand and trust of the company. This strategy protects against someone forking the code and launching right beside you. It would likely take at least a few weeks for a competitor to fork the code, understand it all, and build a safe and secure interface around it.

The next part of the strategy is to go right back to the drawing board when you release a new version of the protocol. Once Compound officially releases V2 on mainnet, you can bet they will start building out V3 with newer features. Thus allowing them to always stay a few steps ahead of anyone trying to fork their protocol.

This release strategy for DeFi products provides teams a distinct way to capture users, and it isn’t too different from traditional financial products strategies. Any bank can create an ETF to invest in a single industry. But the first ETF of its kind can corner the market, and can end up with billions under management. Copycat ETFs will end up being a shadow of the original.

Building DeFi products instead of building entire blockchains

Building a blockchain is hard. There are so many Ethereum and Bitcoin competitors that tweak the protocol a bit, and claim to be better. But the reality is many of these blockchains will fail. There is only so much need for unique blockchains, and the network effects make it very hard to steal the momentum away from the current leaders.

But the beautiful thing about building a DeFi product is it can be created on any smart contract platform. Compound is working towards designing the best smart contract money markets in the world. Dharma is working to be the best in the world at peer-to-peer loan smart contracts. Because they are thinking about it deeper than anyone else, and they are building a reliable brand, they can build a moat around their product.

As long as they can learn to adapt quickly, there is no reason their protocols can’t be implemented on other platforms. It is likely in the next year we will start seeing smart contracts on Cosmos, Polkadot, Tezos, or other networks that allow for smart contracts.

With a DeFi product, you can keep your brand, and your web interface, and change the blockchain it runs on top of, and many of your users might not even notice!

Conclusion

Let’s sum up the most important points:

  • Compound is a money market protocol built on Ethereum, which gives Ethereum users functionality such as shorting, and earning interest on otherwise idle assets.
  • If a DeFi protocol can get enough assets under management, it can compete with the traditional banks at 0.1%–4% fees, and turn a profit.
  • There is an estimated $3 trillion dollars in traditional Money Markets. That is a huge opportunity. There are estimations of 100’s of trillions of dollars in financial products worldwide, and all of these are opportunities in DeFi.
  • They work on the protocol in secret, and then release it to the public when it is ready to be used. This gives them a distinct first mover advantage, that will allow them to build a brand and attract money to be stored within the protocol. This appears to be a realistic strategy for many DeFi applications, showing that useless protocol tokens are not needed.
  • DeFi products can migrate to other smart contract platforms if Ethereum starts to lose ground.

The innovation happening in the DeFi space right now is incredible, and the opportunities are limitless. Over the next two decades we may see trillions of dollars change shift into DeFi, along with trillions of dollars in new digital assets that weren’t even possible without the invention of blockchains.

--

--