> For the complete documentation index, see [llms.txt](https://docs.uprisinglabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uprisinglabs.io/games-and-products/potion-swap-dex.md).

# Potion Swap (DEX)

**Potion Swap** is a gaming-first decentralized exchange (DEX) on the [Somnia Blockchain](https://www.dreamcatalyst.io/), developed by Uprising Labs. Built with gamers in mind, Potion Swap blends high-performance DeFi with fun, gamified mechanics.

At its core, Potion Swap delivers **speed**, **deep liquidity**, and **near-zero fees**, making it an ideal platform for players and developers alike. Users earn potion ingredients through swap and liquidity activity, which can then be combined to unlock exclusive in-game rewards and experiences.

Potion Swap is built on the **Uniswap V3** codebase, ensuring battle-tested reliability. Importantly, we do **not modify the core contracts,** instead, we hook into emitted events to build secure and innovative experiences on top of the protocol without compromising contract integrity.


---

# 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://docs.uprisinglabs.io/games-and-products/potion-swap-dex.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.
