> For the complete documentation index, see [llms.txt](https://docs.piperx.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.piperx.xyz/user-guide/how-to-swap.md).

# How to Swap

1\. Visit [**https://app.piperx.xyz/**](https://app.piperx.xyz/) and click the "Connect Wallet" button. We support various wallets, including **MetaMask, OKX Wallet, Binance Wallet**, WalletConnect, and more. Please be very cautious if you're using a wallet not listed here. **Always double-check your wallet is set to the Story network before confirming any PiperX transaction.**

<figure><img src="/files/CeZHBSuHjA3Dfonpp9My" alt=""><figcaption><p>Wallet Option</p></figcaption></figure>

2. Choose your target asset and Enter the amount.

<figure><img src="/files/pTi0CnB3deo5ZENvaC6a" alt=""><figcaption><p>Swap Page</p></figcaption></figure>

<div align="center"><figure><img src="/files/QlBAzujUxjDJpPGZsHdJ" alt="" width="271"><figcaption><p>Select Token Page</p></figcaption></figure></div>

3. Set your **Slippage tolerance** and **Deadline** for this trade. In this example, we will use a 3% slippage tolerance and 5 min dealine.

<figure><img src="/files/kpzL4weGKvXYr4AXAEWA" alt="" width="563"><figcaption><p>Swap Setting</p></figcaption></figure>

4. After everything is set up, review information and click "Submit" button to proceed with this transaction and you will receive your target asset in a few seconds.

<figure><img src="/files/MwOTbQPrm3t8nPg0ZJJn" alt="" width="563"><figcaption><p>Review info and Click "Submit" if everything is good.</p></figcaption></figure>

<figure><img src="/files/t7SnGUfYmrFGzmAiQfep" alt="" width="375"><figcaption><p>Swap Progress</p></figcaption></figure>

<figure><img src="/files/e0gBxAQcj81xpUG6eaZR" alt="" width="375"><figcaption><p>Successful Swap</p></figcaption></figure>


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.piperx.xyz/user-guide/how-to-swap.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
