You Can Be the Bank: Earning Stablecoin Yield in DeFi Vaults
Take the interest the bank used to keep, and the bank's risk with it
Your bank pays you almost nothing on savings. Then it lends that money out at a much higher rate. The gap is its profit. Decentralized finance, or DeFi, lets you skip the bank and earn that interest yourself. You deposit stablecoins, crypto tokens that hold a steady dollar price, into a lending program on a blockchain. Borrowers pay interest to use them. The interest comes back to you.
How the Yield Works
The most direct path is a lending protocol like Aave. You supply stablecoins to a shared pool. Other people borrow from that pool. They must post collateral worth more than the loan, so the pool stays protected if prices move.[1] The interest rate floats with supply and demand. When lots of people want to borrow, your yield goes up. When few do, it goes down.
A vault like Yearn Finance adds a layer on top. Yearn calls it a yVault. It is a smart contract that takes your deposit and puts it to work across one or more lending strategies. Yearn's own docs compare it to a crypto savings account, except the blockchain is public, so you can see where your money is at all times.[3] You do not pick the strategy yourself. The vault does it for you. Yearn takes a cut of the profit. For years that was 20 percent of the yield plus 2 percent a year, and fees are now set vault by vault.[3]
The Risks You Carry
When you become the bank, you take the bank's risks. There is no deposit insurance. There is no regulator to call.
The first risk is the code. A bug in a smart contract can drain funds, and Yearn itself shows it. In 2021 an attacker hit an old Yearn DAI vault for about 11 million dollars.[4] In 2023 a misconfigured Yearn token contract was exploited for about 11.6 million dollars.[5] In late 2025 its yETH pool lost about 9 million dollars, the protocol's fifth incident in five years.[4] These are not small, careless teams. This is one of the oldest names in DeFi.
The second risk is the peg. A stablecoin is supposed to stay at one dollar. In March 2023, when Silicon Valley Bank failed, USDC fell as low as 87 cents because part of its cash reserves was stuck at that bank.[6] No amount of interest makes up for a 13 cent drop in your principal.
The third risk is contagion. When a big stablecoin wobbles, everything built on it wobbles. During that same weekend, DAI and other dollar coins slipped off their pegs too.[7] Borrowers whose collateral falls in value get liquidated, meaning their collateral is sold off to repay the loan, and a fast drop can leave a pool or vault holding losses.[2]
You Are the Bank Now
The appeal is real. You can earn a yield on dollars that would otherwise sit idle. You can see the contract, check the strategy, and withdraw when you want. But the control comes with the responsibility. The bank you replaced had a safety net. You do not. That is the deal.
Sources
- Aave, Glossary (collateral must exceed the borrowed amount)
- Aave, Borrow (liquidation risk when collateral falls)
- Yearn Docs, yVaults overview (strategies and fees)
- Protos, Yearn hacker loses $2.4M of $9M loot (Yearn's exploit history)
- The Block, Exploit involving early version of Yearn saw damages of $11.6 million (Apr 13, 2023)
- CoinDesk, USDC depegs after Silicon Valley Bank collapses (Mar 11, 2023)
- Decrypt, USDC falls to 87 cents; DAI and others depeg with it
Inspired by Happy, written by Claude.
Next relatedWhat a Smart Contract Actually IsRevision history (R0 current)
| Rev | Date | What changed | Page |
|---|---|---|---|
| R0 | Nov 18, 2026 | First published. DeepSeek first draft, verified and built by Claude. | view |