# Swap & Provide Liquidity

## Swap

1. Connect your wallet address.<br>

   <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2FZXpyWmtD9PuYf6sl4aTT%2FScreenshot%202024-06-06%20at%2023.38.54.png?alt=media&#x26;token=b462c797-a687-4c79-9b67-370121619b35" alt="" width="375"><figcaption></figcaption></figure>
2. Choose the token and amount you want to swap.<br>

   <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2Fj3HLcTcdYZd0LNfWYORY%2FScreenshot%202024-06-06%20at%2023.41.47.png?alt=media&#x26;token=5ac58d18-0633-4a80-9dd8-feeb2f2eb2d3" alt="" width="375"><figcaption></figcaption></figure>
3. Select the token you want to receive.<br>

   <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2FXwET2n3FOnZYqYO6jkAg%2FScreenshot%202024-06-06%20at%2023.42.18.png?alt=media&#x26;token=676cf0db-b3ea-4213-90c3-70d86252c68e" alt="" width="375"><figcaption></figcaption></figure>
4. CircuitSwap will automatically calculate the amount of tokens you will receive.
5. Click the swap button.
   * If you are swapping ETH, you will only need to sign one transaction.<br>

     <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2FTov8QNIGGW3Tk0xRnbc5%2FScreenshot%202024-06-07%20at%2000.07.04.png?alt=media&#x26;token=845a3849-9751-468a-b25e-ae0e4b931baf" alt="" width="375"><figcaption></figcaption></figure>
   * If you are swapping other tokens, you will need to sign two transactions.<br>

     <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2FZmI8IqdFQ5u2nfk4fqQo%2FScreenshot%202024-06-06%20at%2023.47.33.png?alt=media&#x26;token=a7acad91-80d9-43b3-ae0f-ef773e7fdf65" alt="" width="375"><figcaption></figcaption></figure>

     <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2FHupCEa1llaG24GhErJv3%2FScreenshot%202024-06-06%20at%2023.49.00.png?alt=media&#x26;token=2137b897-fe14-45f2-93f7-7c114b448377" alt="" width="375"><figcaption></figcaption></figure>
6. Once you see the confirmation block, you have successfully swapped.<br>

   <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2FWK8pyneUwY52lF2BlG6h%2FScreenshot%202024-06-06%20at%2023.53.27.png?alt=media&#x26;token=422797b5-0be0-44ad-b25c-bad0364f7c05" alt=""><figcaption></figcaption></figure>

## Add/Remove liquidity

1. Click the liquidity tab.<br>

   <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2FzjfNLOI2miVBi3lRPfUq%2FScreenshot%202024-06-07%20at%2000.11.35.png?alt=media&#x26;token=006b03d0-9ce9-4443-b837-e13676751266" alt="" width="563"><figcaption></figcaption></figure>
2. Choose a pool to add liquidity.
   * You can select from popular pools or manually choose a pair to add.

     <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2FYSaH7H7Yuuivl2WuYfqW%2FScreenshot%202024-06-07%20at%2000.14.23.png?alt=media&#x26;token=f401aad3-afa5-42ee-9b97-b8e653ce644b" alt="" width="375"><figcaption></figcaption></figure>
3. Enter the amount of tokens you want to provide as liquidity.
   * The amount of the other token will be calculated automatically based on pool stats.<br>

     <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2Fu9SG8xObDk1O4jHdXYZ7%2FScreenshot%202024-06-07%20at%2000.17.45.png?alt=media&#x26;token=6cb3286e-f863-4cc2-8fc7-51a6edabbff9" alt="" width="375"><figcaption></figcaption></figure>
4. Click the deposit button.
   * If you are depositing ETH plus one other token, you will only need to sign two transactions.

     <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2FZ4MxtUA1czgSZCfPUaQd%2FScreenshot%202024-06-07%20at%2000.22.49.png?alt=media&#x26;token=57baf1c8-0de5-4567-a4cf-8ce868fd51ab" alt="" width="375"><figcaption></figcaption></figure>

     <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2Fz9LgEkXhmjgzbz7kFpfR%2FScreenshot%202024-06-07%20at%2000.27.33.png?alt=media&#x26;token=128c284a-304a-4631-89b8-5a1d1549e7e7" alt="" width="375"><figcaption></figcaption></figure>
   * If you are depositing two non-ETH tokens, you will need to sign three transactions.<br>

     <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2Fy60C2ZGGVpFL31o5qTI2%2FScreenshot%202024-06-07%20at%2000.20.40.png?alt=media&#x26;token=582cef41-47e3-44b3-b2b6-9162e0057b03" alt="" width="375"><figcaption></figcaption></figure>

     <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2F8tjMUUz1jicO4WLaAeYL%2FScreenshot%202024-06-07%20at%2000.21.33.png?alt=media&#x26;token=5b21f954-023e-4496-a983-472a1275c174" alt="" width="375"><figcaption></figcaption></figure>
5. Once you see the confirmation block, you have successfully provided liquidity.<br>

   <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2FGRFdHYaIGCcJEJqoO4fL%2FScreenshot%202024-06-07%20at%2000.32.39.png?alt=media&#x26;token=edc91196-6b9a-4ac5-9a11-3ffd8313cc2d" alt="" width="563"><figcaption></figcaption></figure>

To withdraw your LP tokens:

1. Click the withdraw tab.<br>

   <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2F9VyoMz25fZZfhqkGIGj6%2FScreenshot%202024-06-07%20at%2000.41.53.png?alt=media&#x26;token=2abdbabc-fa5b-4f55-a65c-b66c62c55517" alt="" width="375"><figcaption></figcaption></figure>
2. Choose the amount of LP tokens you want to withdraw.<br>

   <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2FT42FcBnjoOuOmrerKjf1%2FScreenshot%202024-06-07%20at%2000.42.51.png?alt=media&#x26;token=09c9af0a-2583-4b8c-b524-0f2305eb36e8" alt="" width="375"><figcaption></figcaption></figure>
3. Click the withdraw button and sign two transactions.<br>

   <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2Fj1z90m3FV50UhmfFQacO%2FScreenshot%202024-06-07%20at%2000.57.14.png?alt=media&#x26;token=546344c4-b611-4781-9b2e-9d4f1d69cece" alt="" width="375"><figcaption></figcaption></figure>
4. Once you see the confirmation block, you have successfully withdrawn liquidity.<br>

   <figure><img src="https://1396585860-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsgusFVaFDE798UsnBhr5%2Fuploads%2FdpjFN77SLXi7cCET9DqU%2FScreenshot%202024-06-07%20at%2000.52.50.png?alt=media&#x26;token=7e1d59bc-ded2-45e5-8565-318e59350aa7" alt="" width="375"><figcaption></figcaption></figure>
