# Yield Farming Concepts: Making Money with DeFi Basics

*In Part II, we cover the core concepts in Yield Farming, from lending to governance*

**Authors:** Manny Reimi

---

> We are making a video series on the Basics of DeFi.
> Watch our second video embedded on this thread,
> or follow along by reading below.
> If you missed it,
> [here is the first video (Trading vs Yield Farming)](https://holdex.io/c/learn/trading-vs-yield-farming-making-money-with-defi-basics).

## Money LEGOs: Composability in DeFi

Yield Farming, like any discipline, has its own “language” and set of concepts.
The
[world of DeFi apps](https://holdex.io/c/learn/list-of-defi-tokens-apps-and-tools)
has been described as “money LEGOs”.
Essentially, what we refer to
as “ [DeFi](https://holdex.io/c/learn/what-is-defi) ” is but
as a system of interconnected decentralized applications (dApps)*.
This interconnectedness is not directed by any one organization or team —
it isn’t even necessarily considered
*a priori, before any one dApp is deployed.*
*Rather, due to the permissionless and decentralized nature of Ethereum apps,
DeFi dApps can make use of one another to complete an experience, workflows, or
design.*
*DeFi architects and developers can rely on the immutable, censorship-resistant
code in smart contracts in ways they cannot rely on, say, an API by a
centralized app provider.*
*The system of DeFi apps is thus said to have the property of composability*.
Each *composable dApp in DeFi being a module of the whole infrastructure:
a “LEGO block” that developers of the next DeFi dApp can build upon.

Charlie Munger, Warren Buffett’s multi-decade-long investment partner in
Berkshire Hathaway, says he only invests in something if he is “capable of
understanding” it.
In order to do Yield Farming,
we have to understand these blocks
and how to use them in order to build an effective money-making strategy.

### Lending Protocols

![Image](https://storage.googleapis.com/holdex-public/thread/Yield%20Farming%20Concepts%3A%20Making%20Money%20with%20DeFi%20Basics/lending_protocols_diagram.png)

By recreating credit markets in DeFi,
lending protocols are arguably the most basic building blocks of DeFi.
Just as in traditional credit markets,
some users borrow and some lend their assets.
However, unlike in centralized finance (CeFi),
DeFi lending and borrowing works through smart contracts without an
intermediary.
Take Compound, for example:
for each supported crypto asset a set of markets is created,
consisting of a lending pool and a system for taking collateral, issuing loans,
and liquidating those loans that go bad.
The interest rates for both sides of the equation are determined
programmatically.
Instead of loan applications and credit checks,
would-be borrowers deposit collateral as a guarantee of repayment.
The process is extremely simple,
and no personal data or even an email is collected – the whole process can be
done end-to-end by connecting a Web3 wallet like
[MetaMask](https://holdex.io/c/learn/how-to-install-metamask) to the Compound
interface.

These credit markets are at the heart of DeFi.
We can clearly see why lending and borrowing have a clear utility
and how decentralizing these processes can power a whole set of new open finance
apps.
Trusting only a smart contract,
a HODLer can now earn yield by becoming a lender.
And although you may not buy a house
or live on credit through collateralized lending,
you can keep exposure to your favorite assets
while taking opportunistic loans to make quick money:
leveraged arbitrage and margin trades on decentralized exchanges (DEXs),
for example.
Say you own bitcoin but expect a sudden spike in volume on the $ETH–$DAI pair on
[Uniswap](https://holdex.io/c/learn/understanding-uniswap-a-beginners-guide-and-review),
you could deposit the $BTC on Compound, take out loans in $ETH and $DAI, add
liquidity on Uniswap, and get in on the fee action before paying your loan back
and keeping the profit.
In fact, DEXs, where liquidity can be added or withdrawn quickly by anyone,
are another core “money LEGO” of DeFi.

### LPs: Liquidity Pools and Liquidity Providers

![Image](https://storage.googleapis.com/holdex-public/thread/Yield%20Farming%20Concepts%3A%20Making%20Money%20with%20DeFi%20Basics/how_amms_work_diagram.png)

There is a new kind of DEX in town.
The first-wave of DEXs followed the order book model,
but convincing users to add liquidity was difficult,
and combined with high fees and slow performance,
DEXs were a user experience nightmare.
Nowadays, DEXs following an automated market maker (AMM) model like
[Uniswap](https://holdex.io/c/learn/understanding-uniswap-a-beginners-guide-and-review)
and
[Balancer](https://holdex.io/c/learn/understanding-balancer-a-beginners-guide-and-review)
allow any user big or small to provide liquidity to any swap market in Ethereum.
Furthermore, they allow the quick and creation of a new swap market by anyone,
as well as bootstrapping liquidity much more affordably than providing a thick
order book would be.
AMMs work with a simple formula
that allows trading fees to be given proportionally to liquidity providers
or LPs.
This encourages LPs to cooperate to build a market with high volume
(and thus high fees),
in contrast to how LPs compete with each other in centralized exchanges (CEXs)
as they tighten bid-ask spreads.

## Combining Money LEGOs: Building DeFi Strategies

![Image](https://storage.googleapis.com/holdex-public/thread/Yield%20Farming%20Concepts%3A%20Making%20Money%20with%20DeFi%20Basics/combined_protocols_curve_example.png)

Having explored two major money LEGOs,
decentralized lending and automated market makers,
naturally we want to see how they stack together.
Luckily, there are many strategies in DeFi that combine them.
Again, composability.
One great example of the tokenized economy in action is how certain tokens in
DeFi can come to represent a user’s underlying assets and position in a protocol
while simultaneously making that position tradeable — kind of like a derivative.
For example, an “interest-bearing token” provides a way to track
and redeem a deposit plus accumulated interest in a lending protocol,
whereas an “LP token” given by a DEX represents an LP’s share of a given
liquidity pool.
Thus, a user with
$DAI may deposit it in Compound, receiving a counterparty $cDAI that represents
that position plus accumulated interest.
The user could then take
$cDAI to a DEX and provide liquidity there, earning both lending interest and trading fees on their $DAI
holdings.
In fact, stablecoin
[DEX Curve](https://holdex.io/c/learn/understanding-curve-a-beginners-guide-and-review)
does this for LPs of $DAI and $USDC in their comp pool by integrating directly
with Compound.

## Liquidity Mining: Farming for Governance

![Image](https://storage.googleapis.com/holdex-public/thread/Yield%20Farming%20Concepts%3A%20Making%20Money%20with%20DeFi%20Basics/liquidity_mining_compound_example.png)

Now that we know how users can get yield
while adding valuable liquidity to established or new markets in Ethereum,
we can easily understand why some projects would want to encourage users to
participate with their capital on their markets.
“Yield Farming” has become a buzzword
since Compound announced the first major incentives scheme in mid-2020.
Compound was perhaps perfectly positioned to do this
as it was a protocol without a native token.
Unlike the protocols from the ICO days,
Compound hadn’t found a utility token was needed in order to implement its
credit markets, and Compound had grown to about $40M in total value locked (TVL)
without one.
That’s when $COMP was announced as a so-called “governance token”
for users to vote on protocol upgrades.
A number of $COMP would be distributed as rewards to both lenders
and borrowers in the Compound credit markets.
Innocent enough, until $COMP started trading in secondary markets at $75 a token
and a craze started to add liquidity in Compound.
Suddenly, Compound’s TVL skyrocketed and surpassed that of
[Maker](https://holdex.io/c/learn/understanding-maker-a-beginners-guide-and-review),
and everyone understood the power of “liquidity mining” programs.
Many retail users moved their cryptoassets into Compound as deposits,
but more sophisticated users started to “farm”
$COMP by strategically depositing collateral for incentivized assets and taking out loans in other incentivized assets, receiving $COMP,
and dumping it for more incentivized assets to farm even more $COMP – hence
“Yield Farming”.
With $COMP’s price shooting up to 300 USD per token
(it has now since corrected to less than 100 USD),
everyone was soon in love with this new form of mining.
The analogy works because mining in Bitcoin is the only way to create more
bitcoins.
The difference is that in “liquidity mining”, you mine with your capital,
instead of with hardware.

![Image](https://storage.googleapis.com/holdex-public/thread/Yield%20Farming%20Concepts%3A%20Making%20Money%20with%20DeFi%20Basics/yield_farming_virtous_cycle.png)

Of course, the $COMP price would have gone to zero if it was dumped mercilessly.
This didn’t happen as yield farmers turn out to have a much longer time-horizon
than pump-and-dump traders.
In fact, $COMP‘s price has never fallen below its initial offering price.
This shows liquidity mining
as a powerful way to align the incentives of those long on the protocol,
whether retail investors, farmers and sophisticated investors,
or the core team working on the protocol.
A stable protocol is important to these stakeholders,
whereas wildly swinging prices only benefit sophisticated traders, whales,
and others with asymmetric information while leaving the little guy
and those vested long-term “rekt”.
With liquidity mining, users contribute to the health of the protocol by
providing liquidity, participating in its governance, and exerting their
influence towards stabilizing the protocol.
Active farmers have been known to contribute proposals,
evangelize to other Crypto users,
and even review a protocol’s security if they are technically-minded.
Protocols with solid fundamentals attract better farmers.
Better farmers push for needed improvements and profitability.
Profitability makes farming even more attractive – a virtuous cycle.
There is no need to worry about “buy low, sell high” —
in most programs buying into the governance token isn’t needed to make a good
yield farming.
One can be bullish on the protocol by being bullish on the rewards being
worthwhile.

![Image](https://storage.googleapis.com/holdex-public/thread/Yield%20Farming%20Concepts%3A%20Making%20Money%20with%20DeFi%20Basics/yearn_distribution_rekt.png)

Welcome to the Yield Farming era.
Since $COMP, other protocols have replicated scalable “liquidity mining”
programs and launched governance tokens.
DEXs like Balancer, Curve,
and Uniswap have launched liquidity mining for $BAL, $CRV,
and $UNI respectively.
Other popular programs have been mining
$SNX for the Synthethix derivatives market and Ren protocol’s $REN for
cross-chain liquidity.
The programs all vary in their time length and rate of issuance.

A word of warning.
There are “front-loaded” distributions of liquidity mining rewards to bootstrap
liquidity, however, many projects have launched with very lopsided
front-loading.
Take, for example, the program for
[Yearn Finance’s](https://holdex.io/c/learn/understanding-yearn-a-beginners-guide-and-review)
$YFI, for which only 30,000 tokens were minted.
This caused a sense of scarcity
which saw the initial offering go from $30 to above $40,
000 per $YFI in less than 2 months.
Such a radical distribution is more akin to the FOMO of an ICO than a “liquidity
mining” program — naturally, many retail investors bought the $YFI token instead
of farming it.
After the incentives were fully distributed, the price has been highly volatile,
and many retail investors have gotten REKT — this is despite
[Yearn](https://holdex.io/c/learn/understanding-yearn-a-beginners-guide-and-review)
being a highly-innovative project.
Front-loaded distributions increase risks.

![Image](https://storage.googleapis.com/holdex-public/thread/Yield%20Farming%20Concepts%3A%20Making%20Money%20with%20DeFi%20Basics/chad_farming_tenets.png)

[In Part I of this series](https://holdex.io/c/learn/trading-vs-yield-farming-making-money-with-defi-basics),
we discussed Yield Farming as similar to Value Investing.
Let us revisit that idea: if you want to make it as a yield farmer,
you need a good enough time horizon to farm.
You will be providing your capital as liquidity to the protocol
and earning yield, usually in the form of a governance token plus liquidity
provider fees, while being exposed to a variety of protocol risks.
Embrace the ethos of do your own research (DYOR)
and try to make the most out of stable farming by picking a project with solid
fundamentals, compound gains, and assume the underlying token will not go to the
moon (even if it could).
In DeFi, a “Chad Farmer” is the epitome of success and best practices.
A Chad Farmer preserves and builds on his capital with yield-generating
strategies — whereas a “Virgin Trader” buys heavily into the price action of
governance tokens.
To become a Chad, you will have to shed a lot of the “trading mindset”.

![Image](https://media.giphy.com/media/KP5J5Ss9moWaI/giphy.gif)

In the final Part 3 of this series, we will elaborate on farming strategies,
understanding risks, and calculating returns.
All are crucial actions in this new way to put cryptoassets to work
and make money in Crypto.

> Are you interested in DeFi?
> Let us know your opinions, questions, and feedback on the comments below.
> Don't forget to give us a 🦄 kudos
> if you haven't already to keep getting this content.
> If you enjoyed this article, our video guide, or both —
> please consider sharing it.

## Recommended to Read Next

[https://holdex.io/c/learn/trading-vs-yield-farming-making-money-with-defi-basics](https://holdex.io/c/learn/trading-vs-yield-farming-making-money-with-defi-basics)

[holdex.io](https://holdex.io/c/learn/what-is-crypto-arbitrage-and-how-to-make-the-most-of-it)

[https://holdex.io/c/learn/list-of-defi-tokens-apps-and-tools](https://holdex.io/c/learn/list-of-defi-tokens-apps-and-tools)
