> For the complete documentation index, see [llms.txt](https://documents.nonce.world/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documents.nonce.world/overview/noncex.md).

# 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
