# Arbitrum Odyssey Week #2 - Yield Protocol and GMX

By [sile](https://paragraph.com/@silecrypto) · 2022-06-29

---

Gm degens, today marks the start of Arbitrum Odyssey Week #2. It starts June 28th at 13:00 EST, and ends July 4th, at 12:59 EST. Find tutorials down below. Here’s the TLDR.

[**GMX**](https://gmx.io/) - Do **ALL** of the following:

*   Do a spot swap on GMX.
    
*   Be a liquidity provider on GMX (mint GLP).
    
*   Make a leveraged trade ($10 minimum).
    

[**Yield Protocol**](https://yieldprotocol.com/) - Do **ANY** of the following (withdraw at any time):

*   Provide liquidity of ≥ $50 of assets to any maturity assets.
    
*   Lend ≥ $50 of assets to any maturity series.
    
*   Borrow ≥ $100 of assets using supported collateral for any maturity series.
    

> On July 5th, claim: "[The Blueberry Nebula](https://galaxy.eco/arbitrum/campaign/GCsqgUtsTX)" NFT by GMX and "[Arrival on the Penumbra](https://galaxy.eco/arbitrum/campaign/GCaigUt9HD)" NFT by Yield.

Please - always DYOR as with any protocol.

* * *

GMX
---

A decentralized perpetual exchange. Join the GMX [Telegram](https://t.me/GMX_IO).

> For some reason, gas fees are a little high with GMX transactions. It ranged from 0.004Ξ to 0.025Ξ at 52 gwei.

### Task #1 - Do a spot swap on GMX

**Step 1:** Go to [gmx.io/trade](https://gmx.io/trade).

![gmx.io/trade](https://storage.googleapis.com/papyrus_images/b0cdcb34bdca9e08eac5280d6610f348ba1e49ae2e97909ad35952809df6e6bd.png)

gmx.io/trade

**Step 2:** Connect a wallet and switch to the Arbitrum One network. Don’t see Arbitrum? You can visit [chainlist.org/chain/42161](https://chainlist.org/chain/42161) to add the Arbitrum One RPC to your MetaMask.

![Connect a wallet and switch to Arbitrum One](https://storage.googleapis.com/papyrus_images/e6c7612c42b2b208c453dd81abb271848c866a2774544ff27806c1bbccb74e80.png)

Connect a wallet and switch to Arbitrum One

**Step 3:** Click on the swap tab. Make sure you stay on Market order. Limit orders don’t count for this campaign.

![Click on the swap tab](https://storage.googleapis.com/papyrus_images/758c246ceecf41faa75734959263d4a994b1362f86f25f92ccdb61fac52d68b2.png)

Click on the swap tab

**Step 4:** Select a token and enter the amount you would like to swap. Click swap.

> You will need DAI or USDC for the tasks in Yield Protocol. You will also need either ETH, WETH, wBTC, LINK, UNI, USDC, USDT, DAI, FRAX, or MIM to use as collateral when minting GLP as part of the next task. At the time of writing, DAI and FRAX have reached capacity as collateral for GLP - so don’t swap for those.

![Select token and amount](https://storage.googleapis.com/papyrus_images/74f27bef180fa3b4921129d5237d922fa5ec3d3c7a61aae7b2bc6c43bfd7c142.png)

Select token and amount

**Step 5:** Confirm the details and click on confirm swap.

![Confirm Swap](https://storage.googleapis.com/papyrus_images/cbc9e75ede2c8bc699c9ff4d93670d7679ee69c88a4f9e414d15ef716cc08eb5.png)

Confirm Swap

**Step 6:** Confirm the transaction in your MetaMask.

![Approve transaction in MetaMask](https://storage.googleapis.com/papyrus_images/00de8493f9545d17662c6ac9ad39085c0966a2958dc19f224308ff344dc0ad1b.png)

Approve transaction in MetaMask

**Step 7:** Once the swap is complete, you will see a green notification at the bottom right of your screen.

![Confirmation Message](https://storage.googleapis.com/papyrus_images/cbca0786dead59a34dbb07b0c1c28df7042fb6f9d27932f438796112c7797295.png)

Confirmation Message

* * *

### Task #2 - Be a liquidity provider on GMX (mint GLP)

**Step 1:** Go to [gmx.io/buy\_glp](https://gmx.io/buy_glp)

![Buy (mint) GLP](https://storage.googleapis.com/papyrus_images/66c1f3c96598e6fa2fa5c010e360b890933fa9558e40a724ac7e09ad6c0dab1c.png)

Buy (mint) GLP

**Step 2:** Connect a wallet and switch to the Arbitrum One network. Don’t see Arbitrum? You can visit [chainlist.org/chain/42161](https://chainlist.org/chain/42161) to add the Arbitrum One RPC to MetaMask.

![Connect a wallet and switch to Arbitrum One](https://storage.googleapis.com/papyrus_images/e6c7612c42b2b208c453dd81abb271848c866a2774544ff27806c1bbccb74e80.png)

Connect a wallet and switch to Arbitrum One

**Step 3:** Select a token to use as collateral in order to mint GLP.

> $GLP is a liquidity provider (LP) token that is composed of a basket of assets (see below). $GLP can be minted using any of the assets listed. There is an additional fee to mint certain tokens depending if it leads to an inbalance the index.

![Tokens Accepted as GLP collateral](https://storage.googleapis.com/papyrus_images/7134475261f13ed2ecd2618d3e45bf67c3f59d8e9a062a14bbec05e596397744.png)

Tokens Accepted as GLP collateral

**Step 4:** After selecting a token and entering an amount, click on approve.

![Approve Token](https://storage.googleapis.com/papyrus_images/ef6d70fe7e4a94a276fa3523b6006717e083c6c5a9234555639516e51a85bec9.png)

Approve Token

**Step 5:** Approve the transaction in MetaMask. This transaction is to allow GMX to spend the token you selected.

![Token Approval](https://storage.googleapis.com/papyrus_images/cfcc78d0bb56f1f7a0957eea20e73b77e277476abdcf68eab76a55c0593356b1.png)

Token Approval

**Step 6:** Click on Buy GLP.

![Click on Buy GLP](https://storage.googleapis.com/papyrus_images/304beea56de0618e59ecb124b13d83cc70658ea8811a2c367643fdc533aa1033.png)

Click on Buy GLP

**Step 7:** Approve the transaction in MetaMask.

![Approve Transaction](https://storage.googleapis.com/papyrus_images/cfaf8b578a0b1bf5193bc4caa5532049a9ba961f8a3a0037b9431efaf8d6cc23.png)

Approve Transaction

**Step 7:** Once the trade is complete, you will see a green notification at the bottom right of your screen.

![Confirmation](https://storage.googleapis.com/papyrus_images/c6fdc2911d144757589f3ee597ad3200c90cbca6733ef0b8c68e9d0431dba304.png)

Confirmation

* * *

### Task #3 Make a leveraged trade ($10 minimum)

**Step #1:** Go to [gmx.io/trade](https://gmx.io/trade).

![gmx.io/trade](https://storage.googleapis.com/papyrus_images/b0cdcb34bdca9e08eac5280d6610f348ba1e49ae2e97909ad35952809df6e6bd.png)

gmx.io/trade

**Step 2:** Connect a wallet and switch to the Arbitrum One network. Don’t see Arbitrum? You can visit [chainlist.org/chain/42161](https://chainlist.org/chain/42161) to add the Arbitrum One RPC to MetaMask.

![Connect a wallet and switch to Arbitrum One](https://storage.googleapis.com/papyrus_images/e6c7612c42b2b208c453dd81abb271848c866a2774544ff27806c1bbccb74e80.png)

Connect a wallet and switch to Arbitrum One

**Step 3:** You can go long or short on ETH, BTC, LINK, or UNI. Make sure the leverage slider is on (keep it at 1.1 if you are inexperienced). You need to bet a minimum of $10 worth of an asset.

> You long an asset if you believe the price will go up. You short an asset if you think the price will go down.

> **Warning:** Derivatives are a risky investment. If the price goes in the opposite direction of your position, you risk liquidation. Using high leverage increases the chance of liquidation.

![Select a token to long or short](https://storage.googleapis.com/papyrus_images/ce65149933cb29dadc02422dbd6dcffcd288ea6d88bbbd36f9a67327bcd9d5ce.png)

Select a token to long or short

**Step 4:** Click on enable leverage.

![Enable Leverage](https://storage.googleapis.com/papyrus_images/e6bc4c6adf9a78aa97f879193adbeb84e9b5c9c2c03002d8d87d3b341196775f.png)

Enable Leverage

**Step 5:** Approve the transaction to enable leverage.

![Approve Transaction](https://storage.googleapis.com/papyrus_images/f7d569b2853a4d5ec7471c8ef0aa39947473d0d4034e72f8c0b84351c0a1d3a2.png)

Approve Transaction

**Step 6:** If you are paying with a token other than Ether, you will be asked to approve the token. Proceed to approve the token.

> There is no token approval needed if you pay in ETH.

![Approve Token](https://storage.googleapis.com/papyrus_images/63cca9d40c4e68b1d81c88952c5a05beb7787fbf0458099e0b296dc432025a39.png)

Approve Token

**Step 7:** Click on Long or Short.

![Click Long or Short](https://storage.googleapis.com/papyrus_images/3c05a187974b7d37446077567baaabb8b78018e82438166e5bac69c78ef604fa.png)

Click Long or Short

**Step 8:** Click on Long or Short after reviewing the details.

![Review Details](https://storage.googleapis.com/papyrus_images/370804ad7fd9ba2ddadfee1e2512a00c95fe6ab685b4b3fba72927d27d0c3ded.png)

Review Details

**Step 9:** Approve the transaction in MetaMask.

![Approve in MetaMask](https://storage.googleapis.com/papyrus_images/8055834842b89f620dc2f1c01cb0b53eb630cece575545ca1914160c90ab3e0a.png)

Approve in MetaMask

**Step 9:** Once the trade is complete, you will see a green notification at the bottom right of the screen.

![Transaction Complete](https://storage.googleapis.com/papyrus_images/bd9a5b6d989562c256a73c9aed3d6097246f9948ef588ef27fb1f9fc03e38ffd.png)

Transaction Complete

* * *

Yield Protocol
--------------

A permissionless market for collateralized fixed-rate borrowing and lending. Join the Yield [Discord](http://discord.gg/JAFfDj5).

> Yield only supports USDC and DAI on Arbitrim. You could swap ETH for USDC using GMX from the steps above.

### Task #1 - Provide at least $50 worth of liquidity.

**Step 1:** Go to [app.yieldprotocol.com/pool](https://app.yieldprotocol.com/pool)

![app.yieldprotocol.com/pool](https://storage.googleapis.com/papyrus_images/8dd80c399a1d7dd87a1e5d30b437c0ba9acc2062506d910fb04de3c0f9932af2.png)

app.yieldprotocol.com/pool

**Step 2:** Connect your wallet.

![Connect a wallet](https://storage.googleapis.com/papyrus_images/bb332b123aca87c9b5ce673a812e2605c42bba4fa744d1071f3a0c709098b45f.png)

Connect a wallet

**Step 3:** Switch to the Arbitrum One network. Don’t see Arbitrum? You can visit [chainlist.org/chain/42161](https://chainlist.org/chain/42161) to add the Arbitrum One RPC to MetaMask.

![Switch to Arbitrum](https://storage.googleapis.com/papyrus_images/1718efd56159b8b318e4f67001d0e8d33947bfeae70c88086df127d10e86d87f.png)

Switch to Arbitrum

**Step 4:** On the Pool page input a value of $51 or greater. You can select USDC or DAI. Then click on next step.

> Deposit at least $51. As you will see in step 7, only 49.34 LP tokens were recieved even though 50 USDC was deposited. The Odyssey program requires at least $50.

![Pool Amount](https://storage.googleapis.com/papyrus_images/60c475d7105a9809d3d152591b0908db8c19cea088c19e28114b8ebaeb8bc88c.png)

Pool Amount

**Step 5:** Review the details and check the disclaimer box after reading. Then click on Pool.

![Pool Confirmation](https://storage.googleapis.com/papyrus_images/275bc0091ecff26098376933277eaebe879bbcd84febd1e8fce9ad410d6cdee0.png)

Pool Confirmation

**Step 6:** Approve the following two transactions in your MetaMask.

![Signature and Transaction Approval](https://storage.googleapis.com/papyrus_images/334a027036f5cc6abd613448157291a50e0b45ab62b7fee20ced211da97d273a.png)

Signature and Transaction Approval

**Step 7:** Your deposit will show after the transaction is complete.

![Transaction Complete](https://storage.googleapis.com/papyrus_images/95e4966135066c1156d0dad1b1a3a7522aa20ef77de68b309cc40effd12e733c.png)

Transaction Complete

* * *

### Task #2 - Lend ≥ $50 of assets to any maturity series

**Step 1:** Go to [app.yieldprotocol.com/lend](https://app.yieldprotocol.com/lend)

![app.yieldprotocol.com/lend](https://storage.googleapis.com/papyrus_images/da95d3c0c37b5ae250cbe0831858dc8f8550f6f15977c7d7bdcd821dd87ec47e.png)

app.yieldprotocol.com/lend

**Step 2:** Connect a wallet.

![Connect Wallet](https://storage.googleapis.com/papyrus_images/bb332b123aca87c9b5ce673a812e2605c42bba4fa744d1071f3a0c709098b45f.png)

Connect Wallet

**Step 3:** Switch to the Arbitrum One network. Don’t see Arbitrum? You can visit [chainlist.org/chain/42161](https://chainlist.org/chain/42161) to add the Arbitrum One RPC to MetaMask.

![Switch to Arbitrum](https://storage.googleapis.com/papyrus_images/1718efd56159b8b318e4f67001d0e8d33947bfeae70c88086df127d10e86d87f.png)

Switch to Arbitrum

**Step 4:** On the Lend page input a value of $51 or greater. You can select USDC or DAI. Then click on next step.

> Deposit at least $51 to ensure you make the $50 mark due to slippage. If you encounter an “amount exceeds the maximum you can lend” message, simply keep refreshing the page and await for the lending pool to open up as people withdraw.

![Lend Amount](https://storage.googleapis.com/papyrus_images/236987fcab78a8861bfafe58f70be161a98c47ee2330b60cdbe1338aeaa49d1f.png)

Lend Amount

**Step 5:** Review the details and click on Lend.

![Lend Confirmation](https://storage.googleapis.com/papyrus_images/560f74dd4855ee4066f46ff19ae18fa2c94edb1257478fba6784f38d129452c2.png)

Lend Confirmation

**Step 6:** Approve the following two transactions in MetaMask.

![Signature and Transaction Approval](https://storage.googleapis.com/papyrus_images/018827268283832c320120ecda9bcd02dd94a68c5debabd2e0546d38c4cf3ada.png)

Signature and Transaction Approval

**Step 7:** Your deposit will show after the transaction is complete.

![Transaction Complete](https://storage.googleapis.com/papyrus_images/50b7917c8baa81bdcdee2dba9df3f89bb030d4020b2274bdbfd71fa4f2c26baa.png)

Transaction Complete

* * *

### Task #3 - Borrow ≥ $100 of assets using supported collateral for any maturity series.

**Step 1:** Go to [app.yieldprotocol.com/borrow](https://app.yieldprotocol.com/borrow)

![app.yieldprotocol.com/pool](https://storage.googleapis.com/papyrus_images/fa6082672a081e60fd27572e32632fab5cbaf71f7bdd3dbb21b03e5351efe7f5.png)

app.yieldprotocol.com/pool

**Step 2:** Connect a wallet.

![Connect Wallet](https://storage.googleapis.com/papyrus_images/bb332b123aca87c9b5ce673a812e2605c42bba4fa744d1071f3a0c709098b45f.png)

Connect Wallet

**Step 3:** Switch to the Arbitrum One network. Don’t see Arbitrum? You can visit [chainlist.org/chain/42161](https://chainlist.org/chain/42161) to add the Arbitrum One RPC to MetaMask.

![Switch to Arbitrum](https://storage.googleapis.com/papyrus_images/1718efd56159b8b318e4f67001d0e8d33947bfeae70c88086df127d10e86d87f.png)

Switch to Arbitrum

**Step 4:** On the Borrow page input a value of $101 or greater. You can select USDC or DAI. Then click on next step.

![Borrow Amount](https://storage.googleapis.com/papyrus_images/6b477be20348a18c8c9b38c6cf2d4836cbbd7ababb63ebe80bb5cd0f159a1b8f.png)

Borrow Amount

**Step 5:** Set the amount of collateral. The higher the collateral amount, the less chance of liquidation. You will get this ETH back when you pay back the loan, as long as the position has not been liquidated.

![Liquidation Details](https://storage.googleapis.com/papyrus_images/67c530f0495867210a512c4969fb4affbc3150aa3cafbcdb4e8e46140f1362e8.png)

Liquidation Details

**Step 6:** Review the details, read the disclaimer, and check the box. Then click on Borrow.

![Confirm Borrow](https://storage.googleapis.com/papyrus_images/8ceb0232fa18ab25b435c795795f759ca20e8d25eeec024389bc943cef50c56f.png)

Confirm Borrow

**Step 7:** Approve the following transaction in MetaMask.

![Approve Transaction](https://storage.googleapis.com/papyrus_images/df42514ca61c87b6e86fa7089531e884d4be78c5d787c17f86960123064a597e.png)

Approve Transaction

**Step 8:** Your loan will appear after the transaction is complete.

![Transaction Complete](https://storage.googleapis.com/papyrus_images/ed4f874d99e08166c5d3f94bc9cc16bf71b3766ae993c54836e92189c2e0e042.png)

Transaction Complete

* * *

Congrats - You’ve completed this week’s assignment. Follow me on Twitter [@silecrypto](https://twitter.com/silecrypto) if you found this helpful. I’ll see you next week.

---

*Originally published on [sile](https://paragraph.com/@silecrypto/arbitrum-odyssey-week-2-yield-protocol-and-gmx)*
