Skip to content

Commit

Permalink
fix(explore apps): fix whitespace changes and revert package-lock.json (
Browse files Browse the repository at this point in the history
  • Loading branch information
emilyJLin95 authored Jun 23, 2023
1 parent e13319d commit 4253301
Show file tree
Hide file tree
Showing 11 changed files with 137 additions and 75 deletions.
3 changes: 1 addition & 2 deletions docs/developers/tooling/data-indexers/covalent.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ Covalent maintains a full archival copy of every supported blockchain, meaning e

## Unified API

<!--
[![example-api-response-json](https://www.datocms-assets.com/86369/1684974574-example-api-response-json.png)](https://www.covalenthq.com/docs/api/balances/get-token-balances-for-address/?utm_source=linea&utm_medium=partner-docs) -->
[![example-api-response-json](https://www.datocms-assets.com/86369/1687368087-example-api-response-json-linea.png)

The Covalent API is RESTful and offers the following for Linea:

Expand Down
4 changes: 3 additions & 1 deletion docs/use-linea/explore/use-battlemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,6 @@ Craft NFT: "Gem third level (Yellow)"

## Social

[Discord](https://discord.gg/battlemon) [Twitter](https://twitter.com/BATTLEM0N) [Medium](https://medium.com/@Battlemon)
- [Discord](https://discord.gg/battlemon)
- [Twitter](https://twitter.com/BATTLEM0N)
- [Medium](https://medium.com/@Battlemon)
4 changes: 3 additions & 1 deletion docs/use-linea/explore/use-cataclysm.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ At this point, the user can take three actions:

## How to complete the task in the Arcade mode

**In the arcade mode, the objective of the task is to kill at least 10 enemies.** Once the 10 enemies are defeated and the game comes to an end, regardless of whether the users win or lose, a pop-up will appear confirming their victory. Afterward, they can proceed with the same steps described in the endless run mode to mint the token.
**In the arcade mode, the objective of the task is to kill at least 10 enemies.**

Once the 10 enemies are defeated and the game comes to an end, regardless of whether the users win or lose, a pop-up will appear confirming their victory. Afterward, they can proceed with the same steps described in the endless run mode to mint the token.

![img6](../../assets/cataclysm/aracade-quest.png)

Expand Down
4 changes: 3 additions & 1 deletion docs/use-linea/explore/use-mendi.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ Mendi Finance lending protocol is deployed on Linea testnet. Use the [Mendi app

1. Select the **Lending** tab. Make sure your supplied assets can be used as **Collateral**!

![Lending Tab](../../assets/mendi/lending.png) ![Collateral](../../assets/mendi/collateral.png)
![Lending Tab](../../assets/mendi/lending.png)

![Collateral](../../assets/mendi/collateral.png)

1. Select USDC/USDT/WETH to borrow from the protocol and click on it.
1. Enter the amount you want to borrow.
Expand Down
59 changes: 47 additions & 12 deletions docs/use-linea/explore/use-mesprotocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ sidebar_position: 1

# MES Protocol

Linea DeFi Week Tutorial MES Protocol is a cross-rollup orderbook DEX, you can learn more about it [here](https://www.mesprotocol.com/). This guide would walk you through how to complete the tasks. Before you begin, make sure your wallet is [configured to use Linea](https://docs.linea.build/use-linea/set-up-your-wallet), and your wallet is [funded with the Linea faucet](https://docs.linea.build/use-linea/fund).
Linea DeFi Week Tutorial MES Protocol is a cross-rollup orderbook DEX, you can learn more about it [here](https://www.mesprotocol.com/). This guide would walk you through how to complete the tasks.

Before you begin, make sure your wallet is:

- [configured to use Linea](../set-up-your-wallet.md)
- [funded with the Linea ETH](../fund.md#get-test-eth-on-linea).

## Tasks

Expand All @@ -16,35 +21,54 @@ Linea DeFi Week Tutorial MES Protocol is a cross-rollup orderbook DEX, you can l
## Switch to Linea Testnet

1. Navigate to [MES Protocol app](https://app.mesprotocol.com/)
2. Switch to Testnet ![mes1](../../assets/mesprotocol/mes1.png)
2. Switch to Testnet

![mes1](../../assets/mesprotocol/mes1.png)

3. Connect wallet
4. Select Linea Testnet and confirm to switch to Linea at your wallet ![mes2](../../assets/mesprotocol/mes2.png)
4. Select Linea Testnet and confirm to switch to Linea at your wallet

![mes2](../../assets/mesprotocol/mes2.png)

## Deposit

1. Click on “Deposit/Withdraw Tokens” and you will be navigated to the Portfolio page ![mes3](../../assets/mesprotocol/mes3.jpeg)
1. Click on “Deposit/Withdraw Tokens” and you will be navigated to the Portfolio page

![mes3](../../assets/mesprotocol/mes3.jpeg)

2. Click on the "Deposit" button at the row of token you want to deposit
3. Input the amount of token you want to deposit and proceed to the next step
4. Approve a spending limit if it is your first time interacting with our contract. Select a suitable spending limit that you are comfortable with. If you have no idea what spending limit to set, just simply use the default setting
5. The Metamask window will pop up again, you can double check the amount and adjust the gas fee if needed; confirm this transaction if everything is fine, a few seconds later you’ll be able to see your token balance updated

## Place an Order (Spot Trading)

1. Tap and choose the cryptocurrency pairs you want to trade. ![mes4](../../assets/mesprotocol/mes4.jpeg)
1. Tap and choose the cryptocurrency pairs you want to trade.

![mes4](../../assets/mesprotocol/mes4.jpeg)

2. Choose to trade in “Single Chain Mode” or “Cross-rollup Mode”, this is what differentiates MES from other DEXs.

- In Single Chain Mode - your order placed is matched and settled with other orders on Linea (your currently connected chain) only.
- In Cross-Rollup Mode, your order could match and settle with orders on any chains supported by MES. You enjoy deeper liquidity in this mode, but you may need to bridge the assets when you withdraw. ![mes5](../../assets/mesprotocol/mes5.png)
- In Cross-Rollup Mode, your order could match and settle with orders on any chains supported by MES. You enjoy deeper liquidity in this mode, but you may need to bridge the assets when you withdraw.

![mes5](../../assets/mesprotocol/mes5.png)

3. Choose the order direction to buy or sell the token
4. Choose to place a Market Order or Limit Order
5. Fill in the Limit Price (applicable to Limit Orders only) and the quantity, then place the order.

## Place an Order (MES Convert)

1. Navigate to MES Convert page by selecting “MES Convert” under “Trade” ![mes6](../../assets/mesprotocol/mes6.png)
1. Navigate to MES Convert page by selecting “MES Convert” under “Trade”

![mes6](../../assets/mesprotocol/mes6.png)

2. Select order type - Market Order or Limit Order
3. Select the source chain and token, and the destination chain and token (Linea would be the source and destination chains in this event) ![mes7](../../assets/mesprotocol/mes7.jpeg)
3. Select the source chain and token, and the destination chain and token (Linea would be the source and destination chains in this event)

![mes7](../../assets/mesprotocol/mes7.jpeg)

4. Fill in the amount to send
5. Click “Preview Conversion”
6. The conversion rate is displayed, it is for reference only and the actual settlement rate is subject to the price movement. You can adjust the conversion rate here if you are placing a Limit Order. Click "Submit" if you confirm the details of your trade
Expand All @@ -53,14 +77,25 @@ Linea DeFi Week Tutorial MES Protocol is a cross-rollup orderbook DEX, you can l

1. Same as deposit, navigate to the trading page and click on “Deposit/Withdraw Tokens”
2. Click on the "Withdraw" button at the row of token you want to withdraw
3. Choose a withdrawal mode - “Withdraw Linea Balance Only” allows you to withdraw assets on Linea only, or “Withdraw Cross-chain Balance” that aggregates your assets into Linea then and withdraw. ![mes8](../../assets/mesprotocol/mes8.png)
3. Choose a withdrawal mode - “Withdraw Linea Balance Only” allows you to withdraw assets on Linea only, or “Withdraw Cross-chain Balance” that aggregates your assets into Linea then and withdraw.

![mes8](../../assets/mesprotocol/mes8.png)

4. Single Chain Withdrawal - input the withdrawal amount and proceed to withdraw
5. Sign the message on your wallet to confirm the withdrawal
6. Click on “Go to Transfer Records” at the prompt message ![mes9](../../assets/mesprotocol/mes9.png)
7. Claim token to your wallet at “Pending Transfer” page ![mes10](../../assets/mesprotocol/mes10.png)
6. Click on “Go to Transfer Records” at the prompt message

![mes9](../../assets/mesprotocol/mes9.png)

7. Claim token to your wallet at “Pending Transfer” page

![mes10](../../assets/mesprotocol/mes10.png)

## Withdraw Cross-chain Balance

1. Select Linea as the destination chain ![mes11](../../assets/mesprotocol/mes11.png)
1. Select Linea as the destination chain

![mes11](../../assets/mesprotocol/mes11.png)

2. You are then navigated to “MES Convert” page to bridge your selected asset to Linea
3. After you have aggregated your assets to Linea, you can follow Step 4 above to withdraw the assets under Single Chain Withdrawal Mode.
34 changes: 24 additions & 10 deletions docs/use-linea/explore/use-noobysswap.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ description: Use NoobysSwap to trade NBS token
sidebar_position: 1
---

#Noobysswap
# Noobysswap

NooBysSwap.io is a decentralized exchange (DEX) built on a Linea blockchain L2 that enables users to trade digital assets in a secure and transparent manner, without the need for a centralized intermediary. The exchange is designed to be user-friendly, with low transaction fees and a seamless interface that makes trading digital assets easy and intuitive for users of all levels of experience. In this guide, we'll walk you through how to Swap & Add LP with NooBysSwap.io Before you begin,
NooBysSwap.io is a decentralized exchange (DEX) built on a Linea blockchain L2 that enables users to trade digital assets in a secure and transparent manner, without the need for a centralized intermediary. The exchange is designed to be user-friendly, with low transaction fees and a seamless interface that makes trading digital assets easy and intuitive for users of all levels of experience.

In this guide, we'll walk you through how to Swap & Add LP with NooBysSwap.io.

Before you begin, make sure your wallet is:

1. [Configured to use Linea](../set-up-your-wallet.md).
2. [Funded with Goerli ETH](../fund.md#get-test-eth-on-goerli)
2. [Funded with Linea ETH](../fund.md#get-test-eth-on-linea)

Claim USDT & NBS token on Faucet

Expand All @@ -21,11 +25,13 @@ Claim USDT & NBS token on Faucet

Swap tokens

1. Navigate to the https://noobysswap.io/ , and select Linea in your MetaMask wallet. ![swap page](../../assets/noobysswap/Picture2.png)
1. Navigate to the https://noobysswap.io/ , and select Linea in your MetaMask wallet.

![swap page](../../assets/noobysswap/Picture2.png)

2. Connect your wallet to the app. Click Connect wallet and select MetaMask. Your wallet address will appear in the top-right corner.

![swap page](../../assets/noobysswap/Picture3.png)
![swap page](../../assets/noobysswap/Picture3.png)

3. Select the Swap tab & Enter the tokens that you want to swap.
4. Enter the amount you want to swap.
Expand All @@ -35,16 +41,24 @@ Swap tokens
Add liquidity

1. Navigate to the NooBys App, and select the Linea network in your MetaMask wallet ![add liquidity page](../../assets/noobysswap/Picture5.png)
2. Connect your wallet to the app, by clicking Connect wallet and selecting MetaMask. Your wallet address will appear in the top-right corner.
2. Connect your wallet to the app, by clicking Connect wallet and selecting MetaMask. Your wallet address will appear in the top-right corner.

![add liquidity page](../../assets/noobysswap/Picture6.png)
3. Select the Liquidity tab & click Add Liquidity button ![add liquidity page](../../assets/noobysswap/Picture7.png)

4. Select Pair USDT-NBS or ETH-NBS and click Next ![add liquidity page](../../assets/noobysswap/Picture8.png)
3. Select the Liquidity tab & click Add Liquidity button

![add liquidity page](../../assets/noobysswap/Picture7.png)

4. Select Pair USDT-NBS or ETH-NBS and click Next

![add liquidity page](../../assets/noobysswap/Picture8.png)

5. Enter the amount you want to use for each token.
6. Click Supply and check the details.
7. Click the Confirm Supply to confirm and approve the transaction

![add liquidity page](../../assets/noobysswap/Picture9.png)
![add liquidity page](../../assets/noobysswap/Picture9.png)

## Get Support

Get Support If you run into issues using the NooBys Swap, you can find their Discord https://discord.gg/mDEFx6YUtS
If you run into issues using the NooBys Swap, you can find their Discord [here](https://discord.gg/mDEFx6YUtS)
4 changes: 3 additions & 1 deletion docs/use-linea/explore/use-particle.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ Press “Confirm”, and wait for a few second, the transaction will succeed. Yo

In this step, you’ll be swapping your tUSDC to tUSDT gaslessly, that is to say, you don’t need to have any goerliETH to trigger off the transaction.

Now, please put “Your Galxe Address” in the text field, PAY ATTENTION! It must be the address you used for participating this campaign, **otherwise you may not be able to verify your completion!**
Now, please put “Your Galxe Address” in the text field.

PAY ATTENTION! It must be the address you used for participating this campaign, **otherwise you may not be able to verify your completion!**

If you are not sure about how to get your Galxe Address, follow the steps below:

Expand Down
4 changes: 3 additions & 1 deletion docs/use-linea/explore/use-patch.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ The Twitter user could be a family member, a friend, a celebrity, a politician,

7. Once the NFT has been sent, you'll see the Success screen! 🥳 Make sure to enter the wallet from your Galxe profile to get credit!

**Important** Make sure to enter the wallet from your Galxe profile! Otherwise, you might not receive points for completing the quest!
**Important**

Make sure to enter the wallet from your Galxe profile! Otherwise, you might not receive points for completing the quest!

![Patch shot](../../assets/patch/patch-7.png)

Expand Down
12 changes: 9 additions & 3 deletions docs/use-linea/explore/use-vitidiary.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,17 @@ _How to get the Grape Gurus Role?_

Connect with Discord if you haven't.

Go to the “Verify” channel and interact with the “grape” emoji to get the “Grape Guru” role. ![Discord](../../assets/vitidiary/viti_discord.png)
Go to the “Verify” channel and interact with the “grape” emoji to get the “Grape Guru” role.

Tick the box to read and agree with the community rule and click “Submit” to enter. ![DiscordTick](../../assets/vitidiary/viti_discord_tick.png)
![Discord](../../assets/vitidiary/viti_discord.png)

Step3. Congratulations! Your badge is waiting for you! ![Congrats](../../assets/vitidiary/viti_congrats.png)
Tick the box to read and agree with the community rule and click “Submit” to enter.

![DiscordTick](../../assets/vitidiary/viti_discord_tick.png)

Step3. Congratulations! Your badge is waiting for you!

![Congrats](../../assets/vitidiary/viti_congrats.png)

Click “Mint Voyage NFT”

Expand Down
Loading

1 comment on commit 4253301

@vercel
Copy link

@vercel vercel bot commented on 4253301 Jun 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.