Documentation for GlidePool — autonomous DLMM liquidity agent platform on Base Mainnet.
- Overview
- Getting Started
- API Reference
- SDK Reference
- CLI Reference
- Agents
- x402 Payments
- On-Chain Contracts
GlidePool connects to Maverick V2 DLMM pools on Base Mainnet and runs autonomous liquidity agents powered by Claude Opus 4. Each agent:
- Reads pool state from Base Mainnet every 30 seconds via viem
- Runs an LLM analysis on each configured interval (default 60 seconds)
- Produces a recommendation: hold, rebalance, withdraw, add liquidity, or switch mode
- Surfaces signed transactions to the user for on-chain execution
The GlidePool server never holds private keys. All on-chain actions require the user to sign via their wallet.
Pool: A Maverick V2 DLMM pool on Base Mainnet identified by its contract address. Pools have token pairs, a fee rate, an active tick, and TVL.
Agent: A server-side process tied to a wallet address and a pool. The agent runs a Claude Opus 4 analysis loop and stores decisions (actions) in the database.
Action: A decision made by the agent LLM. Each action has a type (hold, rebalance, etc.), reasoning text, a structured recommendation with suggested bin ranges and risk level, and optionally a transaction hash after the user confirms on-chain.
x402: A micropayment standard where the API server returns HTTP 402 with payment details before serving a response. GlidePool uses this to gate the /api/advisor endpoint with a 0.05 USDC payment on Base.
| Contract | Address |
|---|---|
| Maverick V2 Factory | 0x0A7e848Aca42d879EF06507Fca0E7b33A0a63c1e |
| Maverick V2 PoolLens | 0x6A9EB38DE5D349Fe751E0aDb4c0D9D391f94cc8D |
| Maverick V2 Router | 0x5eDEd0d7E76C563FF081Ca01D9d12D6B404Df527 |
| Maverick V2 Position NFT | 0x116193c58B40D50687c0433B2aa0cC4AE00bC32c |
| USDC (Base) | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 |
| WETH (Base) | 0x4200000000000000000000000000000000000006 |
| Package | Description |
|---|---|
@glide-pool/sdk |
JavaScript SDK for the GlidePool API |
@glide-pool/cli |
Terminal CLI |
MIT