Ethereum is Maturing
Tags: insurance, defi, decentralization, flashloan
Published: 2020-12-17 06:40:32

---
title: Ethereum is Maturing
published: true
date: 2020-12-14 08:27:48 UTC
tags: insurance,defi,decentralization,flashloan
canonical_url: https://medium.com/coinmonks/ethereum-is-maturing-7681be5b3785
---

Ethereum is the leading platform for decentralized applications and is unmatched in ecosystem, community, and tooling. Despite some bumps in the road, the whole ecosystem along with its users are responding to the problems and maturing in multiple ways not known until this year.

### A young, budding DeFi

Last year, I published [a post](https://medium.com/coinmonks/network-effects-in-an-open-financial-world-251152b9467d) about how the Ethereum ecosystem and DeFi (Decentralized Finance) were blossoming and experiencing the first waves of rapid growth, along with discovering their product-market fit as an open financial ecosystem.   
Now in 2020, we are witnessing the ecosystem mature along with its users and applications. Even with the occasional [food project](https://cointelegraph.com/news/dinner-is-served-here-s-what-defi-s-food-meme-tokens-bring-to-the-table) and large hack, the activity that is occurring on Ethereum solidifies its position as the leading platform.

The building blocks on Ethereum are intrinsic to DeFi. Every additional application increases the organic usage and reliance on the established foundation. Each application built on Ethereum has immediate access to every single application on the network, and this is where DeFi found its beginnings. With MakerDAO/DAI, Uniswap and Compound serving as the initial building blocks, the framework for future applications was founded.

![](https://cdn-images-1.medium.com/max/919/1*xG__MwNIIIf7HfpoV3ZFdg.png)<figcaption>TVL in DeFi is approaching $20,000,000,000. (<a href="http://defillama.com/">DeFiLlama</a>)</figcaption>

We now have [dozens](https://defillama.com/home) of applications built on Ethereum that can serve as a foundation to be built upon. A lot of this composability can be seen in the [yearn.finance vaults](https://yearn.finance/vaults).   
The yearn vaults are a complex suite of smart contracts that each serve different functions to achieve the goal of compounding farm returns for the user. The user deposits an asset to earn returns and that asset is transformed and farmed with. After it gathers the reward from farming, they are sold on Uniswap, and compounded back into the farm to increase future earnings. If you’re not familiar with farming (also called “yield farming”), you can read more [here](https://academy.binance.com/en/articles/what-is-yield-farming-in-decentralized-finance-defi).

![](https://cdn-images-1.medium.com/max/1024/0*XLxCuiQzWwSxtjK_.png)<figcaption>A diagram showing how the (now inactive) ETH vault worked. (credit to <a href="https://finematics.medium.com/what-are-yearn-vaults-eth-vault-explained-3def4f77b59d">finematics</a>)</figcaption>

This (now inactive) ETH vault in particular is built by Yearn, and uses MakerDAO, Curve, and Uniswap in multiple ways. On top of providing returns for its users, the staked funds are also providing liquidity on [Curve’s stable-asset specialized DEX](https://www.curve.fi/). This is why Curve [distributes their CRV tokens](https://cointelegraph.com/news/yield-farming-fuels-623-growth-in-dai-supply-to-nearly-1b), to incentivize users to provide liquidity on their platform, and [it clearly works](https://dao.curve.fi/stats). Note: Yearn is [working on their V2 vaults](https://defi-diagrams.herokuapp.com/yearn-vaults-v2/) now 😄.

### Maturity in a financial ecosystem

Now, the Ethereum network not only contains of a great amount of value, but its applications are also entirely comprised of code. Some of this code holds custody of a LOT (almost $20,000,000,000) of said value. Things can go wrong, hackers are very smart, sometimes smarter than the developers writing the code. [There](https://decrypt.co/46445/engineering-error-34-million-defi-hack-harvest-finance) [have](https://decrypt.co/43203/hackers-drain-15-million-from-unreleased-yearn-finance-project) [been](https://cointelegraph.com/news/akropolis-defi-protocol-paused-as-hackers-get-away-with-2m-in-dai) [several](https://decrypt.co/48256/saddest-hack-in-crypto-value-defi-hacked-for-6-million) [attacks](https://medium.com/originprotocol/urgent-ousd-has-hacked-and-there-has-been-a-loss-of-funds-7b8c4a7d534c) [just](https://www.theblockcrypto.com/post/85850/dai-compound-dydx-liquidations-defi) [this](https://decrypt.co/49149/pickle-finance-hack) [quarter](https://peckshield.medium.com/cheese-bank-incident-root-cause-analysis-d076bf87a1e7), summing up to well over $100,000,000 of users funds lost since the start of the year.

DeFi is growing. Maybe even a bit too fast. Ever since [flash loans](https://www.coindesk.com/the-defi-flash-loan-attack-that-changed-everything) have been released, the space hasn’t been the same. Users are scared, [audits aren’t viewed as reliable as they once were](https://twitter.com/gabrielhaines/status/1294998905550184455), and [price oracles have been ruthlessly abused as of late](https://samczsun.com/so-you-want-to-use-a-price-oracle/).

But there is some silver lining in all of the recent incidents: Ethereum is maturing as an open financial ecosystem. **It’s absolutely phenomenal that DeFi has thrived despite the existence of flash loans.** Flash loans are extremely powerful tools (for mainly the wrong reasons) and there is a purpose to their existence. Without a full ecosystem to interact with, they’d be entirely useless.   
**Note:** Flash loans now have a [standard interface](https://twitter.com/acuestacanada/status/1336221377712558080) to implement. Read [the EIP](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-3156.md) for details on flash loans.

However, given that flash loans exist, DeFi applications have to adapt in various ways to protect their users and stay relevant. Other smart contract platforms don’t have these types of problems, simply because there isn’t enough built on them to actually cause problems. The attack vectors that flash loans use have always been there, flash loans just make them more accessible to exploit, forcing every service in DeFi to design solutions around their existence.  
The [Time-Weighted Average Price (TWAP)](https://uniswap.org/blog/uniswap-v2/#price-oracles) oracle used by Uniswap to protect their price oracle against flash loan manipulation is a great example of such solutions. The TWAP uses the average price of an asset calculated over any chosen interval to provide a hard-to-manipulate and decentralized price oracle for any trading pair on Uniswap. Woohoo for innovation!!

And soon (early next year to [keep the holidays calm](https://twitter.com/fifikobayashi/status/1335088972414869505)), we will be seeing [flash mints launch for DAI](https://forum.makerdao.com/t/signal-request-add-a-dai-flash-mint-module/3598). While the attack methods of flash mints aren’t vastly different from the ones of flash loans, they will be challenging smart contracts that either don’t have [overflow safety](https://consensys.github.io/smart-contract-best-practices/known_attacks/#integer-overflow-and-underflow), or don’t handle stable interest rates properly.

![](https://cdn-images-1.medium.com/max/1024/1*6jeark_dcOKboE6RLgMlzQ.jpeg)<figcaption>An example attack vector using flash mints for lending platforms. (<a href="https://twitter.com/lemiscate">go follow Marc</a>)</figcaption>

### Responsibilities as a DeFi user

With every application built, more integrations are made between different moving parts of the Ethereum network. The applications built a year ago were much simpler than what is being built now, and with more power comes more responsibility.

Even with the [“test in prod” mentality](https://twitter.com/andrecronjetech/status/1295344754302083077?lang=en) and after [“unaudited” code getting millions in TVL](https://www.theblockcrypto.com/linked/74604/yield-farmers-deposit-76m-in-unaudited-defi-project-in-less-than-an-hour) during [DeFi summer](https://www.coindesk.com/comp-below-100-defi-summer-over), audits are still valuable and extremely important, but users need to remember they’re not a guarantee of safety. The applications on Ethereum can be very complex and have multiple risks.

**As a user there are several risks you need to be careful of:**

- **Admin key risk** : if a private key exists that has any custodial or administrative control over the smart contracts, you are trusting the developers with your funds. Is there a timelock? A multisig? What can they change?
- **Smart contract risk** : there could be flaws in the code that very smart hackers can discover and abuse. Audits usually revolve around coding best practices and “hard” exploits in the code. Economic exploits like flash loan oracle manipulation are still very recent developments.
- **Fork risk** : DeFi applications are very complicated. If a developer forks an existing application it may mean they possibly lack a full understanding of the code or are trying to ride on the hype of an existing protocol. Be _very_ careful when engaging with forks.
- **Retirement risk** : if any funds _can_ be stolen by the keyholders but _shouldn’t_ be, how much money does it take to change a persons mind?
- **Asshole risk:** when you interact with the developers, do they seem like assholes that don’t care about their users? If so, why would they care about their users security?

**DeFi is certainly risky, and it’s important for users to hedge their risks and protect themselves.** The events of this year have inspired the emergence of many protocols focusing on protecting users from hacks and other major losses of funds, similar to insurance. [Nexus Mutual](https://nexusmutual.io/) launched in May 2019 and they have served as the main example of decentralized risk protection. However, their service is KYC’d, which closes the doors to most Ethereum users.

But as of late, several new DeFi coverage protocols are emerging: [Umbrella](https://medium.com/yam-finance/introducing-the-umbrella-protocol-by-yam-e89109548c6d), [Insurace](https://www.insurace.io/), [Nsure](https://nsure.network/#/), and [Cover Protocol](https://coverprotocol.com/), just to name a few. Cover Protocol ( **Note:** I’m a technical advisor for them) in particular is a project that has recently launched on the Ethereum mainnet, and offers a decentralized, peer-to-peer DeFi coverage marketplace. And already within the first week of their launch they have performed their [first payout](https://coverprotocol.medium.com/cover-protocol-claim-briefing-1-pickle-finance-76b3beec77dc) for the [Pickle Finance hack](https://cointelegraph.com/news/decentralized-insurance-protocol-cover-holds-vote-to-cover-pickle-hack)! Go decentralized DeFi coverage!!!  
With the launch of such coverage protocols, the DeFi space provides their users with a choice of solutions to protect themselves from the “move fast and break things” mentality that the Ethereum community leans towards. It might make DeFi more expensive, but if you can get protection for <10% APY on your 100% APY farm, maybe its a good idea to eliminate the risk!

So to every DeFi user out there, if you’re losing sleep over your latest ape (all-in) into a DeFi application, stay protected and get coverage! DeFi’s safety will _never_ be guaranteed. There are too many attack vectors and too many genius hackers with too much money to make! Maybe even learn Solidity to understand Ethereum better as a whole. Now that there are ways to hedge your risk when using DeFi, take advantage of them!

A major indicator that Ethereum and its ecosystem is maturing is the growing demand for services like decentralized risk protection. DeFi summer has made many users _very_ familiar to using Ethereum and its applications, so now they just want to make sure their money is protected! Ethereum’s growth has always been organic, and its very uplifting to see the space trend towards protection of user funds, making the Ethereum network safer as a whole.

Thank you for reading!

### Who am I?

I’m Ivan Martinez, a software engineer for [Prysmatic Labs](https://prysmaticlabs.com/) and a technical advisor for [Cover Protocol](https://twitter.com/CoverProtocol). At Prysm we work on a production-quality implementation of Ethereum 2.0! If you’d like to try [running a validator](https://docs.prylabs.network/docs/) or help out with the effort, feel free to [join our Discord server](https://discord.gg/6A6Fxwr) and reach out!  
Follow [me](https://twitter.com/0xKiwi_) or [my team](https://twitter.com/prylabs) on Twitter if you enjoyed reading this!

### Interested in Cover Protocol?

If the concept of decentralized risk protection interests you, check out our [docs](http://docs.coverprotocol.com/)! Feel free to [check us out](https://app.coverprotocol.com/), join our [Discord server](https://discord.com/invite/VZqhqQN), or [follow us on Twitter](https://twitter.com/CoverProtocol)!

#### Also, Read

- [Uniswap API](https://bitquery.io/blog/uniswap-pool-api) — How to get Uniswap data?
- The [Best Crypto Trading Bots](https://medium.com/coinmonks/whats-the-best-crypto-trading-bot-in-2020-top-8-bitcoin-trading-bot-c16adeb13317)
- [Deribit Review](https://medium.com/coinmonks/deribit-review-options-fees-apis-and-testnet-2ca16c4bbdb2) | Options, Fees, APIs and Testnet
- [FTX Crypto Exchange Review](https://medium.com/coinmonks/ftx-crypto-exchange-review-53664ac1198f)
- [Bybit Exchange Review](https://medium.com/coinmonks/bybit-exchange-review-dbd570019b71)
- The Best Bitcoin [Hardware wallet](https://medium.com/coinmonks/the-best-cryptocurrency-hardware-wallets-of-2020-e28b1c124069?source=friends_link&sk=324dd9ff8556ab578d71e7ad7658ad7c)
- [Crypto Copy Trading Platforms](https://medium.com/coinmonks/top-10-crypto-copy-trading-platforms-for-beginners-d0c37c7d698c)
- [Bitsgap vs 3Commas vs Quadency](https://blog.coincodecap.com/bitsgap-3commas-quadency)
- The Best [Crypto Tax Software](https://medium.com/coinmonks/best-crypto-tax-tool-for-my-money-72d4b430816b)
- [Best Crypto Trading Platforms](https://medium.com/coinmonks/the-best-crypto-trading-platforms-in-2020-the-definitive-guide-updated-c72f8b874555)
- Best [Crypto Lending Platforms](https://medium.com/coinmonks/top-5-crypto-lending-platforms-in-2020-that-you-need-to-know-a1b675cec3fa)
- [Ledger Nano S vs Trezor one vs Trezor T vs Ledger Nano X](https://blog.coincodecap.com/ledger-nano-s-vs-trezor-one-ledger-nano-x-trezor-t)
- [BlockFi vs Celsius](https://medium.com/coinmonks/blockfi-vs-celsius-vs-hodlnaut-8a1cc8c26630) vs Hodlnaut
- [Bitsgap review](https://medium.com/coinmonks/bitsgap-review-a-crypto-trading-bot-that-makes-easy-money-a5d88a336df2) — A Crypto Trading Bot That Makes Easy Money
- [Quadency Review](https://medium.com/coinmonks/quadency-review-a-crypto-trading-automation-platform-3068eaa374e1)- A Crypto Trading Bot Made For Professionals
- [PrimeXBT Review](https://medium.com/coinmonks/primexbt-review-88e0815be858) | Leverage Trading, Fee and Covesting
- [Altrady review](https://blog.coincodecap.com/altrady-reivew)
- [Ellipal Titan Review](https://medium.com/coinmonks/ellipal-titan-review-85e9071dd029)
- [SecuX Stone Review](https://blog.coincodecap.com/secux-stone-hardware-wallet-review)
- [BlockFi Review](https://medium.com/coinmonks/blockfi-review-53096053c097) | Earn up to 8.6% interests on your Crypto
- [Best Crypto APIs](https://medium.com/coinmonks/best-crypto-apis-for-developers-5efe3a597a9f) for Developers
- [Best Blockchain Analysis Tools](https://bitquery.io/blog/best-blockchain-analysis-tools-and-software)
- [Crypto arbitrage](https://medium.com/coinmonks/crypto-arbitrage-guide-how-to-make-money-as-a-beginner-62bfe5c868f6) guide: How to make money as a beginner
- Top [Bitcoin Node](https://blog.coincodecap.com/bitcoin-node-solutions) Providers
- Best [Crypto Charting Tool](https://medium.com/coinmonks/what-are-the-best-charting-platforms-for-cryptocurrency-trading-85aade584d80)
- What are the [best books to learn about Bitcoin](https://medium.com/coinmonks/what-are-the-best-books-to-learn-bitcoin-409aeb9aff4b)?

> [Get Best Software Deals Directly In Your Inbox](https://medium.com/coinmonks/newsletters/coinmonks)

[![](https://cdn-images-1.medium.com/max/584/1*BoDnKUyK8p4hitHAJZ5Pdw.png)](https://medium.com/coinmonks/newsletters/coinmonks)

* * *