Collin Pixley

Posted on Nov 03, 2021Read on Mirror.xyz

Tutorial: How to Provide Liquidity on Trader Joe — Mirror — Mirror

What is Trader Joe?

Trader Joe is an AMM style decentralized exchange on Avalanche. Trader Joe combines DEX services with DeFi lending to offer leveraged trading. Trader Joe’s products are community driven which allows them to allocate fees collected from liquidation and swaps back to the users via the JOE/xJOE staking mechanism. JOE is a governance token that also rewards its holders with a share of exchange revenues.

What is Avalanche?

Avalanche is a layer one blockchain created to host all kind of distributed applications. As another blockchain with similar utility to Ethereum, Avalanche has made small changes to how the blockchain works to optimize for speed and scalability. Avalanche aims to not only be a short term compliment to Ethereum but possibly even a substitute. Avalanche has a unique architecture. It consists of three unique chains: X-Chain, C-Chain and P-Chain. With each chain having its own purpose. Something interesting about Avalanche is that each chain uses a different consensus mechanism.

What is an AMM/CFMM?

Constant Function Market Makers (CFMMs) are a classification of Automated Market Makers (AMMs) which have been applied to crypto DeFi markets. CFMMs were pioneered by several projects in the crypto community to create decentralized exchanges (DEXs) for digital asset trading and based on a mathematical function establishing a pre-defined set of prices based on the assets held in a liquidity pool. Whereas a traditional order book-based exchanges (OBs/CLOBs), traders trade against a specific counter-party.

Why Deposit Liquidity in Trader Joe?

Some investors/traders may want to Provide Liquidity (LP) in an AMM style DEX for various reasons. One popular reason is the ability to earn rewards in the native governance token of the platform. This reward structure can be used to offset a concept known as impermanent loss (IL) which is when someone’s assets in a pool lose relative value when the price of one asset changes dramatically against the other asset. The concept of earning tokens for staking LP tokens is referred to as yield farming and can be done under the “Farm” tab on Trader Joe.

A step-by-step guide on how to lend assets on Trader Joe:

Trader Joe Connect Wallet Pop Up

Trader Joe Connect Wallet Pop Up

Trader Joe Connect Wallet Pop Up

  • If your wallet is not on the Avalanche Network, a window will prompt you to switch to the network. Click on “Switch to Avalanche” and sign it with your wallet.

  • Verify the chain data is correct and click approve.

Avalanche C-Chain Details

Avalanche C-Chain Details

Avalanche C-Chain Details

Switch Network to Avalanche C-Chain

Switch Network to Avalanche C-Chain

Switch Network to Avalanche C-Chain

  • Once you’ve switched to the Avalanche Network, you will see your wallet address up in the top right corner of the page.
  • Now you will head over to the “Pool” tab where you can pick a pool to deposit to.

  • In this example I selected the “AVAX-USDT.e” pool as seen in the picture below.

  • Depending on the amount of each token in the wallet, manually choose an amount of one token and the website will fill in the matching amount for the other token. Tip: You can use the “MAX” button for the coin with the smaller dollar value.

  • When you have decided the amount of each asset you would like to deposit as liquidity, you will click on the button underneath to deposit.

  • The transaction will take a few seconds to go through and once you get a confirmation screen, you can be assured your assets are now deposited into the pool of your choice!

    Resources:

    Avalanche C-Chain Block Explorer:

    https://cchain.explorer.avax.network/

    Ethereum -→ Avalanche Bridge:

    https://bridge.avax.network/login