# XSwap Protocol Intro

XSwap AMM and DEX's Technical Documentation

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FDwMC7fEQKS27iTxQuCDl%2FXSwap_DEX.jpg?alt=media\&token=9b9176f8-6bf6-45dc-b708-b2703058886a)

**XSwap helps you make the most out of your crypto in two ways:**

**Swap XRC20 and Earn.**

### <mark style="color:purple;">↔️</mark> SWAP

Instantly swap crypto tokens: no registration or account needed.

#### The people's choice

XSwap is the leading decentralized exchange on the XDC Network.

#### Lowest fees

Why pay more?  XSwap runs on the XDC Network, a blockchain with much lower transaction costs than Ethereum and/or Binance Smart Chain.\
Trading fees are lower than other top decentralized exchanges, even lower than that of Pancakeswap, so that is a double win for you!

#### Decentralized

Trade directly from your XDC wallet app.\
Unlike centralized exchanges like Binance or Coinbase, XSwap does not hold your funds when you trade: **you have 100% ownership of your own crypto**.

### <mark style="background-color:purple;">💸</mark> Earn

Earn XSP in XSP Staking platform.

Earn XTT and other tokens in the Farming platform.

#### Earn tokens with Pools

Stake XTT, earn free tokens. It’s really that easy.\
XTT holders right now are earning tens of thousands of USD worth of free tokens each week from major projects. New projects join the party everyday, so you can earn more, for even longer.

#### Earn XTT with Yield Farms

Provide liquidity, Stake XSP2 LP tokens and earn XTT. You can earn higher APR to offset the risk.

#### Earn Trading Fees

No farm?  No problem.  Even if your trading pair is not supported on the Farms page, you can still earn trading fees when you stake your tokens in Liquidity Pools (LPs).

### Is XSwap safe?

See for yourself.

Our contracts are audited by expert developers.

* XSwap DEX has been audited by Certik and Techrate.
  * [Certik Audit Report](https://www.certik.com/projects/xswap-protocol)
  * [Techrate Audit Report](https://github.com/XRC20-Swap/DEX-Audit/blob/main/DEX%20Audit%20Techrate.pdf)


# Get Started

Using anything new can be a bit of a challenge.  Do not worry though, we have created a range of guides to help you get comfortable with XSwap!

### Setting Up XSwap

Follow these guides to get everything set up to use XSwap, or feel free to jump to the guide you need if you have been doing okay but lost your way.

Create XDC web wallet [1](https://docs.xdcfoundation.org/xdc-tools/wallet/xdc-web-wallet)

Create XDCPay wallet [2](https://docs.xdcfoundation.org/xdc-tools/xdc-pay)

Create XDC android wallet [3](https://docs.xdcfoundation.org/xdc-tools/wallet/xdc-android-wallet)\
\
[Connect Your Wallet to XSwap](/xswap-protocol/get-started/create-a-wallet)

### Adding XSP to your wallet

Below are the XSwap Protocol details that you need when adding XSP to your wallet.

**XSP Contract Address for D'Cent wallet and XDCPay Users-** xdc36726235dAdbdb4658D33E62a249dCA7c4B2bC68

**XSP Contract Address for Metamask and XDC app wallet Users-** 0x36726235dAdbdb4658D33E62a249dCA7c4B2bC68

**Decimal -** 18

**Token Name -** XSP Token

**Symbol -** XSP

### Guides for using XSwap features

Once you have a wallet set up and connected to XSwap, feel free to check our other how to guides below.

[How to Swap](/xswap-protocol/products/v2-dex/swap)

[How to Add Liquidity](/xswap-protocol/products/v2-dex/swap/how-to-add-remove-liquidity/add-liquidity)

[How to Remove Liquidity](/xswap-protocol/products/v2-dex/swap/how-to-add-remove-liquidity/remove-liquidity)

[How Stake XSP](/xswap-protocol/products/v2-dex/xsp-staking)

[How To Farm ](/xswap-protocol/products/v2-dex/yield-farming/how-to-use-farms)

[How to Stake in Pools](/xswap-protocol/products/v2-dex/yield-farming/how-to-use-farms/pools-stake-xtt)

How to Purchase Presale Tokens (guide coming soon)

[How to Vote](https://gov.xspswap.finance)

Check the menu for more documentation on the range of XSwap features and services, including more advanced guides.

If you cannot find what you need, feel free to visit the [XSwap Telegram](https://t.me/real_XSwapProtocol) and ask for help there!

Note: You can create your own XRC20 Token [1](https://ruslanwing100.medium.com/how-to-create-an-xrc-20-token-the-simple-way-8431b7da7f89) [2](https://www.youtube.com/watch?v=0hsyCfcYrKI) [3](https://www.youtube.com/watch?v=thR-pTpF7Sw) for your new project then list it at XSwap DEX for your community in just a few steps.  You can also go to our [Launchpad](https://xdc.sale) to [create a token](https://docs.xspswap.finance/xswap-treasure-project/xdc.sale-tutorial/token-creator).


# Create A Wallet

To get started on XSwap Protocol, the first thing you'll need is to set up a wallet that supports Xinfin network (XDC). Wallets are available both on desktop computers and on smartphone devices. You'll need to choose the wallet that fits your needs best.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FCh2sCQ3ZwejmjE607dc5%2Fimage.png?alt=media&amp;token=53bf854d-069e-4beb-880c-c46f1b888fcb" alt=""><figcaption></figcaption></figure>

## Desktop wallet or Smartphone/Mobile ? <a href="#smartphone-mobile-or-desktop-wallet" id="smartphone-mobile-or-desktop-wallet"></a>

Mobile device wallets and desktop-based wallets have different strengths and weaknesses. Consider which fits your needs better to help decide which type of wallet to use.

<table><thead><tr><th width="362"></th><th width="175">Mobile</th><th width="159">Desktop</th></tr></thead><tbody><tr><td>Use anywhere</td><td>✅</td><td>➖</td></tr><tr><td>Easy to use</td><td>✅</td><td>➖</td></tr><tr><td>More secure</td><td>➖</td><td>✅</td></tr><tr><td>Accessibility friendly</td><td>➖</td><td>✅</td></tr><tr><td>Damage/loss/theft resistant</td><td>➖</td><td>✅</td></tr><tr><td>Power/connection outage resistant</td><td>✅</td><td>➖</td></tr></tbody></table>

## **Desktop/Web Browser wallets**

Desktop wallets are available on your home computer or laptop computer. Wallets on your computer can run as standalone applications, or as web browser plugins for popular browsers like Chrome and Firefox.

### Which desktop wallet should I choose?

This comparison table gives an overview of the most popular desktop wallets used with XSwap Protocol.

<table><thead><tr><th width="280">Items</th><th width="99">XDCPay</th><th width="117">Metamask</th><th width="96">Guarda</th><th>Infinity</th><th>Nabox</th></tr></thead><tbody><tr><td>XDC Network Support</td><td>✅</td><td><span data-gb-custom-inline data-tag="emoji" data-code="26a0">⚠️</span></td><td><span data-gb-custom-inline data-tag="emoji" data-code="26a0">⚠️</span></td><td>✅</td><td>✅</td></tr><tr><td>Built-in DApp browser</td><td>➖</td><td>➖</td><td>➖</td><td>✅</td><td>✅</td></tr><tr><td>Hardware wallet compatible</td><td>✅</td><td>✅</td><td>➖</td><td>➖</td><td>➖</td></tr><tr><td><p>Interact with XDC Blocksscan</p><p>(for advanced users!)</p></td><td>✅</td><td>✅</td><td>✅</td><td>✅</td><td>✅</td></tr></tbody></table>

&#x20;:warning: Requires some support

## Smartphone/mobile wallets

Smartphone/Mobile wallets allow you to access your crypto almost anywhere. Wallets are available on both Android and iOS devices.

### Which mobile wallet should I choose?

This comparison table gives an overview of the most popular mobile wallets used with XSwap Protocol.

<table><thead><tr><th width="206">Items</th><th width="162">XSwap Wallet (coming)</th><th width="114">D'cent </th><th>Metamask</th><th>Guarda</th></tr></thead><tbody><tr><td>XDC Network Support</td><td>✅</td><td>✅</td><td><span data-gb-custom-inline data-tag="emoji" data-code="26a0">⚠️</span></td><td><span data-gb-custom-inline data-tag="emoji" data-code="26a0">⚠️</span></td></tr><tr><td>Built-in DApp browser</td><td>✅</td><td>➖</td><td>➖</td><td>➖</td></tr><tr><td>Hardware wallet compatible</td><td>➖ </td><td>✅</td><td>➖</td><td>➖</td></tr><tr><td><p>Interact with XDC Blocksscan</p><p>(for advanced users!)</p></td><td>✅</td><td>✅</td><td>✅</td><td>✅</td></tr></tbody></table>

&#x20;:warning: Requires some support

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2F0CvEVF3nKWkDs6QQJntH%2Fimage.png?alt=media&amp;token=c5281f24-0e8c-42e7-87c3-3ce9e77bff27" alt=""><figcaption></figcaption></figure>


# Using XSwap without Centralized Exchanges

You don't need an account with any centralized exchanges to start using XSwap Protocol!

XSwap Protocol is a decentralized application. That means, unlike centralized platforms, you don't need to register an account to use it... you just need a crypto wallet. So how can you get crypto onto XSwap without using a centralized exchange?

In this tutorial, we're going to guide you through the process of using a "cross-chain bridge" to transfer your assets into your XDC wallet, and start using XSWAP.

### **Move your assets from other blockchains to XDC Network**

You can use [Wanchain bridge](https://bridge.wanchain.org/#/) to accomplish this task.

Pls click on the link below and learn how to bridge tokens.

[How To Bridge USDT from ETH to XDC Network Using Wanchain and Metamask](https://youtu.be/2cLv8aithoI)


# Connect your wallet to XSWAP

You have chosen your wallet and already got your XDC and XRC20 tokens. Now, you just need to connect your wallet to[ XSwap DEX](https://app.xspswap.finance/#/swap).

Below are examples of how to connect your wallet to XSwap DEX using some of the available wallets.

{% tabs %}
{% tab title="Metamask" %}

1. From the Metamask default page, click on the three bars on the upper left and click on browser.&#x20;

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FLnywUK9oLwTuUtChRg5w%2Fimage.png?alt=media\&token=7a4bd444-e66b-47b3-aa4c-855f4609741a)![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FeXLoM986YJjJS60ggu4w%2Fimage.png?alt=media\&token=37a71f07-1858-45c3-b3e9-3fd8fc40d863)

2\. Navigate Chainlist.org then choose XDC Mainnet and add to Metamask.

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FSmsl4RJrMBKeaytW46t0%2Fimage.png?alt=media\&token=f47136b3-65d9-4358-8656-645c5b764fbf)![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FZh1XnPp9uNDGw1N0l8Ej%2Fimage.png?alt=media\&token=7fac5c02-c2e7-44e2-82ea-10f0cb282080)

3\. Approve and switch network and you now have set up the XINFIN Network in your Metamask wallet.&#x20;

4\. Click on the three bars on the upper left side of your wallet.

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FD1ArtRt3sGE8RJR81tLW%2Fimage.png?alt=media\&token=849e69e9-3f47-470f-ac95-a8d5e6817ed0)![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FKiLeUIaqo4dbwcRZFWHK%2Fimage.png?alt=media\&token=1013dd50-3b9c-4afe-b357-6ac0fb208e5e)

5\. Click on browser.

6\. Type in app.xspswap.finance in the browser and hit Enter.

7\. Your wallet is now connected to the DEX.

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FMTJHswtLJ0chpj7mCVYz%2Fimage.png?alt=media\&token=2ba7f482-acac-4364-a320-59a2e29420b7)![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FQ74e0QlSWnrreLhfFjT7%2Fimage.png?alt=media\&token=585d5100-85a5-4b07-870b-a54fb16394e5)
{% endtab %}

{% tab title="XDC Pay" %}

1. You can connect your wallet to our[ DEX](https://app.xspswap.finance/#/swap) via [XDCPay](https://chrome.google.com/webstore/detail/xdcpay/bocpokimicclpaiekenaeelehdjllofo?hl=en-GB) at Chrome browser.  Please make sure that your Chrome browser has the latest update.
2. Click on Connect Wallet at the right corner.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2Fn8rtuyZnmLqvcfK4tNzF%2Fimage.png?alt=media&amp;token=16e4e380-2bb7-4866-a0be-2d7085476a73" alt=""><figcaption></figcaption></figure>

3\. Choose XDCPay.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2Fv3oVTYgkJGFQ1lYEqd3b%2Fimage.png?alt=media&amp;token=0bb58d85-1287-4469-8b35-2a900655a87b" alt=""><figcaption></figcaption></figure>

4\. Then your wallet will be connected.
{% endtab %}

{% tab title="D'Cent" %}

1. You can connect your wallet to our[ DEX](https://app.xspswap.finance/#/swap) via the D'Cent app in your mobile phone.  If you are using the biometric wallet, make sure you are connected to your D'cent device through bluetooth connection.
2. Go to Settings and click on Clear cache.

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2Fur7W13Cwvc7gkueWZdMq%2Fimage.png?alt=media\&token=b0c4029b-c02d-4dff-bbe1-b30f264f7e71)

3\. Go to Discovery and in browser, type in app.xspswap.finance. ![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2Frimr7RzWGctyYk9gYkko%2Fimage.png?alt=media\&token=5a6bddc8-f66f-40b8-bdd7-bc1419f3b686)

4\. Click on Connect Wallet and choose D'Cent.  If this doesn't work, Click on Metamask/XDCPay.  Confirm Connect.

5\. You have now connected your wallet.

&#x20;
{% endtab %}
{% endtabs %}

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FAmNkqfuIKl6ERFDQyoFu%2Fimage.png?alt=media&amp;token=6a5bb88a-6eef-4c6f-8caa-f1d9fb42f8e0" alt=""><figcaption></figcaption></figure>


# Bridge your tokens from ETH Blockchain

This bridge will help you merge your token from the Ethereum blockchain to the XDC Network chain in just a few steps. Then, you will be able to add your token in XSWAP.

![ETH XDC Bridge Coming Soon](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FlqL9dXDXKMLDM5Ea8NXd%2Findex.png?alt=media\&token=5c959993-7fd6-4fc8-a82d-86a8a416ad43)


# Contact Us

### Business Contacts

### [List a Token](/xswap-protocol/contact-us/business-partnerships)

### [Add Logo and Token to Suggested List](https://app.gitbook.com/o/-Mj4k6KP9x3eG_HQd33t/s/LAq3T3pGUJ5zAoOhsYrX/~/changes/PlANfe4O3BsUrxswO3Ib/contact-us/add-logo-and-token-to-suggested-list)

### Apply for Yield Farm or Pool  (coming soon)

### [Customer support](/xswap-protocol/contact-us/customer-support)


# Business Partnerships

## Farms and Pools

Farms incentivize users to provide liquidity for your trading pair by distributing XTT to your pair's LP Token holders.

Pools are a way of distributing your tokens to XRC-20 users who stake XTT in the pool.

These two products go hand-in-hand on XSwap Farm: when a project provides their tokens for a Pool, we'll also create a Farm. If you're looking to distribute tokens and incentivize liquidity, get in touch.

**​Apply to run a Farm or Pool (link to follow)​**

* Please don't email us to apply - we only respond to applications via the application form.&#x20;
* Please don't chase us for a response on your application. We have a constant backlog of quality projects reaching out to us.

### How long will it take to get a response?

We aim to respond to applications within a week, but due to a large number of requests, we’re unable to respond to every single applicant. If you don’t hear back from us within two weeks of applying, try reaching out to us on [Telegram](https://t.me/real_XSwapProtocol), with **the name of your project, your token ticker, and the date you applied.**

### What is a Core Farm?

A Core Farm is usually offered to projects who have shown excellent trading volumes on XSwap and have met the standards of our internal review process.

### How long will it take to get a response?

We aim to respond to applications within a week, but due to a large number of requests, we’re unable to respond to every single applicant. If you don’t hear back from us within two weeks of applying, try reaching out to us on[ Telegram](https://t.me/real_XSwapProtocol), with **the name of your project, your token ticker, and the date you applied.**

## Listing on the Exchange <a href="#exchange" id="exchange"></a>

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FXAUMgNKFGIST5KUk9S2w%2Fimage.png?alt=media&amp;token=b216ffd6-8318-4277-9912-2a5d45013079" alt=""><figcaption></figcaption></figure>

### How can I list my token on the exchange?

Anybody can "list" any XRC-20 network token on XSwap. You do not need to contact us or ask permission. You just need to [add liquidity to a liquidity pool](/xswap-protocol/products/v2-dex/swap/how-to-add-remove-liquidity/add-liquidity) - that's it. Traders can then trade your token by entering your token's contract address.

### How can I add my token to the default list?

The top 100 list is generated according to the highest volume for a specific period of time. As for the Extended list: projects hosting Farms will usually be added, and other tokens chosen by XSwap core team may also be added.

We do not take applications for these lists. Users can still add their token manually by entering their contract address.

### How can I add my token's logo/icon?

[Check this page](https://docs.xspswap.finance/xswap-protocol/listing-in-the-exchange/how-to-add-logo-and-token-to-suggested-list)

### Someone made a fake copy of my token! Can you block it?

Due to XSwap’s nature as an AMM-based DEX, we are not able to prevent the trading of any XRC-20 token. We recommend ensuring that your token contract is clearly visible and verifiable on your site and educate your users about how to safely trade your token.

## Something else

You can shoot us an email at <dex@xspswap.finance> if any of the topics above does not address any of your concerns or issues.

Please do not try to contact us via this email for customer support. This is not intended for customer support and we will not respond. Your best option for getting help with the product is via the [telegram community](https://t.me/real_XSwapProtocol).


# Add logo and token to suggested list

## ❗️VERY IMPORTANT❗️

1. Use png formatted images for logo.
2. Logo image size should be less than 20KB.
3. Do not forget to add commas after curly braces in JSON files. \[{...token info...}, {...another token info...}]
4. Insert correct address of token with uppercase letters.

   ❌:`0x4826634fe187ed3ffb64d77c5c1a67ba49cc03de`

   ✅:`0x4826634Fe187Ed3FFb64d77c5C1A67Ba49cc03dE`

### xdc-token-list

The most popular tokens on XDC Network

### How to add logo and token to suggested list?

* Fork [this repo](https://github.com/pro100skm/xdc-token-list) and create a new branch.
* In the `assets` folder, create a new directory and call it as your token address.
* Add logo.png file inside of that directory
* Open `mainnet.tokenlist.json` file and add your token info after the last token description under `"tokens"` key.
* Push your branch and create pull request to the master branch.

***You can also visit Github repo for the*** [***XDC Token List***](https://github.com/pro100skm/xdc-token-list)***.***

### Example of editing `mainnet.tokenlist.json` file

* Before:

```
...
"tokens": [
    ...,
    {
      "chainId": 50,
      "address": "0x951857744785E80e2De051c32EE7b25f9c458C42",
      "name": "Wrapped XDC",
      "symbol": "WXDC",
      "decimals": 18
    }
 ]
```

* After:

```
...
"tokens": [
    ...,
    {
      "chainId": 50,
      "address": "0x951857744785E80e2De051c32EE7b25f9c458C42",
      "name": "Wrapped XDC",
      "symbol": "WXDC",
      "decimals": 18
    },
    {
     "chainId": 50,
      "address": "your_token_address",
      "name": "YOUR TOKEN NAME",
      "symbol": "YOUR TOKEN SMBL",
      "decimals": 18
    }
 ]
```


# Customer Support

## There is NO customer support for XSwap Protocol.

If you're experiencing issues, try reaching out in[ Telegram](https://t.me/real_XSwapProtocol).

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FAwWIidfZI9yMdF2iXodW%2Fimage.png?alt=media&amp;token=5531e2fb-9a94-4531-a99e-2a6e4bc7c7d2" alt=""><figcaption></figcaption></figure>


# V2 DEX

The instructions for utilizing V2 DEX are outlined on the following pages.


# SWAP

XSwap is an Automated Market Maker (AMM), and the Exchange is the heart of XSwap. XSwap is the leading AMM on the XDC Blockchain, and as statistics tell, the most popular Decentralized Exchange (DEX) ever!

The XSwap Exchange offers several features that support decentralized trading:

### Swapping/Trading

XSwap lets users trade without the need to go through a Centralized Exchange. Everything you do on XSwap is routed directly to your own XDC wallet—no need to trust someone else with your coins!

### Liquidity Pools

You can only swap tokens on XSwap if there is enough liquidity for those tokens. If nobody has added much liquidity for the token or tokens you want to swap, it will be difficult, expensive, or impossible to do the swap.

When you provide liquidity, you will get Liquidity Pool (LP) tokens. The number of LP tokens you receive represents your portion of the LP.  This enables you to earn rewards   in the form of trading fees.  When someone trades, a portion of the transaction fee that the trader pays is added to the LP of the swap pair they traded on.  The fees collected gets distributed to the LP providers proportionally.

### Yield Farming

Yield farming lets users that are providing liquidity earn XTT rewards by locking their LP tokens into a smart contract. The incentive is to balance out the risk of [impermanent loss](https://academy.binance.com/en/articles/impermanent-loss-explained) that comes along with locking in your liquidity.


# Token Swaps

[Token swaps](https://app.xspswap.finance/#/swap) on XSwap are a simple way to trade one XRC-20 token for another via automated liquidity pools.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FF6Bgj02IUgNprU7LSa3H%2Fimage.png?alt=media&amp;token=016c6358-1eae-4722-b3ec-8a172d82a8df" alt=""><figcaption></figcaption></figure>

When you make a token swap (trade) on the exchange, you will pay a **0.3% trading fee**, which is broken down as follows:

**0.214%** - Returned to Liquidity Pools in the form of a fee reward for liquidity providers.

**0.086%** - Sent to the XSwap Treasury (devs & marketing).


# How to Trade

Trading on XSwap is very easy compared to most exchanges. You aren't going to be overwhelmed by charts or jargon, and calculations are all handled for you.

### Getting set up to trade

Before you can trade, you will need a XDC compatible wallet. You can learn how to get one [here](https://docs.xspswap.finance/xswap-protocol/get-started/create-a-wallet). You will also need to have some XRC-20 tokens to trade with.&#x20;

### Trading on the XSwap exchange

1\. Go to the exchange page[ here](https://app.xspswap.finance/swap).

2\. Unlock your XDC-compatible wallet by clicking **Connect Wallet** in the top right-hand corner. If you haven't yet connected your wallet to XSwap, you can view the guide to [here](https://docs.xspswap.finance/xswap-protocol/get-started/connect-your-wallet-to-xswap).

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FVclPdqKhz6vXWwWuMrcr%2Fimage.png?alt=media&amp;token=a29bc145-aa49-4beb-b247-8abddf9bd0ea" alt=""><figcaption></figcaption></figure>

3\. Choose the token you want to trade from the dropdown menu in the "From" section. The default setting is XDC.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FT7IqFl0tbedb91Dcr5PI%2Fimage.png?alt=media&amp;token=285db543-2966-4f2f-b8bb-9d0b72d08e0a" alt=""><figcaption></figcaption></figure>

Whichever token you choose, you will need to make sure you have some to trade with. Your balance is shown above the token dropdown menu.

4\. Choose the token you want to trade to in the "To" section as above. Next, type an amount for your "To" currency by clicking inside the input box.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FHfj0r9JgnMIVsRcc2Kqx%2Fimage.png?alt=media&amp;token=1a5e6614-2b52-456f-94a8-f27b746b4912" alt=""><figcaption></figcaption></figure>

You can type your "From" amount and have the "To" amount estimate automatically.

5\. Check the details, and click the **Swap** button.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FpBmJxBJFkUqyECAtOJ4a%2Fimage.png?alt=media&amp;token=fca2d1e9-7358-4794-a023-f450c2b41a0c" alt=""><figcaption></figcaption></figure>

6\. A window with more details will appear. Check the details are correct.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FCHpibMi5Pmo1hfn6duPJ%2Fimage.png?alt=media&amp;token=eed67f18-6c39-4351-9798-125bba02efb0" alt=""><figcaption></figcaption></figure>

When you are ready, click the **Confirm Swap** button. Your wallet will ask you to confirm the action.

7\. Done! You can click **View on Explorer** to see your transaction details in Xinfin Explorer.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2F6nCnviEVJB0GPq5DKfEj%2Fimage.png?alt=media&amp;token=78a07241-dfe2-4537-9c4a-cd0d91ae634d" alt=""><figcaption></figcaption></figure>

You can also watch this instructional video on how to swap tokens:  [Swapping Tokens in Mainnet](https://youtu.be/cjWPcbiPfc4).

## How come my transaction won't go through?

XSwap is a DeFi application such that it interacts with the wallet to complete on-chain transactions for swapping, creating LPs, staking in farms and pools, etc. &#x20;

### Gas Fees

As such, the first thing is to **make sure you have enough XDC to pay for the gas fee** of the on-chain transactions. Typically, gas fee fluctuates depending on the number of transactions in the queue, if there are more transactions, a higher gas fee may be required to push through the transaction.&#x20;

### Transaction Fees

If your swapping action still doesn't go through and it is displaying an error for you to revise the slippage -- you may want to check if the tokens you are trying to swap has **any fees and restrictions on transactions**.

Some tokens include a **transaction fee** in their contracts and usually these fees could be used for burning, funding a treasury of a fair launch project.

With the transaction fee, whether it is inclusive (a portion of the swap amount is sent elsewhere than your address so the output is less than expected for the estimated input) or exclusive (requiring an additional transfer from your address to send extra tokens so the input is more than expected for the estimated output), it affects the input and output amount that you agree for signing the transaction. In many cases, the transaction cannot meet the input and output requirements because of the tax.

### Swapping with Transaction Fees

Before you swap any tokens, make sure you have visited their website to understand if they have a transaction fee mechanism (or *tax* as many projects put it). If there is, make sure you set a slippage that is sufficient to accommodate the transaction fee -- e.g. if there is a transaction fee of 5%, your slippage will have to be set at at least 5% plus the normal trading slippage depending on your trading amount and the token's liquidity, say 5.5%-6%.&#x20;

In some extreme cases including some scams, some tokens even have a block on most or all transfers on chain, or only allowing certain addresses to sell, in such case it is impossible to swap the token successfully. Do learn about the token you are trying to swap and be aware of any fees and restrictions!


# Liquidity Pools

When you add your token to a Liquidity Pool you will receive Liquidity Provider (LP) tokens and share in the fees.

## LP Tokens

As an example, if you deposited **XSP** and **XDC** into a Liquidity Pool, you'd receive **XSP-XDC LP (XSP2)** tokens.

The number of LP tokens you receive represents your portion of the XSP-XDC Liquidity Pool.&#x20;

You can also redeem your funds at any time by removing your liquidity.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2Fg1sp0xnKM74Y2BGILFd5%2Fimage.png?alt=media&amp;token=8c2ad406-5b8a-448f-9409-501fb06a02e2" alt=""><figcaption></figcaption></figure>

## Liquidity Providers earn trading fees

Providing liquidity gives you a reward in the form of trading fees when people use your liquidity pool.&#x20;

Whenever someone trades on XSwap, the trader pays a 0.3% fee, **of which 0.214%** is added to the Liquidity Pool of the swap pair they traded on.

For example:

* There are 10 LP tokens representing 10 XSP and 10 XDC tokens.
* 1 LP token = 1 XSP + 1 XDC
* Someone trades 10 XSP for 10 XDC.
* Someone else trades 10 XDC for 10 XSP.
* The XSP/XDC liquidity pool now has 10.0214 XSP and 10.0214 XDC.
* Each LP token is now worth 1.00214 XSP + 1.00214 XDC.

To make being a liquidity provider even more worth your while, you can also put your LP tokens to work whipping up some fresh yield on the [XSWAP Farms](https://xdc.farm), while still earning your 0.214% trading fee reward.

## Impermanent Loss

Providing liquidity is not without risk, as you may be exposed to impermanent loss.

[“Simply put, impermanent loss is the difference between holding tokens in an AMM and holding them in your wallet.” - Nate Hindman](https://blog.bancor.network/beginners-guide-to-getting-rekt-by-impermanent-loss-7c9510cb2f22)


# How to Add/Remove Liquidity

"Liquidity" is central to how XSwap's Exchange works. You can add liquidity for any token pair by staking both through the Liquidity page.

In return for adding liquidity, you'll receive trading fees for that pair, and receive LP Tokens you can stake in[ XSwap Farm](https://xdc.farm) to earn XTT rewards!


# Create Pair

Warning: Create the pair carefully to fix the initial price of the token

Anyone can create a new pair and be the initial price fixer for traders.

How to create new pair for traders?

&#x20;1\.    Connect your wallet via XDCPay, Metamask or Wallet Connect and choose the wallet that you are using.

2\.    Click on Pool.

3\.    Then, click on Create a Pair.

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FBnkZSRiep5ii1ljC3eK9%2Fimage.png?alt=media\&token=aa626302-fe63-4811-8d16-02b26857e776)

&#x20; 4\.     Enter the first token for your pair, in this case XDC.  Then, click on Select a token.

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FKgSrj62KLVnOQxdAy6Cj%2Fimage.png?alt=media\&token=c415e690-01a5-4a4f-8260-2dd878dd538c)

&#x20;5\.     Click on the token if it is listed.&#x20;

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FZ9tWk9p4jTn2RQHeCZOK%2Fimage.png?alt=media\&token=283ee83d-2173-4be8-94de-6a4cc03e46fc)

6\.     If it is not listed, get the smart contract address and paste it in the space provided.  Click on Import.&#x20;

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FBl6SNTjBQyWwkv7inHan%2Fimage.png?alt=media\&token=98f65371-be67-49a8-bcc9-0e9c17e038b4)

&#x20;7\.     Input the number of the tokens needed for your pair to fix the price for traders.   Then, click on Approve SRX, submit or confirm the transaction.

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FWsAcsCj2uhpw2MR0MqZG%2Fimage.png?alt=media\&token=3a1ca0ec-f273-44b2-9438-08d3393c06a7)

&#x20;8\.     Now, click on Supply.&#x20;

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2F0mUyw34CPmATzfhSq87x%2Fimage.png?alt=media\&token=f08fe942-b41e-42b6-bdbf-0e8928505a49)

&#x20; 9\.     Click Confirm Supply, Submit or confirm transaction.

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FUGFptdBFuORiFsL9qVa8%2Fimage.png?alt=media\&token=700537d4-8bfd-4073-9603-2fa94337a961)

Note: If it’s your first time adding liquidity, the button will show Create Pool & Supply.

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FTR5tEhAD3Re4e8wy8hde%2Fimage.png?alt=media\&token=df13f36e-6a1f-4ef1-9564-a757d5f48364)

&#x20;10\.  Now, you can view the pool created.  You may add liquidity OR remove liquidity, if needed.

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FFDaroFJ4J2tnahXtpiJh%2Fimage.png?alt=media\&token=4b7cc6d4-56b4-4d3b-b5bb-78b83ee392d5)

&#x20;You can watch this instructional video on how to create a pair and add liquidity:  [Creating Pair and Adding Liquidity](https://youtu.be/UG9HPqc34z0)

Pls also watch this video if you want to add a XRC-20 token that is not listed in XSwap Protocol's dropdown menu: [Adding A New Token](https://youtu.be/igS_yAqyVa8)

&#x20;


# Add liquidity

To add liquidity, you can either:

* Click on Pool, then Add Liquidity, or
* Click on Manage, then Add

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FfNhXSqw91fysX8IHqO1e%2Fimage.png?alt=media\&token=62c4bb5b-7a84-4883-883e-e9e66cc18e33)

Go to Step 4 of [Create Pair](/xswap-protocol/products/v2-dex/swap/how-to-add-remove-liquidity/create-pair) and follow through.

After you add liquidity, you will receive **XSP2 tokens**.

&#x20;You can watch this instructional video on how to create a pair and add liquidity:  [Creating Pair and Adding Liquidity](https://youtu.be/UG9HPqc34z0)

Pls also watch this video if you want to add a XRC-20 token that is not listed in XSwap Protocol's dropdown menu: [Adding A New Token](https://youtu.be/igS_yAqyVa8)


# Remove liquidity

Click on Pool  then Manage.

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FKZeDqRsV0yqiyBipvXAC%2Fimage.png?alt=media\&token=0bed8f2a-0c53-4f93-ad6a-6b8275b7cb14)

Click on Remove.

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FfEdCFSwGu3v5KLjduWDE%2Fimage.png?alt=media\&token=d5679799-d923-4b99-ab0d-6936af7bc813)

Slide the circle to the percentage (ratio) that you wish to remove. Then, click on Remove.

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FUdK1VOvSl7th8udHYf32%2Fimage.png?alt=media\&token=fcdd1d2a-16e2-4d9b-965b-cbbe9a908f16)

Click Confirm, Submit and Close transaction.

![](https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FXlVGcHTwogZy2uigNtvO%2Fimage.png?alt=media\&token=531228c7-f7fd-40c2-9240-5d4ea735499c)

&#x20;You can also watch this instructional video on how to remove liquidity:  [Remove Liquidity](https://youtu.be/g5qDevQLCSU)


# XSP Staking

This page shows you how to stake XSP.

**XSP Staking Site** is located [here](https://app.xspswap.finance/xsp-staking).

**Staking Rules:**

* There is no minimum to stake per account.
* Maximum to stake per account 1,000,000 XSP
* Maximum staking contract 2,000,000,000 XSP&#x20;

**Features:**

* **6%** APR
* **Claim** your rewards and stay stake your XSP.
* **Reinvest** your rewards without unstaking.
* **Reinvest** your rewards even if you've staked the maximum XSP per account.
* **Stake & Unstake** at anytime we don't require locked epoch.

**How To Stake**

1. Go to the [XSP Staking Site](https://app.xspswap.finance/xsp-staking) and click on Connect Wallet.&#x20;

   <figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FfHflSWaQyhuEWWwNAjhp%2Fimage.png?alt=media&amp;token=dc6ab06f-6286-4493-ab50-bd55e97ddc22" alt=""><figcaption></figcaption></figure>

2. Enter the quantity of XSP that you want to stake.  Hit Max if you want to stake 1,000,000 XSP.  Click Allow XSwap Protocol to use your XSP.  (This process is only done time, the first time you initiated staking)&#x20;

   <figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FOtPFaAvKcsCa0EvwGNTs%2Fimage.png?alt=media&amp;token=9390858a-1769-4c42-9c55-7e270518695f" alt=""><figcaption></figcaption></figure>

3. Enter the spending cap for your XSP.  Click on Next then Approve.&#x20;

   <figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2Fz5VGvd4X0DZzs0LY1Egi%2Fimage.png?alt=media&amp;token=42330729-b036-4ff5-9566-77a97a26421b" alt=""><figcaption></figcaption></figure>

4. Click on Stake then Confirm.

   <figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FjKtNhkYcjFfOwyTHSCPY%2Fimage.png?alt=media&amp;token=78583c91-2aa7-422b-9750-8d02a0d56e72" alt=""><figcaption></figcaption></figure>

Congratulations!  You have now staked your XSP.

**Additional Instructions**

**You can add more XSP to stake as long as you haven't reached the max tokens to stake of 1,000,000 XSP.**

**Your rewards**

* Claim - your rewards are claimed and added to your wallet
* Reinvest - your claimed rewards will be reinvested to earn more XSP and rewards can be reinvested even if  you have reached the max tokens to stake.

**Your stake**

* Unstake - choose this option if you want to unstake your staked position and your rewards will automatically be added to your wallet as well.&#x20;

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FXneuPLwz3Oue4uvCip47%2Fimage.png?alt=media&amp;token=b7dec3d8-1674-4e47-8816-16aaa7e63d80" alt=""><figcaption></figcaption></figure>


# Yield Farming

The details below are for V2 Yield Farming.

***For V3 Yield Farming Instructions, click*** [***here.***](https://docs.xspswap.finance/v3/v3-dex/v3-farming)&#x20;

Yield Farms allow users to earn XTT while supporting XSwap DEX by staking LP Tokens, XSP2.

Check out our [How to Use Farms guide](/xswap-protocol/products/v2-dex/yield-farming/how-to-use-farms) to get started with farming.

**NOTE:**

Yield farming can give better rewards than Staking, but it comes with a risk of **Impermanent Loss**. It’s not as scary as it sounds, but it is worth learning about the concept before you get started.

Check out this great [article about Impermanent Loss](https://academy.binance.com/en/articles/impermanent-loss-explained) from Binance Academy to learn more.

## Reward calculations

Yield Farm APR calculations include both:

* **LP rewards APR** earned through providing liquidity and;
* **Farm base rewards APR** earned staking LP Tokens in the Farm.

Why? Because when you stake your LP Tokens, XSP2 in a farm to earn XTT, you're still providing liquidity to the liquidity pool, so you earn LP rewards as well!

So how do we calculate those figures?

### Calculating Farm Base Reward APR <a href="#calculating-farm-base-reward-apr" id="calculating-farm-base-reward-apr"></a>

The **Farm Base APR** is calculated according to the farm multiplier and the total amount of liquidity in the farm -- this is the amount of XTT distributed to the farm.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FUc0ErNU3gLz3NMMenfZD%2Fimage.png?alt=media&amp;token=744595ae-1f0e-423e-bfa5-5fae41de529e" alt=""><figcaption><p>Farm Base APR</p></figcaption></figure>

### Calculating LP Reward APR <a href="#calculating-lp-reward-apr" id="calculating-lp-reward-apr"></a>

On top of that, farmers receive **LP rewards** for providing liquidity. Here's an example of calculating **LP rewards**:

In the XTT-WXDC pair, we see these values:

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FAzCwNlYIhdVYqtHTDvnK%2Fimage.png?alt=media&amp;token=3daae7d4-7f65-4874-9f15-304beb39c7b7" alt=""><figcaption></figcaption></figure>

In the XTT-WXDC pair above, we see these values:

**Liquidity:** $364,510\
**Volume 24H:** $4,785\
**Volume 7D:** 40,491

* Calculate yearly fees
  * Use the 24H volume to calculate the **fee share** of liquidity providers in the pool (based on the 0.214% trading fee structure):\
    $4,785\*0.214/100 = **$10.234**
  * Next, use that **fee share** to estimate the projected **yearly fees** earned by the pool (based on the current 24h volume):\
    $10.234\*365 = **$3,737.56**
* We can now use the yearly fees to calculate the **LP rewards APR:** That's **yearly fees** divided by **liquidity:**\
  ($3,737.56/$364,510)\*100 = **1.025% LP reward APR**


# How To Use Farms

Yield Farming on XSwap Farm is easy!

Yield Farming in Farms is a great way to earn XTT rewards on [XSwap Farming Platform.](https://xdc.farm)

Unlike Pools, Farms require you to stake **two tokens** to get LP Tokens, **XSP2,** which you then stake in the Farm to earn rewards. This lets you earn XTT while still keeping a position in your other tokens!

**NOTE:**

Yield farming can give better rewards than Pools, but it comes with a risk of **Impermanent Loss**. It’s not as scary as it sounds, but it is worth learning about the concept before you get started.

Check out this great [article about Impermanent Loss ](https://academy.binance.com/en/articles/impermanent-loss-explained)from Binance Academy to learn more.

## **Getting prepared**

Yield farming takes a little work to get set up.

You’re going to need some "LP Tokens", **XSP2** to enter into a Farm with. Farms can only accept their own exact LP Token; for example, the XTT-XDC Farm will only accept XTT-XDC LP Tokens.

To get the exact LP Token, you'll need to provide liquidity for that trading pair. So to get XTT-XDC LP Tokens, you'll first have to provide liquidity for the XTT-XDC pair.

It may sound intimidating, but it's not too complicated. Let's go through step by step.

## **Finding your Farm**

Before you proceed, you'll want to choose a Farm that's right for you. Visit the [Farms page](https://xdc.farm/farms) and you’ll see a list of available Farms.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FaVxkX4HEwCmOUDqtx0Dm%2Fimage.png?alt=media&amp;token=f2b035a6-55ec-44d8-8192-31a1f9ea079f" alt=""><figcaption><p><strong>Farms Page</strong></p></figcaption></figure>

You can choose another sorting option if you like, such as by **APR** for the Farms with the highest reward rate currently.

When you find a Farm that you'd like to use, note down the trading pair, e.g. XTT-XDC in case you need it later.

## **Providing liquidity to get LP Tokens**

Now that you've found a Farm to stake in, you will need to add liquidity to get your LP Tokens.

1. Click on the row of the Farm you've chosen from the list. It will open to show more details.
2. On the left, you'll see some links. Click the **Get (your pair) LP** link.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FUvrI1amlCIvYjnfcnYtb%2Fimage.png?alt=media&amp;token=ea16ada8-cf1d-4477-996b-e3f4a4899e02" alt=""><figcaption></figcaption></figure>

## **Putting your LP Tokens into a Farm**

Now that you have your LP Tokens, you’re ready to start staking them in a Farm and earning rewards!

### **Putting your LP Tokens into the Farm**

1 - Go back to the [Farms page](https://xdc.farm/farms) and locate your Farm. Click anywhere on the row showing your pair. It will expand to show more details.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FSRpPaJaAFKu6W3kCFbph%2Fimage.png?alt=media&amp;token=f5f90492-09f4-4148-9b09-2ceca0cec2a2" alt=""><figcaption></figcaption></figure>

When you’re ready, click the **Enable** button and confirm your action in your wallet.

2 - After a short wait, the Enable button will change to **Stake LP**. Click it and a new window will appear.​

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FKsZOe0d2zhmAifWbFIbI%2Fimage.png?alt=media&amp;token=35827bef-d787-4191-9a76-abb4065ec78f" alt=""><figcaption></figcaption></figure>

3 - Type the amount of LP Tokens you would like to farm with into the field, or just click **Max** to use all of your LP Tokens.

​

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2F5f3dLDZ93TcCGipm4FKB%2Fimage.png?alt=media&amp;token=3c52e39b-06b6-482a-bac8-95ba6f1b619d" alt=""><figcaption></figcaption></figure>

4 - When you have the amount entered, the **Confirm** button will light up. Click it. Your wallet will ask you to confirm your action.

5 - After a short wait, the window will close, and you will see your new staked LP Token balance in the details.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FH0wAr5GajRcXTYbIonlb%2Fimage.png?alt=media&amp;token=be4f0d4e-9e15-45fe-9908-4b7d84e80d1b" alt=""><figcaption></figcaption></figure>

​

## **Adding or removing LP Tokens from a Farm**

You may decide you would like to add more LP Tokens to a Farm at a later date, or to take some out of a Farm. You can do this very easily whenever you'd like.

1\. Return to the[ Farms page](https://xdc.farm/farms). At the top of the page you'll see a **Staked only** toggle. Click the toggle.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FvjQtDFylS0uTw4sjABgt%2Fimage.png?alt=media&amp;token=8a99abdf-69d4-4714-afb3-8a9fd8b50294" alt=""><figcaption></figcaption></figure>

You should now only see the pairs you have LP Tokens in on the list, making it easier to find your Farm.

1\. Find the Farm you have LP Tokens in, and click the row to view details. You will see a **-** and **+** button on the right-hand side. Click **-** to remove LP Tokens, or **+** to add more LP Tokens.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2Fc1BpD5PP2ItYCdQsnvZx%2Fimage.png?alt=media&amp;token=f014bf94-6a62-4445-9ecc-9eff5c8ed8f7" alt=""><figcaption></figcaption></figure>

2\. A window will open that looks like the one you used earlier to first stake your LP Tokens. Like last time, type the amount you would like to unstake/stake, or click **Max** to remove/add all available LP Tokens.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FACxNpa8bhiYaC97Xe8wk%2Fimage.png?alt=media&amp;token=8f090e75-030f-4425-9744-a4fe96043bb2" alt=""><figcaption></figcaption></figure>

3\. Make sure your information is correct. When you are ready, click the **Confirm** button and confirm the action in your wallet.

4\. After a short wait, your new balance will show in the details section of your LP Token pair. If you've unstaked your LP Tokens, any unharvested rewards you had will automatically have been collected.

## **Collecting your farming rewards**

Farming will bring you XTT rewards over time. You can collect these rewards and use them to get more LP Tokens, stake them in Pools, or anything else you’d like.

## **Returning to your Farm to Harvest**

You can harvest your Farm and Pool rewards together from the Home page. If you'd like to collect your farming rewards only, follow along.

To collect your rewards, you’ll need to visit your chosen Farm and collect the XTT waiting for you.

1 - Return to the Farms page [here](https://xdc.farm/farms).

2 - Find the Farm you staked your LP Tokens in, and click the row to view details. You should see an estimate of your rewards under “XTT earned”.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FWP2HMM67L8GefsYT2KjT%2Fimage.png?alt=media&amp;token=cca95d79-884a-40f8-8292-b6a5942e8c8f" alt=""><figcaption></figcaption></figure>

3 - Click the **Harvest** button and confirm the action in your wallet. After a short wait, the XTT will be claimed to your wallet for you to use as you like.

## **How often should I harvest my rewards?**

How often you harvest your rewards is up to you, but it does help to remember that there is a small fee involved in harvesting.

You can see this fee in your wallet when confirming after clicking **Harvest**.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2F5Hyasjb3F6pYtyU51iHQ%2Fimage.png?alt=media&amp;token=a57a0d4e-ef8e-4c23-886a-2ee8cfdbe659" alt=""><figcaption></figcaption></figure>

This shows the fee for harvesting as it appears in your wallet.  Different wallets will show the information a little differently. Consider leaving your rewards to grow for a while so you pay fees less often.

And that's all there is to it! You may also want to look at [how to use Pools](/xswap-protocol/products/v2-dex/yield-farming/how-to-use-farms/pools-stake-xtt) to earn rewards.

Happy farming!


# Pools - Stake XTT

Pools are the simplest way to earn free tokens on XSwap Protocol.

## What are Pools?

Pools are the simplest way to earn free tokens on XSWAP.\
Stake XTT earn free tokens. It’s really that easy.

Some special pools let you stake other tokens besides XTT, too!

## Stake XTT, earn XTT!

XSwap offers one XTT Pool with two staking options: flexible staking or fixed-term staking.&#x20;

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FNaYAyy6QV7fzqQKKa7zS%2Fimage.png?alt=media&amp;token=dcb2fa3b-dcff-4be2-91db-70e7ce277e12" alt=""><figcaption><p>*Note that actual APY values will vary</p></figcaption></figure>

## What’s the difference between “Flexible” and “Fixed-Term” staking?

With both, you can simply stake your XTT tokens to earn more XTT tokens with no deposit fees—both staking options auto-compound XTT rewards for you. Flexible staking allows users to stake XTT and earn rewards with the ability to unstake whenever they please. Fixed-term staking allows users to maximize their yield and earn even more XTT by locking their staked XTT for a period of time they choose, earning a linearly boosted APY compared to flexible staking.

Flexible staking and fixed-term staking are both part of the same pool to allow users easy migration between the two staking options. **Because of this, you can only choose one staking option at a time.** More details about the differences are below.

### Flexible Staking

Stake your XTT and forget about it! The XTT you stake in this Pool will be automatically compounded (reinvested) for you, minus a small fee.

**If you have XTT staked in flexible staking**

* ✅ Add more XTT to flexible staking
* ✅ Harvest rewards any time
* ✅ Withdraw any time (fees apply for the first 72 hours, see below)
* ✅ Convert all staked XTT in flexible to fixed-term staking
* ❌ Add XTT to fixed-term staking if you have any XTT in flexible staking
* ❌ Convert part of the staked XTT in flexible to fixed-term staking

**Unstaking fee**

* **0.1%  if you unstake (withdraw) within 72 hours.**
* Only applies within 3 days of manually staking.
* After 3 days, you can unstake with **no fee**.
* The 3-day timer resets every time you manually stake more XTT in the pool.
* This fee only applies to manual unstaking: it does not apply to automatic compounding.

**Performance fee**

* **2%, subtracted automatically from each yield harvest**.
* For example, if the harvest were 1 XTT, then 0.02 XTT would be subtracted as the performance fee.

### Fixed-Term Staking

Stake your XTT for a fixed amount of time to maximize yields and receive additional benefits! The staked XTT will be automatically compounded during the entire lock duration.

* No performance fees
* The longer you lock, the higher the boost applied to the yield! Always offering a higher APY compared to flexible staking!
* XTT rewards are auto-compounded and will unlock, along with your staked XTT, when your lock duration expires
* Once staked in fixed-term staking, you cannot withdraw until the end of your lock duration.

**If you have XTT locked in fixed-term staking**

* ✅ Add more XTT to lock
* ✅ Extend lock period
* ❌ Add XTT to flexible staking
* ❌ Harvest rewards
* ❌ Withdraw before locked term ends


# How to use the Flexible Staking option

This page explains how to stake XTT with Flexible Staking option.

1\. Go to the Pools page [here](https://xdc.farm/pools).

2\. Choose the XTT Pool and click the **Enable** button. Your wallet will ask you to confirm the action.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FjbUspXNXORc8DR4QTi6M%2Fimage.png?alt=media&amp;token=1ebecc49-a0df-4e5f-a521-614858796292" alt=""><figcaption><p><em>Note that actual APY values will vary</em></p></figcaption></figure>

3\. The **Enable** button should now be replaced with **Flexible** and **Locked**. Click the button to bring up the staking menu.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FXlloadjVgWVrbp2Vkbm8%2Fimage.png?alt=media&amp;token=200df9e2-621b-453f-b045-8b49982a3e62" alt=""><figcaption><p><em>Note that actual APY values will vary</em></p></figcaption></figure>

4\. For Flexible Staking simply press **Flexible**, which will present a new window, enter the amount of XTT you wish to stake, click **Confirm** and confirm the transaction in your wallet.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FqcYL5pQBayOlN2gdTbKy%2FUntitled%20design%20(4).png?alt=media&amp;token=8405c2bb-98f9-4158-a7c2-a6e3ba65d2f4" alt=""><figcaption></figcaption></figure>

Want to convert your flexible staking to fixed-term staking to earn more XTT? Simply click **Convert to Lock** and choose how long you want to lock your XTT.&#x20;

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FvUMHCUPUZk42BODu6dPD%2Fimage.png?alt=media&amp;token=9962de51-85b5-4692-8d40-24b1d7a849b4" alt=""><figcaption><p><em>Note that actual APY values will vary</em></p></figcaption></figure>

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2Fche8GuqaiqcM66QY7GmH%2Fimage.png?alt=media&amp;token=1578ae8b-786f-4f1b-8ff1-420a27510d8c" alt=""><figcaption><p><em>Note that actual APY values will vary</em></p></figcaption></figure>


# How to use the Fixed-Term Staking option

This page explains how to stake in the Pool with the Fixed-Term Staking option.

1\. Go to the Pools page [here](https://xdc.farm/pools).

2\. Choose the XTT Pool and click the **Enable** button. Your wallet will ask you to confirm the action.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FYYqWSIIG8yTmdDrbq8dZ%2Fimage.png?alt=media&amp;token=db815882-27e5-4912-a033-4b2a4e2c8f03" alt=""><figcaption><p>Note that actual APY values will vary</p></figcaption></figure>

3\. The **Enable** button should now be replaced with **Flexible** and **Locked**. Click the button to bring up the staking menu.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FGGE4fh6cs0edx2jqKBNv%2Fimage.png?alt=media&amp;token=c9182a10-d8d7-4d34-8ed0-b9f18bb0b946" alt=""><figcaption><p>Note that actual APY values will vary</p></figcaption></figure>

4\. For Fixed-Term Staking simply press **Locked**, which will present you with a new window, enter the amount of XTT you wish to stake and for how long you want to lock your XTT for.

Below that, you will find a summary of your position, including APY, lock duration, and unlock date and time. Double-check to make sure you are okay with the lock duration and amount staked, click **Confirm** and confirm the transaction in your wallet.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2F80dTmITaVRFCPYN45h7v%2Fimage.png?alt=media&amp;token=e8d14a59-baad-4564-a6af-80a0f1722282" alt=""><figcaption><p>Note that actual APY values will vary</p></figcaption></figure>

Pls note that we are still refining our UI.

## Extending your lock staking duration

Changed your mind during the lock staking duration? No problem. You can always extend the time of your locked XTT by simply clicking "Extend" and choose how much time you want to add on top of the **initial lock duration**. Remember, the longer you lock, the higher your yield will be boosted. The maximum locking duration is 52 weeks.

A user's new extended lock duration = initial lock duration + added duration

**Example:**

A user staked 57.62 XTT in fixed-term staking with an initial lock duration of 1 week on 17th Oct 2022.

On 19th Oct 2022 (5 days until the user's XTT unlocks), the user decides they want to add 1 more week to their lock duration.

1\. Navigate to the XTT Pool and click **Extend**.

&#x20;

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2F4ojdJPRcCb5quBdoA8v0%2Fimage.png?alt=media&amp;token=bcd7f1e8-59a3-4561-bcfb-e22036052ea9" alt=""><figcaption><p>Note that actual APY values will vary.</p></figcaption></figure>

2\. Select the duration you would like to add (1 week in this example).\
\
Note that your new lock duration will equal your initial lock duration of 1 week plus the added 1 week for a new lock duration of 2 weeks.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FbROsNWKv5L0OMFu8s18h%2Fimage.png?alt=media&amp;token=50829ed1-1b4f-4441-aa91-653b4971d981" alt=""><figcaption><p>Note that actual APY values will vary</p></figcaption></figure>

3\. Double-check to make sure you are okay with the new extended lock duration and click **Confirm**.

Please note that you can not shorten the locking period nor withdraw your XTT prematurely.

## Adding more XTT to your lock

You can easily do that by renewing your fixed-term staking position. Simply click "Add XTT" and choose how much XTT you want to deposit.

Please note that adding more XTT to an existing lock resets your staking term based on the remaining lock duration, essentially “renewing” your fixed-term staking position. This results in a lower yield boost because your new lock duration is lower than your initial lock duration.

**Example:**

A user staked 58.5451 XTT in fixed-term staking with an initial lock duration of 1 week on 17th October 2022.\
\
Then the user decides they want to add 17.56 XTT to locked balance.

1\. Navigate to the XTT Pool and click **Add XTT**.

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FFcoIHJa9vpKMEhoSEsYp%2Fimage.png?alt=media&amp;token=e0d151a1-fcec-41cb-8a3f-1c540b234d6b" alt=""><figcaption></figcaption></figure>

2\. Select the amount of XTT you would like to add to your locked balance (for this example, we are adding 17.56 XTT). Note that your yield boost is the same because it is calculated using the same lock duration of 1 week.  &#x20;

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2F2GCgZIFrZ4n7YSa8X721%2Fimage.png?alt=media&amp;token=1bc6c961-cec9-4125-97da-51b243bd7373" alt=""><figcaption></figcaption></figure>

2.1. Alternatively, users can check the box next to "Renew and extend your lock to keep similar benefits." to maintain a similar yield boost setting the lock duration equal to the initial lock duration (in this example, 1 week).

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FQQKBavCexgxaOXzdxpDX%2Fimage.png?alt=media&amp;token=a5ac59ff-9bfb-45fa-a727-dc656f810350" alt=""><figcaption></figcaption></figure>

3\. Double-check to make sure you are okay with the added XTT amount and the lock duration and click **Confirm**.


# XTT Pool FAQ

## FAQ

### What lock duration can we choose?

You can choose from 1-52 weeks. What do you prefer?

### What variables affect the XTT Pool APYs (Flexible and Fixed-Term Staking options)?

Since flexible staking and fixed-term staking options are part of the same pool, the following variables affect the APY of both:

* Total XTT staked in flexible staking and fixed-term staking (the sum of both). The more XTT staked, the lower the APY.
* Total locked XTT in fixed-term staking. The more XTT locked means more yield boosts, resulting in fewer XTT rewards for others (especially flexible staking).
* The average lock duration of all XTT locked in fixed-term staking. If the average lock duration increases, APY will decrease.

### Can I harvest the rewards during the locked period?

No. You can harvest the rewards only when the locked duration is ended. This is based on the yield/return we are providing as well as the technical implementations.

### Can I extend the lock duration?

Yes. Extending the lock duration adds more time to your **initial lock duration**. When choosing to extend your lock duration, note:

New extended lock duration = initial lock duration + added duration

### Can I remove my XTT from Fixed-Term staking via contract if I change my mind?

No. Your XTT cannot be removed or withdrawn from fixed-term staking at any point in time until your lock duration ends and your XTT is unlocked.

### What is the "XTT Locked" amount?

The "XTT Locked" amount is a user's initial locked XTT balance plus XTT rewards to date.&#x20;

XTT Locked = Initial locked XTT balance + XTT rewards

When adding more XTT to fixed-term staking, the "XTT to be locked" amount is the user's initial locked XTT balance, XTT rewards to date, and the XTT being added.

### Can the Fixed-Term Staking XTT pool APY change after I lock my XTT?

Yes, the fixed-term staking XTT pool APY is variable. The fixed-term staking XTT pool APY is not fixed and is dependent on:

* Total XTT staked in the XTT pool (the sum of both Flexible + Fixed-Term Staking).
* The average lock duration of all XTT locked in fixed-term staking.
* A yield boost (similar to a multiplier) calculated from a user's initial lock duration. The longer you lock your XTT, the higher the yield boost.

For example, if you lock your XTT for 52 weeks, your yield boost will be larger than if you lock your XTT for 26 weeks. The yield boost increases linearly the longer you lock your XTT.

### Can I use both the Flexible Staking XTT pool and the Fixed-Term Staking XTT pool at the same time?

No. As mentioned above in the "What’s the difference" section, both options are part of the same, single pool. You currently can **never** have XTT in both fixed-term and flexible staking.

We have multiple solutions coming in the future to allow users to use both flexible staking and fixed-term staking at the same time, but for now, you can choose only one of them.

### Is there a fee for converting Flexible Staked XTT to Fixed-Term Staked XTT?

No. There are no additional fees for moving XTT from flexible staking to fixed-term staking, only network fees.

### What happens at the end of the lock duration? What is "After Burning"?

When your fixed-term staking period ends, and your XTT unlocks, you have 7 days to complete one of two options:

* Lock your XTT to begin a new fixed-term staking period\
  or
* Convert your staked XTT to flexible staking (no 72-hour withdrawal fee).

During these 7 days, you will still earn XTT.

After 7 days, if you have not done one of the two options, your staked XTT will enter what is called "After Burning". With "After Burning", your XTT rewards will start to be sent to burn. The % of XTT rewards being sent to burn will linearly increase in the 180 days "After Burning" period until it reaches 100%, which means all the XTT rewards are burnt.

So, to avoid missing out on XTT rewards, we recommend starting a new fixed-term staking period or converting your XTT to flexible staking at the end of your lock staking period.

### **I can't find the Pool I was staking in!**

You should be able to find the Pool under the “Finished” tab on the Pools page.&#x20;

By selecting “Staked Only”, it will make it easier to find your assets.

### **Why did my earned tokens go to zero after staking/unstaking?**

Don’t worry! They’re in your wallet already.

Whenever you stake or unstake from a Pool or farm, your earned tokens get harvested and sent to your wallet at the same time.

### **Where does the rewards from Pools come from?**

There are two main types of Pools.

1. Stake XTT, earn XTT.
2. Stake XTT, earn other tokens.&#x20;

The rewards for the "Stake XTT, earn XTT" Pools come from the XTT emissions. Each block, a number of XTT tokens are allocated as rewards for these pools.

The rewards for the "Stake XTT, earn other tokens" type are provided by the project teams who sponsor a Pool.


# V3 DEX


# XSwap Treasure Project

Click on the link below to find out more.

<https://docs.xspswap.finance/xswap-treasure-project>


# Analytics

Analytics is a tool that enables the user to check the metrics of the tokens and liquidity pools in XSWAP DEX.&#x20;

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FXVDWiMfKKXvM756QnR3F%2Fimage.png?alt=media&amp;token=83e3d405-37cc-4364-9974-811964dfd345" alt=""><figcaption><p>V2 Analytics</p></figcaption></figure>

Click [here](https://analytics.xspswap.finance) to view XSWAP's V2 DEX native analytics site.

<div data-full-width="false"><figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FI13zS4U7bQliPvwX3FV1%2Fimage.png?alt=media&amp;token=89f46e14-dbcf-4c1f-9e09-562d1b08766d" alt=""><figcaption><p>V3 DEX Analytics</p></figcaption></figure></div>

Click [`here`](https://info.xspswap.finance/#/) to view V3 DEX Analytics.


# XSwap Wallet

<figure><img src="https://3850697944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLAq3T3pGUJ5zAoOhsYrX%2Fuploads%2FBDzT3WKZGyf09s1msArY%2Fwallet.png?alt=media&amp;token=d67b77f4-8c85-4bd2-845b-bd5a7abcd806" alt=""><figcaption></figcaption></figure>

{% embed url="<https://www.youtube.com/watch?feature=youtu.be&v=bVbDD5UoqZ8>" %}

The XSwap Wallet is the best crypto wallet to store, earn and grow your XRC20 tokens – it is a non-custodial Defi wallet where you own your crypto and your private keys.  It allows users to experience a more simplified approach of connecting to various dApps in the XDC Network.

You can safely store your XRC20 tokens in a highly secure environment.

It gives the user the ability to interact with various distributed apps.  In the main screen, user can send and receive funds, and monitor their tokens.  Through the web browser, users can connect to dApps, with XSwap Protocol AMM DEX, staking, launchpad, farming and governance platforms as defaults, to stake, swap, add liquidity pools, farm LP pools and tokens and access the launchpad and governance platform.   XSwap wallet also comes with Wallet Connect which allows the user to easily connect their wallet to dApps and Web3 apps by scanning a QR code.

#### DECENTRALIZED

Your funds are completely decentralized when you use XSwap wallet to store your tokens or manage your accounts.   You have full control of your crypto with private keys.

#### CONVENIENT

XSwap Wallet features a multi-wallet function wherein you can have multiple wallets under Manage Wallet. You can import your existing wallet for the first time using your 12 word seed phrase and any succeeding wallets can be imported using your private keys.  You can also create more wallets under this option.  You can easily connect to XSwap DEX to swap, add liquidity or farm your XRC20 tokens, XSwap Staking platform to stake XSP, XSwap Launchpad to invest in new tokens in the XDC Network,  XSwap Farms to stake LP tokens or XTT to earn rewards or to XSwap Governance to exercise your right to vote.  You also have the ability to connect to some other dApps aside from XSwap through the web browser.

#### SECURE

Your private keys are encrypted locally on your device protected by PIN security to access application.  Your app wallet has its own password protection.\
You can secure your wallet using fingerprint option if your device supports it.

#### FLEXIBLE

Send and receive XRC20 tokens across wallets at faster transaction speed and low transaction fees.&#x20;

#### SIMPLE

Our simple and user-friendly interface helps you navigate through your wallet.

#### INTEGRATED WITH WALLET CONNECT

Explore other DeFi protocols by scanning the QR code with WalletConnect inside the XSwap wallet.

#### XDC APOTHEM NETWORK

Perform test transactions on the Testnet blockchain without the risk of losing your real fun.

####

#### Download XSwap Wallet now:

#### [Android](https://play.google.com/store/apps/details?id=com.finance.xspswap)

[**iOS Apple**](< https://apps.apple.com/us/app/xswap-wallet/id1665489721>)


# Governance

The focal point of most DeFi projects nowadays is the presence of the governance tokens. They are regarded as the basic foundation of all things decentralized. Developers will not be able to take pride in saying that they have built a truly decentralized platform which is better than centralized exchanges (CEX) in the absence of these tokens.

In a bid to become a fully decentralized exchange in the **XDC blockchain**, **XSwap Protocol** has already released their governance token, **XSP**. They have also just launched their governance platform. This is in line with the team’s plan to promote inclusivity and to enable their token holders to have a voice in the platform’s future. Token holders will now have a say on how the project will be run by just holding, staking or farming **XSP**.

**XSwap** is ultimately governed by its community through forum discussions, and whenever appropriate, voting on proposals held on **XSwap Governance.**

Only team members can post proposals on the **XSP Governance.**

It is important to note that once a governance proposal has been created by the Core team, any tokens moved to another wallet are no longer counted in the votation. This eliminates the possibility of someone from moving tokens from wallet to another to gain more votes. Each XSP token is equivalent to 1 vote and you can choose 1 option from the selection provided. The selection that gets the highest votes after the close of the votation wins.

Please check out **XSwap’s Governance** platform at [**https://gov.xspswap.finance**](https://gov.xspswap.finance/) .

Also, please watch the video on how you can exercise your right to vote in governance in XSwap Protocol -  [How to Vote in Governance](https://youtu.be/9hk2pYZGTlM).

Your count votes. Be a part in shaping the future of **XSwap Protocol.**


# Responsible Risk Disclosure Policy

&#x20;

This document provides you with information about the risks associated with investment products in which you may invest through the services provided to you by XSwap Protocol.

XSwap is a decentralized peer-to-peer protocol that people can use to create liquidity and trade XRC-20 tokens. There are 2 versions of XSwap Protocol DEX, V2 & V3, which are made up of free, public, open-source or source-available software including a set of smart contracts that are deployed on the XDC Blockchain. Your use of the XSwap Protocol involves various risks, including, but not limited to, losses while digital assets are being supplied to the XSwap Protocol and losses due to the fluctuation of prices of tokens in a trading pair or liquidity pool. Before using the XSwap Protocol, you should review the relevant documentation to make sure you understand how the XSwap Protocol works. You are responsible for doing your own diligence on those interfaces to understand the fees and risks they present.

Cryptocurrency is a digital representation of value that functions as a medium of exchange, a unit of account, or a store of value, but it does not have legal tender status. Cryptocurrencies are sometimes exchanged for FIAT currencies around the world, but they are not generally backed or supported by any government or central bank. Their value is completely derived by market forces of supply and demand, and they are more volatile than traditional currencies. The value of cryptocurrency may be derived from the continued willingness of market participants to exchange fiat currency for cryptocurrency, which may result in the potential for permanent and total loss of value of a particular cryptocurrency should the market for that cryptocurrency disappear.

**Regulatory Landscape**

Cryptocurrencies currently face an uncertain regulatory landscape in many jurisdictions. In addition, many cryptocurrency derivatives are regulated by the provisions of national and supra-national (i.e. EU) securities legislation; moreover, some state securities regulators have cautioned that many initial coin offerings are likely to fall within the definition of a security and subject to their respective securities laws. One or more jurisdictions may, in the future, adopt laws, regulations or directives that affect cryptocurrency networks and their users. Such laws, regulations or directives may impact the price of cryptocurrencies and their acceptance by users, merchants and service providers.

Legislative and regulatory changes or actions at the state, federal, or international level may adversely affect the use, transfer, exchange, and value of cryptocurrency.

Purchasing cryptocurrencies comes with a number of risks, including volatile market price swings or flash crashes, market manipulation, and cybersecurity risks. In addition, cryptocurrency markets and exchanges are not regulated with the same controls or customer protections available in equity, option, futures, or foreign exchange investing. There is no assurance that a person who accepts a cryptocurrency as payment today will continue to do so in the future.

Investors should conduct extensive research into the legitimacy of each individual cryptocurrency, including its platform, before investing. The features, functions, characteristics, operation, use and other properties of the specific cryptocurrency may be complex, technical, or difficult to understand or evaluate. The cryptocurrency may be vulnerable to attacks on the security, integrity or operation, including attacks using computing power sufficient to overwhelm the normal operation of the cryptocurrency’s blockchain or other underlying technology. Some cryptocurrency transactions will be deemed to be made when recorded on a public ledger, which is not necessarily the date or time that a transaction may have been initiated.

Cryptocurrency trading requires knowledge of cryptocurrency markets. In attempting to profit through cryptocurrency trading you must compete with traders worldwide. You should have appropriate knowledge and experience before engaging in substantial cryptocurrency trading.

Any individual cryptocurrency may change or otherwise cease to operate as expected due to changes made to its underlying technology, changes made using its underlying technology, or changes resulting from an attack. These changes may include, without limitation, a "fork," a "rollback," an "airdrop," or a "bootstrap." Such changes may dilute the value of an existing cryptocurrency position and/or distribute the value of an existing cryptocurrency position to another cryptocurrency.

**Blockchain Risks**

Since blockchain is an independent public peer-to peer network and is not controlled in any way or manner by XSwap Protocol, and we shall not be responsible for any failure and/or mistake and/or error and/or breach which shall occur in the blockchain ecosystem or in any other networks in which the XSwap Protocol Token may be used and/or traded. You will be bound and subject to any change and/or amendments in the blockchain system and subject to any applicable law which may apply to the blockchain. We make no representation or warranty of any kind, express or implied, statutory or otherwise, regarding the blockchain functionality nor for any breach of security in the blockchain.

**Technology**&#x20;

The relatively new and rapidly evolving technology underlying cryptocurrencies introduces unique risks. For example, a unique private key is required to access, use or transfer a cryptocurrency on a blockchain or distributed ledger. The loss, theft or destruction of a private key may result in an irreversible loss of cryptocurrency associated with this private key. The ability to participate in forks could also have implications for investors. For example, a market participant holding a cryptocurrency position through a cryptocurrency exchange may be adversely impacted if the exchange does not allow its customers to participate in a fork that creates a new product.&#x20;

The security of the XSwap Protocol ecosystem, and associated core components, is a top priority for XSwap Protocol. Our Proof of Stake network is secured by the already proven blockchain ecosystem technology and provides valuable services for business or private use. Our mission is to become a layer of trust for digital financial systems at internet scale, and the highest level of security is a mandatory prerequisite.

The security researcher community regularly makes valuable contributions to the security of organizations and the broader Internet, and XSwap Protocol recognizes that fostering a close relationship with the community will help improve the security of the XSwap Protocol ecosystem. So, if you have information about a vulnerability in the XSwap Protocol ecosystem and associated components, we want to hear from you.

**Cybersecurity**

The cybersecurity risks of cryptocurrencies and related “wallets” or spot exchanges include hacking vulnerabilities and a risk that publicly distributed ledgers may not be immutable. A cybersecurity event could result in a substantial, immediate and irreversible loss for market participants that trade cryptocurrencies. Even a minor cybersecurity event in a cryptocurrency is likely to result in downward price pressure on that product and potentially other cryptocurrencies.&#x20;

**Access risks**

There are a series of inherent risks with the use of the mobile and/or web-based trading technology such as latency in the prices provided, and other issues that are a result of connectivity (including, without limitation, the use of mobile networks). Prices displayed on the Trading Platform are solely an indication of the executable rates and may not reflect the actual executed or executable price of an order.

The Platform may utilize public communication network circuits for the transmission of messages. XSwap Protocol shall not be liable for any and all circumstances in which you experience a delay in price quotation or an inability to trade caused by network transmission problems or restrictions or any other problems outside our direct control, which include but are not limited to the strength of the mobile signal, network latency, or any other issues that may arise between you and any internet service provider, phone service provider or any other service provider. Please note further that some of the features available on the Trading Platform may not be available on any mobile application.

Future XSwap Protocol applications may require Users to download and install updates to the application or to their device’s operating system as such updates are made available. Failure to do so might lead to certain parts of the Services (including trading functions) becoming inaccessible to Members until such update has been successfully downloaded and installed. Performance issues and security risks may arise if XSwap Protocol mobile applications are used on devices with customized or otherwise non-standard operating software or as a result of other software installed on such devices.

**Reporting a Security Issue**

In case of any security issue is identified, you are required to send us an email to:  <legal@xspswap.finance>.

What to include:

·         Well-written reports in English will have a higher chance of being accepted

·         Reports that include proof of concept code will be more likely to be accepted

·         Reports that include only crash dumps or another automated tool output will most likely not be accepted

·         Reports that include products & services that are out of scope (see the Scope section below) will not be considered

·         Include how you found the bug, the impact, and any potential remediation

·         Any plans for public disclosure

What you can expect from us:

·         A timely response to your email (within 2 business days).

·         An open dialog to discuss issues.

·         Credit after the vulnerability has been validated and fixed.

**Coordinated Responsible Disclosure Policy**

We ask security researchers to keep vulnerabilities and communications around vulnerability submissions private and confidential until a patch is developed to protect the XSwap Protocol Token and its users.

Please do:

·         Allow the XSwap Protocol team a reasonable amount of time address security vulnerabilities

·         Avoid exploiting any vulnerabilities that you discover

·         Demonstrate good faith by not disrupting or degrading XSwap Protocol services, products & data

XSwap Protocol pledges not to initiate legal action against researchers as long as they adhere to this policy.

**Responsible Disclosure Process**

1\.      Once a security report is received, the XSwap Protocol team verifies the issue and establishes the potential threat

2\.      Patches to address the issues will be prepared and tested

3\.      We update the token technology right away

**Out of scope**

·         Scam & phishing attempts involving XSwap Protocol services

·         Lost or compromised secret phrases, keystore files or private keys

·         Physical vulnerabilities

·         Social Engineering attacks

·         Functional, UI, and UX bugs such as spelling mistakes

·         Descriptive error messages

·         HTTP error codes/pages

**Project risk**

AS DESCRIBED IN THE XSWAP PROTOCOL LICENSES, THE XSWAP PROTOCOL IS PROVIDED "AS IS", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND. Although XSwap Labs developed much of the initial code for the XSwap Protocol, it does not provide, own, or control the XSwap Protocol, which is run by smart contracts deployed on the XDC blockchain. Upgrades and modifications to the protocol are managed in a community-driven way by holders of the XSP governance token. No developer or entity involved in creating the XSwap Protocol will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of, the XSwap Protocol, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.

**Contact Us**

Get in touch with us at <legal@xspswap.finance> whether you want to submit an issue, a recommendation or have security related topics to bring up, we’re happy to hear from you.

In order to protect the XSwap Protocol ecosystem, we request that you not post or share any information about a potential vulnerability in any public setting until we have researched, responded to, and addressed the reported vulnerability and informed partners if needed.

&#x20;


# General Terms and Conditions

for Access and Use of the XSwap Protocol Platform

&#x20;

PLEASE READ CAREFULLY! THIS DOCUMENT REPRESENTS THE LEGAL BINDING BETWEEN XSWAP PROTOCOL AND THE USER. WE INVITE YOU TO READ THESE TERMS & CONDITIONS BEFORE USING THE PROVIDED SERVICES. PLEASE, ALSO CHECK OUR RISK POLICY THAT, MUTUALLY WITH THIS LEGAL DOCUMENT, REPRESENT THE SET OF LEGAL CLAUSES APPLIED TO THE USE OF OUR WEBSITE, PLATFORM, PRODUCTS AND SERVICES.

&#x20;

**Disclaimer**

To the maximum extent permitted by applicable law, we exclude all representations, warranties and conditions relating to our website and the use of our website. Nothing in this disclaimer will:

\-          limit or exclude the Service Provider’s liability for misinterpretation of the information presented on the website;

\-          limit any of the Service Provider’s liabilities in any way that is not permitted under applicable law;

Our Crypto Services carry a high level of knowledge and risk, and can result in losses. The high level of risk means our Crypto Services is not suitable for everyone. If you are in any doubt, you should seek independent advice.

By submitting an application to request information or to initiate a commercial relationship with us, you confirm:

·         that you have read the Disclaimer and all the documents supplied to you in connection with our Services and that you fully agree to them;

·         that you understand and agree that our relationship may be amended from time to time, in which case you automatically agree to such modifications;

&#x20;

**General Provisions**

The website is privately owned and operated. Throughout the site, the terms “we”, “us”, and “our” refer to the Owner of the platform. The Owner offers this website, including all information, tools and services available from this website to you, the User, conditioned upon your acceptance of all the provisions stated here.

By visiting our website and/ or purchasing a Service from us, you engage in our “Service” and agree to be bound by the following Terms and Conditions (“Terms and Conditions”, “Terms”). In case you do not agree with the clauses of the present document, please stop using the Services.

Any new features or tools which are added to the current line of Services shall also be subject to the Terms and Conditions. You can review the most current version of the document at any time on this page.

**1. INTRODUCTION**

1.1. Contracting Parties

**The Owner** of the platform - as service provider,

and

"**The** **User**" - any legal or private entity which benefits of any of our Services at <https://xspswap.finance>.

1.2. Representations

**Authority and Capacity**. The parties and their legal representatives guarantee that they have the authority and capacity to enter into this agreement.

**Enforceability**. This agreement constitutes a legal, valid, and binding obligation, enforceable against the parties according to its terms.&#x20;

1.3. Definitions

**"Visitor"** means any person who visits the websites but does not connect with a compatible wallet.

**"User**" means the person or legal entity that connects with a compatible wallet and makes transactions on the platform;

**"Service"** means any of the services described on our website at any given time, which are made available through the website, third party platform or directly to select collaborators and users, and subject to this agreement;

**"Swap"** means the contract under which the User transacts a cryptocurrency token for another cryptocurrency token on our platform;

1.4. Website Accuracy

Although we intend to provide accurate and timely information on the website, it may not always be entirely accurate, complete or current and may also include technical inaccuracies or typographical errors.

In an effort to continuously provide you with as complete and accurate information as possible, information may, to the extent permitted by applicable law, be changed or updated from time to time without notice, including without limitation information regarding our policies, products and services. Accordingly, you should verify all information before relying on it, and all decisions based on information contained on the website are your sole responsibility and we shall have no liability for such decisions.

Links to third party materials (including without limitation any websites) may be provided as a convenience but are not controlled by us. You acknowledge and agree that we are not responsible for any aspect of the information, content, or services contained in any such third-party materials accessible or linked to from the website.

1.5. Eligibility

To be eligible to use any of the Services, the User must either be legally incorporated, or at least 18 years old, and reside in a country (or an area) in which the relevant Services are accessible. Please note that our Services are not available in every country.

For the purposes of these Terms, applicable laws and regulations shall include the rules of any relevant regulatory authority or exchange and any applicable laws, rules, procedures, guidance, codes, standards and regulations (including, without limitation, accounting rules and anti-money laundering or sanctions legislation) in force from time to time.

**2. THE RIGHT TO USE THE SERVICES**

2.1. Procedures

In order to avail access to our product and services, the User is required to connect to the platform with a compatible wallet. The User is responsible for keeping any wallet security information safe and secure. The User must not disclose these details to any person who is not authorized.

The User receives a limited, terminable, non-exclusive and non-transferable right of access and use the Services, in accordance with the terms of this Agreement, exclusively for the purposes for which the Services are construed.

2.2. Description of Services

XSwap Protocol is a decentralized project that created a token named XSP, to be used as a utility token within the ecosystem, purposed for creating a speculative trading opportunity with the help of an extremely active community that loves our mission, thus trying to increase the standard of living within society.

2.3. User’s obligations

The User accepts the full responsibility for all activities connected its compliance with the terms of this document. It is at all times the User who is a party to this agreement with us, and who has all rights and obligations set out in this document.

The User accepts that we may contact the User through different means of communication, and provide general marketing information or other information about the Services.

2.4. Usage

Registration process. To use our Services, the Visitor will need connect a compatible wallet, and accept these Terms and Conditions. The User agrees and represents that they will use our Services only for themselves or on behalf of the legal entity they are representing, and not on behalf of any third party. The User is fully responsible for all activity that occurs under their wallet.

Access to third parties. If the User grants express permission to a third party to access or connect to the wallet(s), either through the third party's product or service or through the website, the User acknowledges that granting permission to a third party to take specific actions on their behalf does not relieve them of any of their responsibilities under this Agreement. The User is fully responsible for all acts or omissions of any third party with access to the wallet(s) and any action of such third party shall be considered to be an action authorized by the User. Furthermore, the User acknowledges and agrees that they will not hold us responsible for, and will indemnify us from, any liability arising out of or related to any act or omission of any third party with access to the connected wallet(s).

2.5. Prohibited usage

Under all circumstances, the User is strictly prohibited from permitting, assisting or enabling any individual or entity not authorized from accessing or using the Services. In the event that the Services has been accessed by an unauthorized user, the User is solely responsible for such act. Notwithstanding any provision to the contrary, nothing in this document shall be construed, interpreted or applied to impose responsibility or liability on us or our affiliates for any and all activities arising from the authorized or unauthorized access of the Services.

The following activities are prohibited and will result in immediate Services suspension or cancellation of the Services without the possibility of a refund, but with the possibility for us to impose supplementary fees and/or pursue civil remedies, in case of legal damages:

\-          Fostering or promotion of illegal, abusive, or irresponsible behavior;

\-          Misuse of system resources, such as programs that consume excessive network capacity, CPU cycles, or disk IO, disruption or interference of any data system or network, unauthorized collection or use of e-mail addresses, screen names or other identifiers, use of the Services to distribute software that covertly gathers information about a user or covertly transmits information about the user, monitoring data or traffic on any network or system without the express authorization of the owner of the system or network;

\-          Spam, Unsolicited Bulk Email, Forged Email, Phishing Email, etc;

\-          Transmission, distribution, or storage of any information, data or material that is protected by copyright, trademark, trade secret, or any other intellectual property rights. Any usage that prompts the receipt of abuse complaints pertaining to violation of any international copyright law will be discontinued;

\-          Access to other computers or networks without authorization;

\-          Providing false data on any contract or application: including fraudulent use of credit card numbers;

\-          Any conduct that is likely to result in retaliation against our network or website, including engaging in behavior that results in any server being the target of a DoS attack;

\-          Any attempt to probe, scan, penetrate or test the vulnerability of our systems or networks, or to breach our security or authentication measures, whether by passive or intrusive techniques;

\-          Any other activities viewed as illegal or harmful by any jurisdiction;

&#x20;

**5. INTELLECTUAL PROPERTY RIGHTS**

&#x20;

The User hereby acknowledges and agree that we own the intellectual property rights for the website, the logo, the platform, the crypto project in its entirety and the underlying Token, for all present and future materials and services, including, but without limitation to, copyrights, patents, trademarks, and trade secrets, works, images, pictures, dialogues, music, sounds, videos, documents, drawings, figures, logos and any other material published on <https://xspswap.finance/>, including menus, web pages, graphics, colors, schemes, tools, the website's fonts and design, diagrams, layouts, methods, processes, functions and software which are part of <https://xspswap.finance/>, and are protected by copyright and by all other intellectual property rights. The User's possession, access, and use of our services do not transfer to the User, or to any third party, any rights, title, or interest in or to such intellectual property rights.

&#x20;

The User must not, without prior written our consent:

\-           Republish material from <https://xspswap.finance/>

\-           Sell, rent or sub-license material from <https://xspswap.finance/>

\-           Reproduce, duplicate or copy material from <https://xspswap.finance/>

\-           Redistribute content from <https://xspswap.finance/>

&#x20;

**6. SECURITY**

&#x20;

**Confidentiality.** User’s privacy is important to us and we will abide by our Privacy Policy. We reserve the right to modify our Privacy Policy from time to time.

&#x20;

**Processing of personal data.** The use of the platform does not collect and process User’s personal data.

&#x20;

We are the Controller and Processor, in accordance with the international data protection regulations. The User can find all the relevant legal details relating to data Protection in the Privacy Policy section of the website.

&#x20;

**7. SPECIAL DISCLAIMER**

&#x20;

OUR SERVICES ARE PROVIDED "AS IS." WE MAKE NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, WHETHER EXPRESSED, IMPLIED, STATUTORY OR OTHERWISE REGARDING THE PLATFORM’S SERVICES, INCLUDING ANY WARRANTY THAT THEY WILL BE UNINTERRUPTED, ERROR FREE OR FREE OF RISK OR ADVERSE ELEMENTS, OR THAT ANY CONTENT, INCLUDING THE CUSTOMER DATA, WILL BE SECURE OR NOT OTHERWISE LOST OR DAMAGED. EXCEPT TO THE EXTENT PROHIBITED BY LAW, WE DISCLAIM ALL WARRANTIES, INCLUDING ANY IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR QUIET ENJOYMENT, AND ANY WARRANTIES ARISING OUT OF ANY COURSE OF DEALING OR USAGE OF TRADE.

&#x20;

**8. LIMITATION OF LIABILITY.**

&#x20;

**Limitation of liability.**  If we are held responsible for paying damages to the User as a consequence of breaches of any of the obligations under this Agreement, such damages may in no event include compensation for indirect loss or damages of any kind which may arise as a result of, or in connection with, such breach. Indirect loss includes, but is not limited to, loss of profit of any kind, losses as a consequence of disrupted operations, loss of data, lost savings. Our liability under this Agreement is therefore limited to direct loss, unless otherwise set out in mandatory applicable law, for example, damages due to gross negligence or intent.

&#x20;

If standardized sanctions are agreed, these standardized sanctions shall be the sole and exclusive remedy for the matter and no other claims may be made based on the same situation.

&#x20;

Even though we will use appropriate care to ensure secure transmission of information between the User and the Services, the User recognizes that the Internet is an open system and that we cannot warrant that a third party cannot or will not intercept or alter data during the transmission. We take no responsibility for such unauthorized access to, use or alternation or publication or loss of data. Neither are we responsible for lack of availability of the Services when this is directly or indirectly caused by the User or by circumstances for which the User is responsible or the reconstruction of data regardless of cause.

&#x20;

**9. FORCE MAJEURE**

&#x20;

If the use and execution of the Services are wholly or partly prevented or materially impeded by circumstances beyond the parties’ control, both parties’ obligations are suspended for as long as the circumstances are relevant and as long as these circumstances last. Each party may, however, in accordance with section 10 of this Agreement, terminate the Agreement if the force majeure makes it particularly burdensome for that party to continue the Agreement.

&#x20;

In the event that law, rules or regulations applicable to the use or delivery of the Services is changed or new rules or regulations are adopted after the Services have been made available on the market and this prevents us from fulfilling the User’s instructions regarding processing of personal data or other obligations in this Agreement, and/or this requires full or partial termination of access to the Services for a limited or indefinite period of time, this shall be considered as a force majeure circumstance. We are in no way responsible for any such or other force majeure circumstance.

&#x20;

**10. TRANSFER OF SERVICES**

&#x20;

The User is not entitled to transfer all or part of the right to use the Services to another entity. We may fully or partially transfer its rights and obligations under the Agreement to subsidiaries or other companies within the same group, hereunder use these as sub-contractors, provided that this is done in such a manner that it is ensuring compliance with the obligations under all relevant data protection laws from the User’s perspective.

&#x20;

**11. COMPLAINTS**

&#x20;

The Company shall maintain effective and transparent procedures for the reasonable and prompt handling of complaints received from the User and shall keep a record of each complaint and the measures taken for its resolution or handling.

The Parties agree to make every reasonable effort for resolving any disputes between them

before commencing any litigation proceedings.

&#x20;

**12. GOVERNING LAW**

&#x20;

This Agreement is governed by and construed in accordance with all the applicable international laws. Exclusive jurisdiction and venue for any action arising under this Agreement are in the Courts of Justice from the headquarters of XSwap Protocol, and both parties hereby consent to such jurisdiction and venue for this purpose. In any action or proceeding to enforce or interpret this Agreement, the prevailing party will be entitled to recover from the other party its costs and expenses (including reasonable attorneys' fees) incurred in connection with such action or proceeding and enforcing any judgment or order obtained.

&#x20;

**13. ENTIRE AGREEMENT**

&#x20;

These Terms and Conditions, together with the Privacy Policy and the Risk Policies constitute the entire agreement between the parties concerning any level of contractual relationship.

No change, consent or waiver to this Agreement will be effective unless in writing and signed by the party against which enforcement is sought. Our failure to enforce its rights under this Agreement at any time for any period shall not be construed as a waiver of such rights. Unless expressly provided otherwise, each right and remedy in this Agreement is in addition to any other right or remedy, at law or in equity, and the exercise of one right or remedy will not be deemed a waiver of any other right or remedy.

&#x20;

**14. ACKNOWLEDGMENT OF TERMS**

&#x20;

The User acknowledges that they:

(a) have read this agreement prior to initiation of use of our Services;

(b) understand the terms of this agreement;

(c) have signed this agreement voluntarily requesting the use of our Products and Services;

&#x20;

IN WITNESS WHEREOF, the Parties have executed this Agreement.

&#x20;


# PRIVACY POLICY

Please read our Privacy Policy carefully as it explains the following:

*<mark style="color:purple;">**GENERAL**</mark>*

This Privacy Policy (referred to as the "Policy") elucidates the procedures by which XSwap Protocol LLC (“XSWAP”," the "Company," "we," "us," or "our") gathers, utilizes, and distributes data pertaining to the XSWAP’S web apps (app.xspswap.finance, v3.xspswap.finance, xdc.sale, xdc.farm), [www.xspswap.finance](http://www.xspswap.finance) website, XSWAP wallet and all associated properties, products, and services (collectively termed as the "Services"). Your engagement with the Services is contingent upon adherence to this Policy along with our [General Terms and Conditions.](https://docs.xspswap.finance/xswap-protocol/general-terms-and-conditions)

XSWAP maintains a strict policy of not collecting or storing personal data, such as names, addresses, dates of birth, email addresses, or IP addresses, in connection with your use of the Services. Similarly, we refrain from gathering identifiable data, including public on-chain data, and minimal off-chain data such as device specifications and browser versions.&#x20;

We do not initiate email communications with our users, ensuring there is no potential linkage between your email address and wallet address, IP address, or other personal information. However, in instances where users voluntarily email us, we do not utilize this data to link to their personal information.&#x20;

XSWAP is dedicated to continually exploring additional measures to enhance consumer privacy. Users are encouraged to utilize client-side privacy techniques and tools for added protection.&#x20;

Any significant changes to our privacy practices will be promptly reflected in an updated version of this privacy policy.&#x20;

Privacy holds a central position in all our endeavors at XSWAP, and transparency stands as a fundamental value we uphold. In line with this commitment, we strive to provide clear insight into the minimal data we gather. We do not maintain user accounts, nor do we collect and retain personal data, including names or internet protocol (“IP”) addresses. When engaging with the Services, we exclusively collect:&#x20;

Publicly-available blockchain data: Upon linking your non-custodial blockchain wallet to the Services, we capture and record your publicly-available blockchain address. This aids in understanding your utilization of the Services and scrutinizing your wallet for any previous illicit activities. Notably, blockchain addresses are publicly-accessible data that are neither generated nor allocated by us or any central authority, and in themselves do not serve as personal identifiers.

Information from tracking technologies: We do not access and gather data from mobile device IDs, cookies, web beacons, and similar technologies.&#x20;

Information from external sources: We may obtain data regarding your wallet address or transactions conducted through the Services from our service providers. This is essential to fulfill our legal obligations and to prevent the misuse of our Services for fraudulent or illicit activities.&#x20;

**Correspondence:** Any communication and information you share with us directly via email, customer support, social media platforms, or other support channels (like Twitter or Telegram), as well as your involvement in surveys or questionnaires, will be received and documented by us.&#x20;

**Information provided by you:** Any specific information you choose to provide us with (such as your email address) may be utilized for the purposes outlined at the time of submission. We will not attempt to link any information you provide to your wallet address, IP address, or other personal data. It's important to note that providing personal data is not mandatory to utilize our Services.

*<mark style="color:purple;">**How We Utilize Data**</mark>*

We employ the data we gather in alignment with your directives, including any pertinent terms outlined in our [General Terms and Conditions](https://docs.xspswap.finance/xswap-protocol/general-terms-and-conditions), and as mandated by law. The following purposes may guide our use of data:&#x20;

**Providing Services:** The data we collect aids in providing, maintaining, customizing, and enhancing our Services and their features.&#x20;

**Customer Support:** Information may be utilized to furnish customer support and address inquiries concerning the Services.&#x20;

**Safety and Security:** Data may be employed to safeguard against, investigate, and mitigate fraudulent, unauthorized, or illegal activities. Additionally, it may be utilized to address security risks, rectify potential issues like bugs, enforce agreements, and safeguard the interests of our users and XSwap.&#x20;

**Legal Compliance:** Information may be utilized as necessary to comply with applicable laws, regulations, and requests from regulators, government entities, and law enforcement agencies.&#x20;

**Aggregated Data:** Certain information may be utilized to compile aggregated data, enabling us to gain insights into user behavior and enhance user experience.&#x20;

*<mark style="color:purple;">**How We Share Data**</mark>*&#x20;

We may share or disclose the data we collect through the following means:&#x20;

**To Comply with Legal Obligations:** Data may be shared in the context of legal proceedings, compliance measures, and when compelled by legal procedures. Additionally, data may be shared to prevent harm to users, the Company, or others, and to enforce agreements and policies.&#x20;

**Safety and Security:** Data may be shared to address security concerns, prevent fraudulent activities, enforce agreements, and safeguard the interests of our users, XSWAP, and the ecosystem.&#x20;

**Business Changes:** In the event of mergers, acquisitions, bankruptcies, or other business transactions, data may be transferred to another entity.&#x20;

**With Your Consent:** Data may be shared with your consent or as otherwise permitted by applicable laws and regulations. We do not share your information with third parties for marketing purposes.&#x20;

*<mark style="color:purple;">**Third Party Cookies**</mark>*&#x20;

We do not utilize services provided by Google and other third parties that employ tracking technologies such as cookies, device IDs, and local Storage to gather information about your interactions with the Services. Moreover, you can opt out of data collection through these third-party services by following various methods, including adjusting browser settings and utilizing privacy plug-ins or browsers.&#x20;

<mark style="color:purple;">**Third-Party Links and Sites**</mark>&#x20;

Certain parts of the Services may integrate technologies operated by third parties, including links to external websites and services. These parties may independently collect information about you, and you can learn more about their data practices by reviewing their privacy policies.&#x20;

<mark style="color:purple;">**Security**</mark>&#x20;

We implement reasonable administrative, physical, and technical security measures to safeguard data. However, we cannot guarantee the absolute security of information transmitted over the internet. Users are responsible for their activity on the Services, including the security of their blockchain network addresses and cryptographic keys.&#x20;

<mark style="color:purple;">**Age Requirements**</mark>&#x20;

The Services are intended for a general audience and are not directed at children. We do not knowingly collect personal information from children under the age of 18. If you believe we have inadvertently collected personal information from a child, please contact us.&#x20;

*<mark style="color:purple;">**Policy Updates**</mark>*&#x20;

In the event of substantial changes to this Policy, we will notify you through the Services. However, your ongoing use of the Services implies that you periodically review this Policy and other Company terms, signifying your consent to them.&#x20;

*<mark style="color:purple;">**Get in Touch**</mark>*&#x20;

Should you have any inquiries regarding this Policy or our practices concerning the collection, usage, or sharing of your information, please reach out to us at <legal@xspswap.finance>


# XSwap Protocol Contracts

List of current XSwap Protocol smart contracts deployed on XSwap AMM DEX.

<table data-header-hidden><thead><tr><th width="260">Smart Contract</th><th>Address</th></tr></thead><tbody><tr><td><strong>SMART CONTRACT</strong></td><td><strong>ADDRESS</strong></td></tr><tr><td>$XSP Token</td><td><a href="https://xdc.blocksscan.io/address/xdc36726235dadbdb4658d33e62a249dca7c4b2bc68#transactions">xdc36726235dAdbdb4658D33E62a249dCA7c4B2bC68</a></td></tr><tr><td>$XTT Token</td><td><a href="https://xdc.blocksscan.io/address/xdc17476dc3eda45aD916cEAdDeA325B240A7FB259D#transactions">xdc17476dc3eda45aD916cEAdDeA325B240A7FB259D</a></td></tr><tr><td>Locker</td><td><a href="https://xdc.blocksscan.io/address/xdc8d88b4fae9bb421034f69d9f1ade5dfabdc095c7#transactions">xdc8d88B4FaE9bB421034F69D9f1aDE5DFabdc095c7</a></td></tr><tr><td>Apothem WXDC</td><td><a href="https://explorer.apothem.network/address/xdc2a5c77b016Df1b3b0AE4E79a68F8adF64Ee741ba#transactions">0x2a5c77b016Df1b3b0AE4E79a68F8adF64Ee741ba</a></td></tr><tr><td>Xinfin WXDC</td><td><a href="https://xdc.blocksscan.io/address/xdc951857744785E80e2De051c32EE7b25f9c458C42#transactions">0x951857744785E80e2De051c32EE7b25f9c458C42</a></td></tr><tr><td><strong>V2 DEX TESTNET</strong> </td><td></td></tr><tr><td>Apothem Router</td><td><a href="https://explorer.apothem.network/address/xdc3F11A24EB45d3c3737365b97A996949dA6c2EdDf#transactions">0x3F11A24EB45d3c3737365b97A996949dA6c2EdDf</a></td></tr><tr><td>Apothem Factory</td><td><a href="https://explorer.apothem.network/address/xdcCae66ac135d6489BDF5619Ae8F8f1e724765eb8f#transactions">0xCae66ac135d6489BDF5619Ae8F8f1e724765eb8f</a></td></tr><tr><td><strong>V2 DEX MAINNET</strong></td><td></td></tr><tr><td>Xinfin Factory</td><td><a href="https://xdc.blocksscan.io/address/xdc347d14b13a68457186b2450bb2a6c2fd7b38352f#transactions">0x347D14b13a68457186b2450bb2a6c2Fd7B38352f</a></td></tr><tr><td>Xinfin Router</td><td><a href="https://xdc.blocksscan.io/address/xdcf9c5E4f6E627201aB2d6FB6391239738Cf4bDcf9#transactions">0xf9c5E4f6E627201aB2d6FB6391239738Cf4bDcf9</a></td></tr><tr><td><strong>V3 DEX MAINNET</strong></td><td></td></tr><tr><td>UniversalRouter</td><td><a href="https://xdcscan.io/address/0xE1BcB1C502A545EE85A1881B95cDD46D394D2B2E">0xe1bcb1c502a545ee85a1881b95cdd46d394d2b2e</a></td></tr><tr><td>SwapRouter02</td><td><a href="https://xdcscan.io/address/0x3B9eDecC4286BA33eA6e27119C2A4Db99829839D">0x3b9edecc4286ba33ea6e27119c2a4db99829839d</a></td></tr><tr><td>V3SwapRouter</td><td><a href="https://xdcscan.io/address/0xeCF4ea7907e779b8A7D0F90CB95Fe06F43b610FB">0xecf4ea7907e779b8a7d0f90cb95fe06f43b610fb</a></td></tr></tbody></table>


# Audit

Our codes have been audited by Certik and Techrate.

#### Token&#x20;

{% embed url="<https://github.com/TechRate/Smart-Contract-Audits/blob/main/October/XSP%20Token.pdf>" %}

#### AMM DEX

{% embed url="<https://github.com/XRC20-Swap/DEX-Audit/blob/main/DEX%20Audit%20Techrate.pdf>" %}

{% embed url="<https://www.certik.com/projects/xswap-protocol>" %}


