> For the complete documentation index, see [llms.txt](https://earnfinance.gitbook.io/us/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://earnfinance.gitbook.io/us/yearn-finance.md).

# Yearn Finance

Yearn.Finance has been one of the pioneers of decentralized finance(DeFi),an umbrella term for automated, blockchain-based financial services that let investors lend, borrow and earn yields on their..

### What is [Yearn.Finance](http://yearn.finance/)?

[Yearn.Finance](https://yearn.finance/#/portfolio) has been one of the pioneers of decentralized finance (DeFi), an umbrella term for automated, blockchain-based financial services that let investors lend, borrow and earn yields on their crypto assets.

<img src="https://4135843126-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDsn7lfbZ16dpxGsEpLbR%2Fuploads%2FiEJ7wX3mjs03sDAvTqOo%2Ffile.excalidraw.svg?alt=media&amp;token=694a4b7a-c2f4-4944-878e-41c588a6cf65" alt="" class="gitbook-drawing">

Built on top of the [Ethereum](https://www.coindesk.com/learn/how-does-ethereum-work/) blockchain, [Yearn.Finance](http://yearn.finance/) is a smart contract protocol that works like an Amazon marketplace for interest-bearing crypto products.

It aggregates the offerings of other DeFi protocols such as [Aave](https://www.coindesk.com/price/aave/), [Curve](https://www.coindesk.com/price/curve-dao-token/) and [Compound](https://www.coindesk.com/price/compound/) and helps investors find the highest yields on the market so they can optimize their crypto investments for the best returns by “profit switching.” This simply means automatically moving funds around to make the most of the best interest rates.

The yield can come from [gas fees](https://www.coindesk.com/learn/what-are-ethereum-gas-fees/), trading fees, [staking rewards](https://www.coindesk.com/learn/crypto-staking-101-what-is-staking/) and lending interests.

### What you can do with Yearn

First, you have to connect your crypto wallet to the [Yearn.Finance](http://yearn.finance/) protocol.

There are a dozen available wallet options, from hot wallets to cold storage, that [Yearn can connect](https://docs.yearn.finance/getting-started/using-yearn) to including [MetaMask](https://www.coindesk.com/learn/how-to-set-up-a-metamask-wallet/), Coinbase Wallet, [Ledger](https://www.coindesk.com/learn/2022/04/05/ledger-nano-s-plus-review-good-for-beginners/) and Trezor.

Users can deposit crypto to their Yearn accounts through various blockchains that are integrated into the protocol: Ethereum, Fantom, Arbitrum.

Then, users can earn a yield by choosing different lending pools and strategies called vaults.

[Vaults let users hold](https://medium.com/iearn/delegated-vaults-explained-fa81f1c3fce2) an asset they like while also earning yield denominated in that asset, so they can grow their stack. For instance, people who hold [SUSHI](https://www.coindesk.com/price/sushiswap/), the token of decentralized exchange SushiSwap, can earn SUSHI by letting Yearn put their holdings into work.

Users deposit the asset into a vault and then Yearn borrows stablecoins against the asset. The stablecoins are then used to seek yield-farming opportunities, constantly rebalancing as opportunities shift.

### What is the YFI token?

[YFI](https://www.coindesk.com/learn/2020/09/08/what-is-yearn-finance-the-defi-gateway-everyone-is-talking-about/) is the native [governance token](https://www.coindesk.com/learn/what-is-a-governance-token/) of the Yearn platform.

When the token was launched in July 2020, it grabbed people's attention because Yearn's creator didn't set any tokens aside for himself or the company, as most cryptocurrency issuers tend to do. Instead, all of them were distributed to users who had deposits in certain key liquidity pools that benefited the project.

Initially, the circulating supply of the token was capped at only 30,000 YFI. Later, another 6,666 coins were added. According to the YFI documents, more can be minted if users vote for it.

So to get YFI now, users need to buy it.

Those who hold YFI can propose and vote on certain changes to be made to the platform. To do this, they have to stake their YFI tokens. Once votes have been cast, coins are locked for three days. Voters earn a small fee for participating in the decision-making process.
