0%
Overview page background
HomeOverviewsDeFi
How to Use a Decentralized Lending Platform on Ethereum

How to Use a Decentralized Lending Platform on Ethereum

Published on December 2, 20222 min read

Aave is an open-source, DeFi lending platform that allows users to lend and borrow crypto using a peer-to-pool strategy. Aave users interact with smart contracts to lend and borrow digital assets from a liquidity pool, and in return they either earn or pay interest on the loaned or borrowed assets.

Aave allows the use of different blockchain protocols called markets, which includes layer 2 blockchains. Users can lend crypto and earn profit for the duration of the loan. Currently, Aave has over $6 billion worth of assets locked in its protocol. This article demonstrates how to lend on Aave.

  1. Go to MetaMask

  2. Download and install MetaMask as a browser extension(Chrome, firefox, brave, edge, and opera) for PCs

  3. Create an account

  4. Save your secret recovery phrase

Note: Never share your recovery phrase with anyone. Losing your seed phrase means losing access to all your funds.

Download and Install MetaMask
  1. Copy your MetaMask address (click on your account address to copy it)

  2. Go to a crypto exchange (e.g. Coinbase)

  3. Buy some Ethereum or any asset you want to lend on Aave

  4. Withdraw Ethereum and any other ERC20 tokens you want to lend on Aave to your wallet address

Note: you will need some amount of ETH to pay for gas fees

  1. Go to Aave

  2. Click on the launch app button to access the Aave user interface

  3. Click on the connect button to connect your wallet

  4. Select browser wallet to trigger your MetaMask wallet to open

  5. Enter your password or confirm your desire to connect to Aave

Connect Your MetaMask Wallet to Aave

Aave has different markets for lending and borrowing crypto. By default the Ethereum version 2 market is selected. The version 3 markets are layer 2 blockchains that provide faster and cheaper transactions. For this tutorial, we will use the Ethereum version 2 market.

  1. Click on the drop-down button

  2. Select the Ethereum version 2 market if it isn't already selected

  3. From the interface, you can see the assets you can supply as well as the ones you can borrow

Note: that the supply button only becomes active when you have the required asset to lend.

Choose the Token You Want to Lend or Borrow on Aave

Here is what different labels on the Aave UI mean:

  • Reserve size - the total amount of assets that have been supplied to the protocol

  • Available liquidity - the amount of assets available that have not been borrowed

  • Utilization rate - the amount of assets that have been borrowed (the higher the utilization rate, the higher the APY)

  • APY - the Annual Percentage Yield of the specified asset (i.e. the profit you earn by lending your asset based on supply and demand)

Aave UI

Now that your wallet is connected and you know which token you want to lend, it's time to submit a transaction.

  1. Select the asset you want to lend (i.e. supply)

  2. Click on the supply button.

  3. Specify the amount of asset you want to lend

  4. Approve the transaction and pay the gas fees on your MetaMask wallet

Lend ERC20 Tokens on Aave

The transaction might take a few seconds to a few minutes to go through. After the transaction has been confirmed, you can see how much you’re lending on Aave.

Overview cards background graphic
Section background image

Build blockchain magic

Alchemy combines the most powerful web3 developer products and tools with resources, community and legendary support.

Get your API key