Skip to content

Commit

Permalink
docs(explore): added sushiswap tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
Julink-eth authored and emilyJLin95 committed Jun 26, 2023
1 parent 5c5dcb9 commit b5c3d46
Show file tree
Hide file tree
Showing 14 changed files with 60 additions and 0 deletions.
Binary file added docs/assets/sushiswap/sushiswap-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/sushiswap/sushiswap-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/sushiswap/sushiswap-11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/sushiswap/sushiswap-12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/sushiswap/sushiswap-13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/sushiswap/sushiswap-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/sushiswap/sushiswap-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/sushiswap/sushiswap-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/sushiswap/sushiswap-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/sushiswap/sushiswap-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/sushiswap/sushiswap-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/sushiswap/sushiswap-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/sushiswap/sushiswap-9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 60 additions & 0 deletions docs/use-linea/explore/use-sushiswap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
title: Use Sushiswap
description: Perform swaps on Linea
sidebar_position: 1
---

Sushiswap has deployed its contracts to showcase how Linea can be used to swap tokens on L2, where users can benefit from cheaper gas fees.
ConsenSys deployed a version of the Sushiswap website to let the user interact with the swap feature.

## How to make a swap on Linea Sushiswap

1. First you need tokens to make a swap on Sushiswap, navigate to the [Linea Faucet](https://faucet.goerli.linea.build/)
2. Then get some “UNI” tokens from the list of tokens available
3. Once the tokens received in your wallet navigate to [Linea Sushiswap](https://sushiswap.goerli.linea.build)
4. Connect your MetaMask wallet.

![Make](../../assets/sushiswap/sushiswap-1.png)

5. Make sure your wallet is connected to Linea Goerli and funded with LineaETH to pay for gas fees
6. Make sure that “Linea Testnet” is selected in the networks list on the top right

![Make](../../assets/sushiswap/sushiswap-2.png)

7. Select the token you want to receive (for the quest select USDT)

![Make](../../assets/sushiswap/sushiswap-3.png)

8. Choose the amount you want to swap (there is no limit for the quest)
9. Select the token you want to receive (for the quest select USDT)

![Make](../../assets/sushiswap/sushiswap-4.png)
![Make](../../assets/sushiswap/sushiswap-5.png)

10. Click on the button “Approve” button as a first step to allow Sushiswap to make the swap
11. A Metamask popup appears, click on “Use default”, then “Next”, then “Approve”

![Make](../../assets/sushiswap/sushiswap-6.png)
![Make](../../assets/sushiswap/sushiswap-7.png)

12. On the top right, a message indicating “Approving …” is displayed, wait until the “Successfully approved” message appears.

![Make](../../assets/sushiswap/sushiswap-8.png)

13. Click on “Swap”

![Make](../../assets/sushiswap/sushiswap-9.png)

14. A new page is displayed with the swap summary, click on the swap button

![Make](../../assets/sushiswap/sushiswap-10.png)

15. In the Metamask popup click on confirm

![Make](../../assets/sushiswap/sushiswap-11.png)

16. Wait for the transaction to go through, once confirmed you’re done!

![Make](../../assets/sushiswap/sushiswap-12.png)

![Make](../../assets/sushiswap/sushiswap-13.png)

0 comments on commit b5c3d46

Please sign in to comment.