# Step to Step Tutorial of Using ZKSwap (Bitcoin) Testnet Version

### Step 1: Claim testnet BTC tokens:

* Using Taproot Address: Visit these faucets, input your address to claim testnet BTC.
  1. <https://cryptopump.info/send.php>
  2. <https://bitcoinfaucet.uo1.net/send.php>
  3. <https://kuttler.eu/en/bitcoin/btc/faucet/>
* Using Native Sigwit address: Visit "<https://coinfaucet.eu/en/btc-testnet/>", input your address to claim testnet BTC, and then **transfer to your Taproot address.**

### Step2: Log in

Link a Taproot format BTC testnet address in ZKSwap.

<figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FmloPQg1qWlw0i6MwlBNg%2F1.png?alt=media&#x26;token=0f6af03c-7b1a-43b7-852b-bd04403bd2a5" alt=""><figcaption></figcaption></figure>

### Step3: Deposit to ZKSwap

1. On the Asset page, click "Deposit" to enter the deposit page.

<figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FfdCK1IMjmPtyxIwQDQZD%2F2.png?alt=media&#x26;token=2868ecb7-f059-4c21-942d-a76f78f4eebe" alt=""><figcaption></figcaption></figure>

2. From the dropdown menu, select the type of currency to deposit.

<figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FSEKJKN3OzaRBa7OqmRKx%2F3.png?alt=media&#x26;token=fedbc750-5dc3-4d02-a681-554fefb17fef" alt="" width="375"><figcaption></figcaption></figure>

3. If depositing BTC:

   (1) Enter an amount less than what is available in the wallet.

   (2) Click the "Deposit" button to prompt the wallet to sign the transaction; the deposit is successful after three block confirmations.

<figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FbBIbVYBBVzwO6Oh4vKhZ%2F4.png?alt=media&#x26;token=4316bca6-6051-4eb0-9219-b8f4885ad3a0" alt="" width="375"><figcaption></figcaption></figure>

4. If depositing BRC-20 tokens:\
   (1) Perform an "Inscribe transfer" for the amount you wish to deposit.

<div align="left"><figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FSkrSNxqB4MpgSgSZpXBA%2F5.png?alt=media&#x26;token=b7bd12e7-f991-412d-83ce-677cbff53bea" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2F2F8Mujsdg1BLialPeY5H%2F6.png?alt=media&#x26;token=d7d722cf-906b-4fac-a84e-b3fc2f7a663e" alt="" width="375"><figcaption></figcaption></figure></div>

&#x20;  (2) Select a transfer inscription.

<figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FRlctnWsbLmDk9YO2n3py%2F7.png?alt=media&#x26;token=3599ee6f-2808-42a5-b0b3-d39f21f203cf" alt="" width="375"><figcaption></figcaption></figure>

&#x20;  (3) Click the "Deposit" button to prompt the wallet to sign the transaction; the deposit is successful after three block confirmations.<br>

### Step4: Swap

1. Go to the "Swap" on the navigation bar

<figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FFE0y5JFDJbQC5oZKR2T2%2F8.png?alt=media&#x26;token=92c39908-0f8c-4931-89c5-94d2dab02e29" alt=""><figcaption></figcaption></figure>

2. Choose your currency pairs

<figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FcZcccXKj6yLk4kgi6pNS%2F9.png?alt=media&#x26;token=8210219b-c571-489a-85be-51d2a6dfb8a6" alt="" width="375"><figcaption></figcaption></figure>

3. Enter the amount for the transaction

<figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FKhRO5OtLRpE10KjTepZQ%2F10.png?alt=media&#x26;token=fd62216a-3438-466b-859d-986e7ded01ae" alt="" width="375"><figcaption></figcaption></figure>

4. Click "Swap" to confirm and complete the transaction in your wallet

<div><figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2F7IkWJgd3JiZxsWcWixg3%2F11.png?alt=media&#x26;token=3bd51287-cdad-4106-a4ff-9aea9395d683" alt="" width="563"><figcaption></figcaption></figure> <figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FKnkuBrvn6e6xq3p67gsm%2F12.png?alt=media&#x26;token=e615213c-0579-48e3-aa44-723392773d03" alt=""><figcaption></figcaption></figure></div>

### Step5: Add Liquidity

1. Go to the "Pool" in the navigation bar

<figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FSJVtjbeIRlurGTVMnt0w%2F13.png?alt=media&#x26;token=e6e4c71a-76a3-4e2f-bc4c-b265904d3c4d" alt=""><figcaption></figcaption></figure>

2. Click on "Add Liquidity" on the Pool page

<figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FeMiZNlSyLy2AMOJaYuTm%2F14.png?alt=media&#x26;token=502c523a-8d8b-4729-8969-7d048e59d45c" alt="" width="375"><figcaption></figcaption></figure>

3. Choose the two assets you want to add liquidity for

<figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FGxM7O52MEGDiswMaBaw6%2F15.png?alt=media&#x26;token=606110d6-56c1-47a1-ac99-60a4e333cbdc" alt="" width="375"><figcaption></figcaption></figure>

4. Enter the amount of tokens you wish to add

<figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FGxM7O52MEGDiswMaBaw6%2F15.png?alt=media&#x26;token=606110d6-56c1-47a1-ac99-60a4e333cbdc" alt="" width="375"><figcaption></figcaption></figure>

* If the trading pair doesn't exist, enter the quantities for both tokens separately
* If the trading pair exists, input the quantity for one token, and the quantity for the other will be auto-filled

5.Click "Apply Liquidity" to confirm and add liquidity to your wallet

<div><figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2F2DIySfxYre9U2eSrFTl2%2F16.png?alt=media&#x26;token=1040baf3-4ed1-482d-91e0-bdb7ebc39f35" alt="" width="563"><figcaption></figcaption></figure> <figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FuM9bKQ97lKFk7XT00nUl%2F18.png?alt=media&#x26;token=e7b06f85-cef7-4c78-b9fc-b840b23daa4a" alt=""><figcaption></figcaption></figure></div>

### Step6: Manage Liquidity

1. Go to the "Pool" in the navigation bar and view the liquidity added by your account at "My Pool" section

<figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2F1ePqeWDEKgb9BituOrmR%2F19.png?alt=media&#x26;token=f569b769-5c57-40ef-94a9-06d34dc9dc73" alt=""><figcaption></figcaption></figure>

2. Click the "+" button to add liquidity for a trading pair, similar to the process for adding liquidity

<div><figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FaPBJTeGxBX32EcSnsU5f%2F20.png?alt=media&#x26;token=1cc1bb21-1dbc-4758-b7ca-df805cbb7aa9" alt="" width="563"><figcaption></figcaption></figure> <figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FQAkmxRWrl7417oK8JK8w%2F21.png?alt=media&#x26;token=547070aa-fa0c-455a-b5d3-b5aff397ee73" alt=""><figcaption></figcaption></figure></div>

3. Click the "-" button to remove liquidity, adjust the slider or input the amount to be removed

<div><figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2F8VElkByWXkBf0rfVeD3N%2F22.png?alt=media&#x26;token=8af65210-3177-49d9-a756-e611a2d2ce76" alt="" width="563"><figcaption></figcaption></figure> <figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FGZaeeOCGkkwzgOoZMAzO%2F23.png?alt=media&#x26;token=f6e60951-a9ee-4376-8e9c-eba11ee88699" alt=""><figcaption></figcaption></figure></div>

4. Click "Add Liquidity" or "Remove Liquidity" to confirm and remove liquidity in your wallet after signing and confirming the transaction

### Step7: Withdraw to Bitcoin Testnet

1. Go to the "Asset" and click on "Withdraw" to access the withdrawal page

<figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FNPoPmFp6k5t0w9GIBmxn%2F24.png?alt=media&#x26;token=659dba5d-1a79-46c8-8d07-a58ba85d11b3" alt=""><figcaption></figcaption></figure>

2. Select the currency you wish to withdraw

<div><figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FU6Po7oyF2WKAbPkxiUMG%2F25.png?alt=media&#x26;token=9494bcbd-5d98-4600-b65b-8aa9191b023c" alt=""><figcaption></figcaption></figure> <figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2Fa8BCRVeIfjApgBgk7JBl%2F26.png?alt=media&#x26;token=fae21dc6-d624-4290-b631-a12a77707964" alt=""><figcaption></figcaption></figure></div>

3. Enter the amount you want to withdraw

<figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2Fhg44eV1noVEbzHx3ekre%2F27.png?alt=media&#x26;token=e57b70ee-c114-444f-b56a-b682ae1df2c2" alt="" width="375"><figcaption></figcaption></figure>

4. Click the "Withdraw" button to confirm and complete the transaction in your wallet

<div><figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2FkrQ9NW8thsp96HwlNJSB%2F28.png?alt=media&#x26;token=a8020d32-2fae-4514-9f16-022d9387252a" alt=""><figcaption></figcaption></figure> <figure><img src="https://3124259879-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV_XFHDOGGH15gLAF_v%2Fuploads%2F36jrKlN8ldQFf3shrIhj%2F29.png?alt=media&#x26;token=d1b0ccdd-132b-44a2-a704-a3178c6b0cf6" alt=""><figcaption></figcaption></figure></div>
