What is Curve Finance?

Danger Zhang
Apr 27, 2020 · 6 min read
Image for post
Image for post

Curve is a decentralized, UniSwap-like exchange for stablecoins. By focusing on stablecoins, it’s able to offer traders extremely low slippage, and liquidity providers enjoy little-to-no impermanent loss.

Curve supports DAI, USDC, USDT, TUSD, BUSD and sUSD, as well as BTC pairs, and it lets you trade between these pairs extremely quickly and efficiently. When stablecoins or stable assets are involved, Curve’s prices are usually the best in the business.

Review Curve on CoinCodeCap

Why not Uniswap?

Image for post
Image for post
Uniswap’s design makes stablecoin swaps expensive

On Uniswap, token-to-token trades are expensive. Tokens only trade directly against ETH so if you want to trade token A for token B, Uniswap will do two trades; Token A for ETH, and then ETH for Token B. This results in double the trading fees.

Uniswap’s algorithm also slips significantly for trades of any size. This is because the algorithm is designed to maximize available liquidity.

Image for post
Image for post
The same trade on Curve has better rates

With Curve on the other hand, stablecoins trade directly between each other. You only pay one set of trading fees — currently 0.04%. Curve’s algorithm is also designed to minimize slippage. These savings are magnified as the trade gets larger.

How to Use it

Image for post
Image for post

The main interface on Curve actually uses multiple pools on the back end, choosing the best rate between them.

Is Curve Safe to Use?

Curve’s stablecoin swapping mechanism and yield integration mechanism has been audited by Trail of Bits. The audit report can be found here. The code after being audited and fixed can be found here.

My amateur interpretation of the audit report is that the code had test suites and code quality was fairly good and concerns were mostly addressed. I also see Curve proactively addressing vulnerabilities. Because trading on a non-custodial token swap exchange consists of a single transaction, I dont have much issue with using Curve.fi for trading stablecoins.

Do note that while the core contracts are audited, there may still be website phishing attempts, interface errors, or errors in smart contracts created or integrated after the audit. Make sure to check you are at the real curve.fi or beta.curve.fi each time you make a trade — the best way to do this is to bookmark the site rather than typing or following links.

While Curve is, in my opinion, quite safe for trading tokens, supplying liquidity on Curve is higher risk.

Supplying Liquidity on Curve — For Advanced Users Only

Just like leaving assets on an exchange, LPs on Curve supply liquidity to Curve’s contracts for an extended period of time. Therefore, LPs need to thoroughly understand the risks involved.

For those who understand and manage their risks well, Curve has benefits for LPs compared to supplying on Uniswap.

Little-to-no Impermanent Loss 📈📉

Curve LPs not only benefit from trading fees, but also integrations with Compound and iEarn to increase yield. Better yet, since Curve only trades stablecoin pools, supplying liquidity on Curve is subject to little-or-no impermanent loss — a major headache for Uniswap LPs.

What is impermanent loss? Uniswap’s design requires LPs to supply at least half of their liquidity in ETH, a volatile asset. If ETH moves away from the price they supplied liquidity at, they lose money compared to holding ETH directly. This has been dubbed “impermanent loss” since the losses disappear if the price moves back to the LP’s entry point. More information about this effect can be found here.

Since Curve only trades stablecoins, however, liquidity providers experience minimal, if any impermanent loss. This makes supplying liquidity on Curve in some respects more attractive than with Uniswap as returns are market-neutral.

However, impermanent loss is not the only risk for LPs.

DeFi Integration Risk ⚔️

DeFi’s greatest strength is that putting different “money lego” projects together allows for new, powerful combinations. However these integrations also increase risk. Users need to not only understand risk of the project they are using, but projects it integrates with.

Curve is a good example of this. Curve integrates with Compound and iEarn to increase yield. Recently it also has an sUSD integration that allows sUSD pool LPs to earn SNX rewards.

While these integrations are financially beneficial for LPs on Curve, it means they need to understand and monitor security issues of these other projects as well. yToken providers need to monitor iEarn, cToken providers need to understand and monitor Compound, and sUSD pool providers need to understand and keep up with Synthetix.

Yield Fluctuation

Yields on Curve pools fluctuate often. High yield pools attract liquidity over time, and often turn into low or medium yield pools over time.

One strategy to mitigate this is to supply liquidity to all Curve pools. This approach would give you the average yield across all pools. However, it increases gas and slippage fees, and smart contract risk.

Profit after Gas and Fees

One other complexity with supplying liquidity on Curve is calculating profit after paying gas and slippage fees.

Because Curve splits liquidity across multiple pools, and also integrates external projects, supplying liquidity is a relatively high gas affair. Depending on the coins supplied, there also may be significant slippage.

This means yield-hunting — changing pools to chase high yield — doesnt work well for Curve. LPs should be prepared to supply liquidity to pools for a long enough period of time that their returns outweigh the gas fees and slippage they pay to supply liquidity.

For all these reasons, providing on Curve is not for the faint-hearted, and should only be attempted by advanced users who fully understand all the risks they are taking on.

Curve — a Better Uniswap Built for Stablecoins

For advanced users who understand the risks involved, Curve also has benefits for earning yield compared to Uniswap.

If you liked this story, please 👏.

This article was updated on July 29, 2020 to reflect changes to the Curve UI.

Disclaimer: I have no association with Curve. This is not financial advice.

Image for post
Image for post

Get Best Software Deals Directly In Your Inbox

Image for post
Image for post

Coinmonks

Coinmonks is a non-profit Crypto educational publication.

Sign up for Coinmonks

By Coinmonks

A newsletter that brings you week's best crypto and blockchain stories and trending news directly in your inbox, by CoinCodeCap.com Take a look.

By signing up, you will create a Medium account if you don’t already have one. Review our Privacy Policy for more information about our privacy practices.

Check your inbox
Medium sent you an email at to complete your subscription.

Danger Zhang

Written by

DeFi Trader and Writer

Coinmonks

Coinmonks

Coinmonks is a non-profit Crypto educational publication. Follow us on Twitter @coinmonks Our other project — https://coincodecap.com

Danger Zhang

Written by

DeFi Trader and Writer

Coinmonks

Coinmonks

Coinmonks is a non-profit Crypto educational publication. Follow us on Twitter @coinmonks Our other project — https://coincodecap.com

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store