# iZiSwap testnet guidance

### Testnet creation, BNB faucet, and iZiswap usability

1. Create a new testnet account for your safety. <br>

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FDQVrvK9vk9suMV690VxH%2FScreen%20Shot%202022-04-19%20at%2015.25.31.png?alt=media\&token=3c391621-8688-4558-a21d-1a98643a0b7a)

2\. To complete a configuration, we need to set up a “BSC Testnet” network. Open Metamask and click  “Ethereum Mainnet"

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FfMiZYa0eFEd2n0LMk8kU%2FScreen%20Shot%202022-04-26%20at%2010.51.00.png?alt=media\&token=813718c5-7563-470e-a906-4616dc5698b0)

Choose “ADD Network”, and fill out the form with the following information:

**Network Name:** BSC Testnet \
**New RPC URL:** <https://data-seed-prebsc-1-s1.binance.org:8545/> \
**Chain ID:** 97 \
**Currency Symbol(optional):** BNB Block Explorer \
**URL(optional):** <https://testnet.bscscan.com/>

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FG6H5iujd1rvQVna2jAM4%2FScreen%20Shot%202022-04-26%20at%2010.56.01.png?alt=media\&token=be302261-f963-4676-8b0b-00e8bd76e836)

3\. Import iZi tokens to your MetaMask account.

iZi Contract Address: **0x551197e6350936976DfFB66B2c3bb15DDB723250**

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FfniUd18fhYKPIZv2bkNO%2FScreen%20Shot%202022-04-26%20at%2010.59.51.png?alt=media\&token=2edad8af-e61a-4359-a20e-52bbe88d34d5)

4\. Visit “Binance Smart Chain Faucet” and apply for BNB test token \
**Binance Smart Chain FaucetLink**： <https://testnet.binance.org/faucet-smart>

Input testnet Metamask address that you have created for the test and choose 1BNB from the drop-down box on the right.

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FILECE1SQzThXLtecG3Hm%2FScreen%20Shot%202022-04-26%20at%2011.03.04.png?alt=media\&token=6017c349-55ec-48ac-b6de-1054e200df5d)

You may view the successful request in the following picture:

![Please note, every address can only receive 1 BNB in 24 hours time frame](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FWFbKK22w09ZM1kDkYbsy%2FScreen%20Shot%202022-04-26%20at%2011.06.40.png?alt=media\&token=6ff6e316-83a7-4b73-b339-e2e1d00adb2e)

5.Visit  **izumi testnet website**：<https://alpha.izumi.finance/trade/swap>. \
Click "Connect Wallet" button to connect MetaMask wallet, and switch to “BSC Testnet”.

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FjRiu4CV7hK1hPGpIea0b%2FScreen%20Shot%202022-04-26%20at%2011.09.19.png?alt=media\&token=463a3c74-1b0c-4407-9ef6-ddc0d476ec16)

6\. Choose the token to be traded and the amount to be transacted. In our case token A: BNB and token B: iZi. Also note, you need to keep some amount of BNB to pay transaction fees aka the gas fee for the further transactions.

![In the bottom right corner of the pop-up window, you can see the BNB/iZi token exchange rate.](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2Fm7QNDJEMlfKkjOiIIx6c%2FScreen%20Shot%202022-04-26%20at%2011.21.12.png?alt=media\&token=97327135-cb0b-4d8a-8532-3f38c23306fe)

8\. To configure the trade slippage, click the Settings button in the top right corner of the “Swap” dashboard.

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FaoqqppxsCBddEl5gDNVC%2FScreen%20Shot%202022-04-26%20at%2011.23.05.png?alt=media\&token=030ee02f-11bc-4d0f-b051-ffdd3f213946)

9\. Click “Swap" and confirm the transaction on MetaMask

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FGMCNJozbEUUpdkq4aLLp%2FScreen%20Shot%202022-04-26%20at%2011.24.47.png?alt=media\&token=84c8f3af-0291-403d-b4ad-0ce81c04412e)

Wait for a bit; if the transaction is successful, a message will appear in the bottom right corner of the page.

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FxjWTuC4YA1sO6SsNtmgv%2FScreen%20Shot%202022-04-26%20at%2011.26.21.png?alt=media\&token=0bfb71ee-2aca-4c96-ba68-2edde31ecc56)

### Limit order

1.Click “Limit Order” to the right of “Swap” and choose the token you'd like to be traded  (From: **token A**(you'd like to be traded), To: **token B**(you'd like to receive with the adjusted price).&#x20;

Choose the appropriate ”Fees Rate“. The pool with a rate of 0.04% has liquidity, **so we choose 0.04%** and approve iZi.&#x20;

![enjoy on-chain limit order function with izumi =) ](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FYrRXpX3ClghCpBDiHO3h%2FScreen%20Shot%202022-04-26%20at%2011.45.06.png?alt=media\&token=11db09fa-06fd-4ccd-ac0b-995fd8d9bc2a)

2\. Input the amount of tokens you want to trade. We may begin by selecting the “Market Price” (which can also be found in the bottom right-hand corner of the pop-up window) and then adjusting your target price based on the market pricing.

**REMINDER:** Selling below the market pricing is not advised, and increasing the “Market Price” by not more than 10% of the current price to ensure your order is filled in a quick manner.

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2F7C0lhKLTTozNIqo8yRMT%2FScreen%20Shot%202022-04-26%20at%2011.54.08.png?alt=media\&token=f43e3519-fc9c-4690-b5c0-516b2ddd9f4a)

3\. Click “ADD” and confirm the transaction on MetaMask

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2F7hTsuq9ZuSiLhDZoTlM2%2FScreen%20Shot%202022-04-26%20at%2011.57.29.png?alt=media\&token=98d4d552-3300-47e3-989a-be1fc1291201)

4\. Click “My Orders”, all orders can be seen online (limit price, order time, transaction rate)

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2F72bvAWUEeGgiMDXy20sl%2FScreen%20Shot%202022-04-26%20at%2011.59.43.png?alt=media\&token=98322a61-1083-4c6e-b931-a3489e009396)

5\. If you want to **cancel an order**, you could click “Cancel” and you need to confirm on MetaMask.

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FbEeQB7O5M3va92m92GBQ%2FScreen%20Shot%202022-04-26%20at%2011.59.28.png?alt=media\&token=58e51773-eb1f-4cf2-a189-8143861c6694)

6\. When your order is partially or fully completed, you can collect rewards on the "My Order" page and click "Claim"

![Click “Claim”,and confirm the translation on MetaMask.](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2Fzrx3C9cIlxSVkRihPnJV%2FScreen%20Shot%202022-04-26%20at%2012.03.08.png?alt=media\&token=bee08285-84c4-446d-9f26-8b1f750e15dc)

### How to add liquidity&#x20;

1.Click "liquidity" => "add liquidity" &#x20;

<div align="left"><img src="https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FGeEFOObwt1kGIXJavkku%2FScreen%20Shot%202022-04-26%20at%2012.07.29.png?alt=media&#x26;token=46cb0bf1-22e7-44c6-8743-d5e755fc443f" alt="Liquidity"> <img src="https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FEMU8jSZ3AjAvF51UkYNG%2FScreen%20Shot%202022-04-26%20at%2012.07.41.png?alt=media&#x26;token=f5a5a0dc-8bd4-4be0-a87c-50ac3b6d89a3" alt="Add position"></div>

2\. Select the token liquidity you want to add, here we take BNB and iZi as an example. Furthermore, select the transaction fee rate you are willing to charge.&#x20;

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FX8K8hlOlcRNCkym9Vmn7%2FScreen%20Shot%202022-04-26%20at%2012.13.41.png?alt=media\&token=ee83101a-02a9-4600-a3a5-96f06e3a2f17)

3\. Enter the number of tokens you want to add and approve the use of iZi

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FWFwD7Y0imopYf1DoEu8q%2FScreen%20Shot%202022-04-26%20at%2012.15.25.png?alt=media\&token=8c3a5ea8-346a-48bf-bd34-c80cd56fb5c1)

4\. After choosing the desired price range for 1 iZi in n-amount of BNB price range and the amount of iZi and BNB you want to provide, click create button and also confirm the transaction on metamask.&#x20;

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FuHFUoBRQ8grKlMIcHZN1%2FScreen%20Shot%202022-04-26%20at%2012.21.18.png?alt=media\&token=fb410228-294f-48e1-adc8-14c9d5e082ad)

5\. In a moment, you will be able to see a pop-up window "add liquidity successfully"

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2Fn76IOPBXLfQLMiXjSMrj%2FScreen%20Shot%202022-04-26%20at%2012.21.28.png?alt=media\&token=dda934c2-9e3c-409c-b1a7-81a86b7c64ce)

6\. Go back to the liquidity page to see provided positions with the range, fee rate, and TVL information.&#x20;

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FWIlGQNccbLVpUiE8DdFA%2FScreen%20Shot%202022-04-26%20at%2012.30.16.png?alt=media\&token=5f95635d-8eee-45e6-b0f5-405474d1d6fe)

7\. Collect swap fees:&#x20;

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FZP5ZYL2xaZfV4hvCSfF3%2FScreen%20Shot%202022-04-26%20at%2012.30.23.png?alt=media\&token=3841fab8-ef29-4dae-ad79-ff75d760b9af)

8\. Add more liquidity to existed position:

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FeDBvSgz8uTMgQjD0u5se%2FScreen%20Shot%202022-04-26%20at%2012.30.32.png?alt=media\&token=895964be-9351-403c-b7e0-df1ace9a005f)

Be informed, that **you can not change the fee rate or price range to the existed position.**

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2FOf8f3A3i3PwRyUH4Ry9g%2FScreen%20Shot%202022-04-26%20at%2012.34.41.png?alt=media\&token=7f6496bb-285f-4061-8d19-08050a5d0d2b)

9\. Remove liquidity:&#x20;

![](https://1761209656-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnbFrz9ebdFK9k9KnHCnY%2Fuploads%2F9hIvfU6EQ2b8htUHBjVb%2FScreen%20Shot%202022-04-26%20at%2012.34.48.png?alt=media\&token=532dfc04-f26d-4556-8dc2-d3181e81e6f6)
