> For the complete documentation index, see [llms.txt](https://cruxdecussata.gitbook.io/xchain-introduction/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cruxdecussata.gitbook.io/xchain-introduction/overview/xswap-protocol/xswap-guideline.md).

# XSwap Guideline

### 🔐 Key Characteristics of XSwap

* **Non-custodial**\
  XSwap never takes control of user funds. Users send assets directly to one-time use protocol-generated deposit addresses.
* **Private & Secure**\
  No wallet connection, no signing, and minimal on-chain footprint beyond the swap execution itself.

***

### 🔁 How to Use XSwap

#### Step 1: Access XSwap

Enter XSwap directly from the XChain main page.

No wallet connection or authentication is required.

***

#### Step 2: Select Cross-Chain Pair

Choose the asset and chain you want to swap **from**, and the asset and chain you want to swap **to**.

* **Core swaps:**\
  Performance oriented focus on best execution time for both same chain and cross chain swaps
* **Stealth swaps:**\
  Hardened privacy that protects the sender and user addresses during same chain and cross chain swaps, while still providing fast execution times

Once the pair is selected, XSwap will automatically search for an available route.

* Once the pairs are selected, XSwap will automatically search for an available route.
* The refresh button (top-right) can be used to refresh or update the routing search

***

#### Step 3: Enter Swap Amount

Input the amount you wish to swap.

> 💰 **Minimum swap amount:**\
> The minimum amount per swap is **$25 USD equivalent**.

***

#### Step 4: Enter Receiving Address

Enter the **destination wallet address** where you want the swapped funds to be received.

Example:

* If swapping **ETH → Polygon**, you must enter your **Polygon wallet address**
* If swapping **BSC → Ethereum**, enter your **Ethereum wallet address**

This ensures funds are delivered to the correct chain.<br>

⚠️ **Important:**\
Do **not** use a **CEX (centralized exchange) deposit address** as the receiving address.\
Always use a **self-custody wallet address** that you control.

***

#### Step 5: Start Swap

If a valid route exists, click **Start Swap**.

You will be redirected to a new page showing your **unique deposit address**.

***

#### Step 6: Send Funds to Deposit Address

Send the exact swap amount to the provided deposit address.

Example:

* For an ETH-based swap of 0.15 ETH, send exactly 0.15 ETH to the deposit address shown on the status page
* At the bottom-left of the XSwap interface, there is a note icon. Clicking it provides users with a record of previous swaps.
  * This feature allows users to:

    View swap history from the past seven days\
    Retrieve swaps using a Track ID
  * Re-check swap status if:\
    The browser crashed\
    The page refreshed\
    The swap appears to stall

Once the funds are sent, the swap process begins automatically.

***

### ⏳ Swap Status Flow

After funds are sent, the swap will progress through the following stages:

1. **Pending Deposit**
2. **Awaiting Confirmations**
3. **Exchanging**
4. **Completed**

<figure><img src="/files/U0as7IgxDWkIOlrSx8kW" alt=""><figcaption></figcaption></figure>

Funds will be delivered to the destination wallet once the swap is completed.

***

### 🕒 Swap History & Tracking

At the bottom-left of the XSwap interface, there is a **note icon**.

This feature allows users to:

* View **past swap history**
* Retrieve swaps using a **Track ID**
* Re-check swap status if:
  * The browser crashed
  * The page refreshed
  * The swap appeared to hang

Users can simply enter the Track ID to pull up previous swap information.

***

### ℹ️ Important Notes

* Transactions are non-reversible
* Ensure the receiving address matches the destination chain
* If no route is found, the swap cannot be executed
* ⚠️ **Never use a CEX deposit address** as the receiving address; only use self-custody wallets you control

***

### 🛡️ Shield Swap (Coming Soon)

**Shield Swap** is an upcoming privacy-enhanced swap mode within **XSwap**.

It leverages **Zero-Knowledge (ZK)** and **Post-Quantum Cryptography (PQC)** technologies to deliver the **strongest and most advanced privacy layer** for both **same-chain and cross-chain swaps**.

Shield Swap is designed for users who require maximum confidentiality without compromising execution or flexibility.

### 🚀 Summary

XSwap provides a seamless way to perform cross-chain swaps without wallet connections, gas management, or custodial risk. By combining **non-custodial design**, **gasless execution**, and **privacy-first architecture**, XSwap delivers a simple and secure cross-chain experience within XChain.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cruxdecussata.gitbook.io/xchain-introduction/overview/xswap-protocol/xswap-guideline.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
