# Maximizing Yield on US Dollar Pegged Coins

### A Decentralized Finance (DeFi) Exercise

[Link to original post. ](https://jorgevelez.substack.com/p/maximizing-yield-on-us-dollar-pegged)

Over the last couple of months, I have been playing around Decentralized Finance (DeFi), a relatively novel application within the cryptocurrency ecosystem. In this post I want to illustrate how to use several DeFi applications to maximize yield on US Dollar pegged coins (stablecoins) without having exposure to cryptocurrencies volatility.

This post is advanced in its nature: To understand it, you will require an intermediate level of knowledge in DeFi and investment finance. If you’re keen to learn here’s how you can start:

[Read this primer on Decentralized Finance](https://wifpr.wharton.upenn.edu/wp-content/uploads/2021/05/DeFi-Beyond-the-Hype.pdf)

Deposit USD or CAD and buy cryptocurrency (For this exercise, I suggest buying ETH). I like [Netcoins](https://netcoins.app/login) but something like [Coinbase](https://www.coinbase.com/) works just fine

Setup a wallet. [I am very happy with Metamask](https://geckogovernance.medium.com/how-to-setup-metamask-wallet-account-a185681e5ab5#:~:text=Open%20up%20a%20new%20Chrome,corner%20of%20the%20chrome%20browser.)

[Learn how to use Polygon / Matic, a quasi Level 2 Ethereum solution](https://newsletter.banklesshq.com/p/how-to-use-polygon)

[Learn how to use AAVE](https://newsletter.banklesshq.com/p/aave-road-to-billions), a lending platform on Ethereum and Polygon

The first step is to get the amount you want earning yield in your Metamask wallet.

![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fba935346-19f9-4ebd-96ec-68a7d08c85fc_349x507.png)

From there, open the [Matic Network wallet](https://wallet.matic.network/) and transfer the ETH to the Polygon / Matic network

![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F7f35929b-de1e-4814-b430-599bb71cbdc4_425x480.png)

The next step is to connect your Matic Metamask wallet to [QuickSwap](https://quickswap.exchange/#/swap), and exchange your ETH to DAI. DAI is a cryptocurrency that is pegged to the US dollar, meaning 1 DAI = $1 USD

![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F195cb2af-2db4-4cda-97d6-80a5c8277560_410x421.png)

Finally, deposit your DAI in AAVE. **This is where the fun begins.**

![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Ff51cf266-8a2d-48f5-aaca-21fcca8cdce8_1324x570.png)

Now that your assets are deposited on AAVE, the goal is to borrow USDC, another coin pegged to the US dollar. The idea is to do the following:

Borrow USDC on AAVE

Exchange USDC to DAI on QuickSwap

Deposit DAI on AAVE

After repeating steps 1-3 eight times, this was the result:

![](https://cdn.substack.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fbff4ac72-72da-4689-9ace-b8b6ef8efc98_1315x402.png)

What does this mean?

I have deposited on AAVE $3,382 DAI, earning 2.82% p.a on my deposit

I have borrowed $2,400 USDC, costing me 2.94% p.a.

I am earning 3.71% MATIC Rewards for my DAI deposit on AAVE

I am earning 3.46% MATIC Rewards for my USDC loan on AAVE

**What are MATIC rewards?**

MATIC is the native token of the Polygon / MATIC network. At the moment, I am being rewarded as an user of the protocol. The rewards accrue instantly, so for the purposes of keeping my cryptocurrency price volatility at a minimum, on an almost daily basis I will be converting my rewards to DAI and depositing them in AAVE.

**What is my expected annual rate of return on this strategy?**

For my deposit, I expect to make: $3,382 * 2.82% = $95.37

For my loan, I expect to pay: $2,400 * 2.94% = $70.56

My MATIC rewards for my deposit are: $3,382 * 3.71% = $125.47

My MATIC Rewards for my loan are: $2,400 * 3.46% = $83.04

$95.37 - $70.56 + $125.47 + $83.04 = $233.32

I deposited $990 DAI on AAVE, so my expected annual rate of return is roughly: 233.32 / 990 = $23.56%

**What are the principal risks of this strategy?**

*   The APY of my deposit and my loan deviate significantly. For example if my deposit APY goes down to 1% and my loan APY goes up to 5%, the strategy stops making economic sense. The upside is that this strategy can be closed as quickly as it was opened (20 minutes).
*   The MATIC rewards disappear. This would make this strategy uneconomical.
*   DAI coin loses its peg. This strategy mainly works because there is very little to no fluctuation between DAI and USDC. As long as the peg stays, there is stability in the strategy.
*   Your Metamask wallet gets hacked. Please make sure you set up your wallet carefully.

Although it looks complicated, once you get a hang of Metamask, Polygon, QuickSwap, and AAVE, getting this strategy in place is not that complicated. Once its up and running, you are welcome to either keep accumulating MATIC rewards (and add the price volatility of MATIC to your strategy), or periodically exchange MATIC to DAI. As long as the APYs stay close and the MATIC rewards continue, this strategy works and I believe it is great on a risk adjusted basis.

I expect MATIC rewards to be reduced slowly over time, so it is probable that my 23.56% expected annual return will be lower. However it sure beats the 0.30% expected annual return I am currently getting in my savings account.

*For informational purposes only. This is not investment advice.*