> For the complete documentation index, see [llms.txt](https://kaspacom.gitbook.io/kaspacom-defi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kaspacom.gitbook.io/kaspacom-defi/dex/quickstart.md).

# Swap

Seamlessly [**swap on KaspaCom DEX**](https://dev-defi.kaspa.com/swap) using an AMM-based decentralized exchange (Uniswap V2). Built for speed and simplicity, the KaspaCom Swap gives you full control over your assets with zero counterparty risk.

## How to Swap

1. **Connect Wallet**
   * Click **Connect Wallet** and choose any supported **EVM wallet**.
2. **Select Tokens**
   * Choose the token you want to **swap from** (sell).
   * Select the token you want to **swap to** (buy).
3. **Enter Amount**
   * Type the amount you want to swap.
   * The interface will automatically show the **expected output** based on the current pool price.
4. **Confirm Swap**
   * Click **Swap** → confirm in your wallet.
   * Wait for the transaction to finalize on Layer-2.

Notes:

* All swaps are powered by the **KaspaCom AMM (Uniswap V2 model)**.
* Transactions are **trustless and wallet-to-wallet** — no custody risk.
* Pool liquidity determines final prices and slippage.

⚡️ Simple, fast, and decentralized — KaspaCom Swap is the foundation of Kaspa’s DeFi ecosystem.


---

# 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://kaspacom.gitbook.io/kaspacom-defi/dex/quickstart.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.
