# Through the Explorer

### Before you begin adding liquidity, you must prepare several things:

* Your Wallet with the token you want to deposit
* Your Token Contract ([Example](https://bscscan.com/address/0x9a257c90fa239fba07771ef7da2d554d148c2e89#writeContract))
* Ralayer Contract for your token ([Example](https://bscscan.com/address/0x5bd40e579cb7d37784689044e6c7c333e2e300e6#writeContract))

## Deposit liquidity

### Step1 : Approve the Relayer Contract as Spender on Token Contract

* Visit the **token contract page** on the explorer.
* Navigate to the **Contract tab - Write Contract** and then connect your wallet&#x20;

<figure><img src="https://3694085950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mcs9EhDrgbKHodtcAT6%2Fuploads%2FnQ8rcV6HMOgyYLdpBAhV%2F%E6%88%AA%E5%9C%96%202023-08-10%20%E4%B8%8B%E5%8D%883.50.41.png?alt=media&#x26;token=498588be-14cc-4c4a-bc8a-66acc4bb744a" alt=""><figcaption></figcaption></figure>

* Locate the **approve** section&#x20;

<figure><img src="https://3694085950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mcs9EhDrgbKHodtcAT6%2Fuploads%2FMgmwmx3fu7l1ZS1h0j5S%2F%E6%88%AA%E5%9C%96%202023-08-09%20%E4%B8%8B%E5%8D%8812.05.36.png?alt=media&#x26;token=8f1ec5c4-fb73-45dd-a946-2da709cac1d6" alt=""><figcaption></figcaption></figure>

* Input two fields in the **approve** session to approve the Relayer Contract
  * spender (address): Fill in with **Relayer Contract** Address (do not enter your wallet address here).
  * amount  (uint256): Input the quantity you wish to approve with its corresponding decimals. For instance, if you want to approve 50 tokens and the decimal is 18, then input 50,000,000,000,000,000,000.
  * If you are not familiar with the decimal, you can locate it in the overview section of your token contract page on the explorer.

<figure><img src="https://3694085950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mcs9EhDrgbKHodtcAT6%2Fuploads%2FviXLVp3qbp1VF37uWx8X%2F%E6%88%AA%E5%9C%96%202023-08-09%20%E4%B8%8B%E5%8D%8812.06.52.png?alt=media&#x26;token=20fbf500-25c9-402d-84c4-6cbc3cdc23cf" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3694085950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mcs9EhDrgbKHodtcAT6%2Fuploads%2FAbMonmpCgmBDk1Ofx6bq%2F%E6%88%AA%E5%9C%96%202023-08-10%20%E4%B8%8B%E5%8D%883.55.39.png?alt=media&#x26;token=88c97e27-9603-408a-b49a-2623a34a910e" alt=""><figcaption><p>Find the decimal on your token page</p></figcaption></figure>

* Complete the approval by sending the transaction.

### Step2 : Go to Relayer Contract to Execute Deposit.

* Visit the relayer contract page on the Explorer.&#x20;
* Navigate to the **Contract tab - Write Contract** and then connect your wallet&#x20;

<figure><img src="https://3694085950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mcs9EhDrgbKHodtcAT6%2Fuploads%2FMgQHlzwmVQlvgA5eTRb3%2F%E6%88%AA%E5%9C%96%202023-08-10%20%E4%B8%8B%E5%8D%884.01.28.png?alt=media&#x26;token=2ea41989-6ebf-40ff-92eb-a8026a0e88e9" alt=""><figcaption></figcaption></figure>

* Locate the **5. deposit** section&#x20;

<figure><img src="https://3694085950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mcs9EhDrgbKHodtcAT6%2Fuploads%2F85vFu9AQYZjjoJU4ACEu%2F%E6%88%AA%E5%9C%96%202023-08-09%20%E4%B8%8B%E5%8D%8812.20.26.png?alt=media&#x26;token=0a85c3be-3639-4f40-8527-5ed5fd58c869" alt=""><figcaption></figcaption></figure>

* Input two fields in the **5. deposit** session to deposit your token
  * deposit: Keep 0
  * amount  (uint256): Input the quantity you want to deposit with its corresponding decimals. For instance, if you want to deposit 50 tokens and the decimal is 18, then input 50000000000000000000.
  * If you are not familiar with the decimal, you can locate it in the overview section of your token contract page on the explorer.

<figure><img src="https://3694085950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mcs9EhDrgbKHodtcAT6%2Fuploads%2Fs1bBVOISdgaqgWafjh79%2F%E6%88%AA%E5%9C%96%202023-08-09%20%E4%B8%8B%E5%8D%8812.21.03.png?alt=media&#x26;token=e3b3544c-1d20-4b18-ae74-8cb6b55d7bb0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3694085950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mcs9EhDrgbKHodtcAT6%2Fuploads%2FAbMonmpCgmBDk1Ofx6bq%2F%E6%88%AA%E5%9C%96%202023-08-10%20%E4%B8%8B%E5%8D%883.55.39.png?alt=media&#x26;token=88c97e27-9603-408a-b49a-2623a34a910e" alt=""><figcaption><p>Find the decimal on your token page</p></figcaption></figure>

* Complete the deposit by sending the transaction.

## Withdraw liquidity

### Step1 : Approve the Relayer Contract as Spender on Relayer Contract

* Visit the **Relayer contract page** on the explorer.
* Navigate to the **Contract tab - Write Contract** and then connect your wallet&#x20;

<figure><img src="https://3694085950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mcs9EhDrgbKHodtcAT6%2Fuploads%2FMgQHlzwmVQlvgA5eTRb3%2F%E6%88%AA%E5%9C%96%202023-08-10%20%E4%B8%8B%E5%8D%884.01.28.png?alt=media&#x26;token=2ea41989-6ebf-40ff-92eb-a8026a0e88e9" alt=""><figcaption></figcaption></figure>

* Find the **2. approve** section&#x20;

<figure><img src="https://3694085950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mcs9EhDrgbKHodtcAT6%2Fuploads%2FDOWSUTyalQFNK4UWd2q1%2F%E6%88%AA%E5%9C%96%202023-08-10%20%E4%B8%8B%E5%8D%884.14.35.png?alt=media&#x26;token=9ec73cf6-8442-4e0c-8cc6-ff71c42b3755" alt=""><figcaption></figcaption></figure>

* Input two fields in the **2. approve** session to approve the Relayer Contract
  * spender (address) : Fill in with **Relayer Contract** Address (do not enter your wallet address here).
  * amount  (uint256) :  Input the quantity you wish to approve with its corresponding decimals. For instance, if you want to approve 50 tokens and the decimal is 18, then input 50,000,000,000,000,000,000.
  * If you are not familiar with the decimal, you can locate it in the overview section of your token contract page on the explorer.

<figure><img src="https://3694085950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mcs9EhDrgbKHodtcAT6%2Fuploads%2FcTU5yvj6rG1GFfXzByZW%2Fspaces_-Mcs9EhDrgbKHodtcAT6_uploads_EWfbiNMDYJZllPVMIa6e_%E6%88%AA%E5%9C%96%202023-08-09%20%E4%B8%8B%E5%8D%885%E6%8B%B7%E8%B2%9D.jpg?alt=media&#x26;token=d5f3508d-1f47-4c76-99e5-c00908a35596" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3694085950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mcs9EhDrgbKHodtcAT6%2Fuploads%2F80WcRx2ZKnEBjZOaGf2Q%2F%E6%88%AA%E5%9C%96%202023-08-10%20%E4%B8%8B%E5%8D%884.17.25.png?alt=media&#x26;token=285e790c-7244-495b-a635-474fbeb25b88" alt=""><figcaption></figcaption></figure>

* Complete the approval by sending the transaction.

### Step2 : Execute Withdraw on Relayer Contract

* Locate the **19. withdraw** section on relayer contract page&#x20;

<figure><img src="https://3694085950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mcs9EhDrgbKHodtcAT6%2Fuploads%2Fo9r0PvF9EEXhvuwDyFVe%2F%E6%88%AA%E5%9C%96%202023-08-10%20%E4%B8%8B%E5%8D%884.19.46.png?alt=media&#x26;token=3db9223d-cf29-47c6-a13b-447470867101" alt=""><figcaption></figcaption></figure>

* Input amount fields in the **19. withdraw** session to withdraw your token
  * amount  (uint256) :  Input the quantity you want to withdraw with its corresponding decimals. For instance, if you want to withdraw 50 tokens and the decimal is 18, then input 50000000000000000000.

<figure><img src="https://3694085950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mcs9EhDrgbKHodtcAT6%2Fuploads%2FcD4FHls5ZhwVeuEL71lu%2F%E6%88%AA%E5%9C%96%202023-08-10%20%E4%B8%8B%E5%8D%884.21.42.png?alt=media&#x26;token=7950de50-2947-4e49-a68c-38aea4230045" alt=""><figcaption></figcaption></figure>

* Complete the withdraw by sending the transaction.
