# NonceX

**NonceX** is a decentralized exchange protocol (AMM) that allows users to swap tokens directly on-chain — with no centralized exchange, no intermediaries, and full transparency.

It runs on the **GEB Signet**, inspired by Uniswap’s design, and ensures secure, permissionless trading through smart contracts.

***

### Core Features

1. **Token Swap**
   * Instantly swap between any two tokens.
   * Uses an automated pricing formula based on pool reserves — no order book needed.
   * Example: `1 XMR = 1,470,000 NONCE` Swapping `1000 NONCE` gives approximately `0.00068 XMR`.
2. **Liquidity Provision (Add Liquidity)**
   * Deposit two tokens into a pool to earn trading fees.
   * Every trade incurs a **0.3% fee**, which is distributed to liquidity providers (LPs).
3. **Flash Swap**
   * Borrow tokens within a single transaction and return them before it ends — useful for arbitrage or complex strategies.
4. **On-chain Price Oracle**
   * Tracks a time-weighted average price (TWAP) to prevent short-term price manipulation.

***

### How to Use

#### 1. Connect Your Wallet

* Visit the NonceX DApp *(demo link)*
* Click **“Connect Wallet”**
* Select your Web3 wallet (e.g., MetaMask)

#### 2. Swap Tokens

1. Go to the **Swap** page.
2. Choose token pair (e.g., `From: NONCE`, `To: XMR`).
3. Enter the amount to swap.
4. Click **Swap**, then confirm the transaction in your wallet.

#### 3. Add Liquidity

1. Open the **Pool** page.
2. Select a token pair (e.g., NONCE/XMR).
3. Enter the token amounts to deposit.
4. Confirm the transaction to start earning fees.

#### 4. Remove Liquidity

1. Go to the **Pool** page.
2. Select your existing liquidity position.
3. Click **Remove**, enter the withdrawal amount, and confirm.

***

### Fees & Rewards

| Type            | Description                      |
| --------------- | -------------------------------- |
| **Trading Fee** | 0.3% per trade (paid by traders) |
| **LP Reward**   | 0.3% goes to liquidity providers |

***

### Summary

NonceX empowers everyone to:

* Swap tokens freely and instantly
* Earn fees by providing liquidity
* Trade in a completely decentralized, transparent way


---

# Agent Instructions: 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://documents.nonce.world/overview/noncex.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.
