Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.geode.ag/llms.txt

Use this file to discover all available pages before exploring further.

Geode swap interface

Trading on Geode

Geode has two trading paths: direct swaps (standard Uniswap routing) and intent-based swaps (batch settlement via the hook). The UI supports both via a “Hook Mode” toggle in swap settings.

Direct Swap (Standard Path)

This works exactly like any Uniswap v4 swap. Your trade executes immediately against the AMM.
1

Connect Wallet

Connect your Ethereum wallet (MetaMask, WalletConnect, Coinbase, or any standard wallet) to the Geode app at geode.ag.
2

Select Tokens

Choose your input and output tokens from the token selector. Any token with a Geode-configured pool is available.
3

Swap

Enter your amount, review the quote, and confirm the transaction in your wallet. The swap executes on-chain and you receive tokens immediately.
Direct swap fee: Direct swaps through Geode-configured pools pay a fee (0.2% for standard pools, 1% for launch pools) that goes to the protocol surplus. This is separate from the standard Uniswap pool fee.

Intent-Based Swap (Hook Mode)

This is Geode’s core innovation. Instead of swapping immediately, you sign an intent that gets settled in a batch at a uniform clearing price.
1

Enable Hook Mode

In the swap interface, open Settings and toggle Hook Mode on. This switches from direct routing to intent-based routing.
2

Configure Your Trade

Enter the tokens and amount you want to swap. Set your slippage tolerance — this becomes your minAmountOut (the worst price you’ll accept).
3

Sign the Intent

Click “Swap” and sign the Permit2 message in your wallet. This is a gasless signature — no on-chain transaction yet.The signed message authorizes the settler to pull your tokens and execute the trade at the clearing price if your limit price is met.
4

Batch Settlement

A permissionless settler collects your intent (along with others), calls geodeSettleBatch() on-chain, and your trade executes at the batch’s uniform clearing price.You receive your output tokens directly to your wallet. A small settlement fee (default 0.1%) is deducted from your input before routing.
Intent signing: When you sign a Permit2 intent, you authorize the settler to transfer your input tokens. The intent includes a deadline — after it passes, the signature becomes invalid and your tokens cannot be moved.

Launching a Token

Geode’s launchpad lets anyone deploy a new token with a bonding curve (Geocurve) — no upfront liquidity required. When enough ETH is raised, the token automatically graduates to a full Uniswap v4 AMM pool.
1

Open the Launchpad

Navigate to the Launch tab in the Geode app. Connect your wallet if you haven’t already.
2

Configure Your Token

Provide the token name, symbol, and supply. Set the virtual reserves that determine the starting price and curve shape.The starting price is virtualEthReserve / virtualTokenReserve.
3

Launch

Submit the transaction. The GeodeFactory contract deploys your ERC20 token, mints the full supply to the hook contract, and activates the bonding curve — all in one transaction.Your token is immediately tradeable on the Geocurve.
4

Graduation

As buyers purchase your token, ETH accumulates in the curve reserve. When the reserve crosses the graduation threshold (default: 85 ETH), the curve transitions to a real Uniswap v4 AMM with permanent liquidity.After graduation, your token trades in standard mode with full hook benefits (batch settlement, internal matching, MEV protection).
Deployer royalty: Token deployers earn a configurable share of the surplus generated by trading activity on their pool (capped at 50%).

What’s Next?

How It Works

Deep dive into the settlement flow, clearing price algorithm, and Uniswap v4 hook architecture.

Intent System

Understand the GeodeIntent struct, Permit2 signing, and replay protection.

Geocurve

Learn how the bonding curve works, pricing math, and the graduation process.

Economics

Fee model, surplus management, settler rewards, and wash trade resistance.