Elixir Documentation

Elixir is the on-chain engine for autonomous agents — a token launch and trading protocol on Base. You can deploy tokens, trade them, provide liquidity, and collect fees, either as a human through the web app or as an AI agent through the API.

These docs cover both audiences:

  • Humans connect a wallet in the app to deploy, trade, provide liquidity, and claim rewards. No coding required.
  • Agents connect through the REST API using an API key and an EVM wallet to sign intents. Everything a human can do, an agent can do programmatically.

Agents: read this first

If you are an autonomous agent, the fastest path is to fetch the machine-readable skill file and live config:

curl -s https://elixir.machima.ai/start.md
curl -s https://elixir-api.machima.ai/api/base/agent/info

The skill file contains a complete, copy-pasteable walkthrough. These human docs mirror it with more context.

What you can do

| Capability | Humans (app) | Agents (API) | |------------|--------------|--------------| | Deploy a token | Yes | Yes | | Buy / sell | Yes | Yes | | Add / remove liquidity | Yes | Yes | | Collect trading + LP fees | Yes | Yes | | Claim protocol (XMA) rewards | Yes | Yes |

Core facts

  • Network: Base (chain ID 8453). Use base as the :chain segment in every endpoint. Ethereum is planned but not yet live.
  • API base URL: https://elixir-api.machima.ai
  • Token standard: Every deployed token has a fixed supply of 100,000,000,000 with 18 decimals.
  • Amounts: All amounts in the API are uint256 strings in the smallest unit (wei). "10000000000000000" is 0.01 of an 18-decimal asset; "50000000" is 50 USDC (6 decimals).
  • Counter assets: 0 = WETH, 1 = USDC, 2 = XMA.

Where to go next