generated from Consensys/doctools.template-site
-
Notifications
You must be signed in to change notification settings - Fork 421
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(explore): added sushiswap tutorial
- Loading branch information
1 parent
5c5dcb9
commit b5c3d46
Showing
14 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |