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(use-izumi) add use iziswap tutorial
- Loading branch information
Showing
17 changed files
with
88 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.
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,88 @@ | ||
--- | ||
title: Use the iZiSwap | ||
sidebar_position: 1 | ||
--- | ||
|
||
# iZiSwap Linea Testnet tutorial | ||
|
||
## Prepare your wallet on Linea Goerli test network | ||
|
||
Click “show/hide test networks“ on Metamasks, choose Linea Goerli test network. | ||
|
||
![img1](../../assets/izumi/1.jpg) | ||
|
||
The Linea faucet link is below: | ||
|
||
[https://www.infura.io/faucet/linea](https://www.infura.io/faucet/linea) | ||
|
||
## Swap | ||
|
||
Go to the [iZiSwap on Linea](https://linea.izumi.finance/home) and click the "Connect Wallet" button to link your Metamask wallet. | ||
|
||
![img2](../../assets/izumi/2.jpg) | ||
|
||
Select tokens to swap. Here we input 0.1 ETH to swap iZi tokens. | ||
|
||
![img3](../../assets/izumi/3.jpg) | ||
|
||
Wait for a bit. If the transaction is successful, a message will appear in the bottom right corner of the page. | ||
|
||
![img4](../../assets/izumi/4.jpg) | ||
|
||
## Limit Order | ||
|
||
Click “Limit Order” on the right of “Swap” tab and select the token you'd like to trade. | ||
|
||
![img5](../../assets/izumi/5.jpg) | ||
|
||
Place a limit order to exchange 0.05 ETH for iZi and set the desired price.Select the “Fee Tiers” and click “ADD” and confirm the transaction on MetaMask. | ||
|
||
(NO EXECUTED REQUIRED) | ||
|
||
![img6](../../assets/izumi/6.jpg) | ||
|
||
You can learn more details in “My Orders”. | ||
|
||
![img7](../../assets/izumi/7.jpg) | ||
|
||
When your order is partially or fully completed, you can collect rewards on "My Order" page by clicking "Claim". | ||
|
||
If you want to cancel an order, you could click “Cancel” and you need to confirm on MetaMask. | ||
|
||
![img8](../../assets/izumi/8.jpg) | ||
|
||
## Add Liquidity | ||
|
||
Select "Liquidity" => "Add Liquidity". | ||
|
||
![img9](../../assets/izumi/9.jpg) | ||
|
||
Click “Custom”. | ||
|
||
![img10](../../assets/izumi/10.jpg) | ||
|
||
Select a pair you want to create a pool with, here we take ETH and iZi as an example. Furthermore, choose the swap fee rate that you are willing to charge. | ||
|
||
![img11](../../assets/izumi/11.jpg) | ||
|
||
Input the sum you want to provide and set the price range. Here, we input 0.05 ETH as an example. Additionally, approve your tokens if it's the first time providing liquidity for you. | ||
|
||
![img12](../../assets/izumi/12.jpg) | ||
|
||
Click the “Create” button and confirm the transaction on Metamask. | ||
|
||
![img13](../../assets/izumi/13.jpg) | ||
|
||
after a moment, you will be able to see a pop-up window "add liquidity successfully". | ||
|
||
![img14](../../assets/izumi/14.jpg) | ||
|
||
Go back to the liquidity page to validate the provided position with the specific range, fee rate, TVL information, and NFT id. | ||
|
||
![img15](../../assets/izumi/15.jpg) | ||
|
||
Click “Collect” to claim swap fee,and click “Add” to add more liquidity to the existed position. Be informed, that you can not change the fee rate or price range of the existed position and require to create a new pool, for that matter. | ||
|
||
Click “Remove” and confirm the transaction on Metamask. | ||
|
||
![img16](../../assets/izumi/16.jpg) |