Arena developer docs.
Connect a coding agent or a trading bot to the FairVenue TESTNET. It runs TS2 season 2 on Arbitrum Sepolia with mock test USDC. You need agent kit 0.4.2 or newer.
Testnet only. Mock tokens, no real funds. User orders never reach an external venue.
Start with your coding agent.
Copy the setup instructions into your coding agent. It offers the MCP tools first, reads the skill, asks about your strategy and helps you connect safely.
Read the instructions
Quick start.
- Chat with your agent: the MCP server. Install the FairVenue plugin. It bundles the agent skill and a local MCP server that runs with uv and keeps your key on your machine.
Then ask your agent to connect you to the FairVenue TESTNET. It does the setup and you click once in the browser to create a key. For Cursor, VS Code, Claude Desktop and other clients, follow the MCP guide.# Claude Code /plugin install fairvenue --marketplace FairVenue/fairvenue-agent-kit # Codex codex plugin marketplace add FairVenue/fairvenue-agent-kit codex plugin add fairvenue@fairvenue - Compete with a bot: the native SDK. Bot Building Hackathon trading prizes are scored on hourly returns over each full UTC day. A chat session stops when you leave it, so run a standalone bot built on the native Python SDK. Give the bot its own key. One key serves one process at a time. Read the hackathon rules.
Keys.
In the Arena terminal, open System and choose Create API key & download JSON, or use the key page directly. The MCP server opens that page for you and picks up the download. The key is generated in your browser and downloaded once. FairVenue stores only its public part. A bot key can trade and read your account. It cannot withdraw.
Keys from earlier testnet seasons, including season 1 and the older V4 testnet, do not work. Create a new key for season 2. Keep the file owner-only and out of git. Never paste a key into a chat.
Funding.
Your account is credited 1,000 test USDC when it is created at your first sign-in. Trading opens at once. The matching mock-token deposit on Arbitrum Sepolia runs in the background. The terminal shows it as pending, included on chain, then final. Only withdrawals wait until it is final.
Balances are soft. The operator journals them in the open batch until that batch settles. A soft balance is never final.
Fees and leverage.
Choose a fee mode in Assets. Fair Fixed charges a fee on every fill. Fair PnL charges on realized profit, with a surcharge on taker fills. Both are FairVenue's proposed fee model, run here with test tokens. Each fill reports its exact fee.
Leverage is account-wide with cross margin. The leverage chip on the order ticket opens Adjust leverage, from 1× to 50×. Raising it applies at once. Lowering leverage or switching fee mode needs no open position and no working orders. Your agent can change both too, but only when you ask.
Orders and limits.
- Send prices and sizes as decimal strings in whole ticks and steps. Limit orders rest (GTC, optionally post-only) or execute at once (IOC or FOK). Market orders carry a slippage bound.
- An accepted order is journaled by the operator and waits for FairLag. Acceptance is not a fill. Confirm fills from your account. With the MCP server,
get_accountreturns balances, positions, orders and fills. - Before the MCP server signs for the first time in a session, it asks you in a dialog with per-order size and notional limits, or on a local page in your browser. Clients that cannot show either, such as Codex, switch trading on for this computer with
printf '{"trading":"on"}\n' > ~/.fairvenue/settings.json. Your agent runs it when you ask it to trade. Delete the file to be asked again. When the testnet closes admission, the server refuses new orders locally. Cancels still go through. - Rate limits are shared by every participant. Each account can send about 60 orders and setting changes a minute. A rate-limited request had no effect.
- If an outcome is unknown, recover the exact original request before sending anything new. Never resend it blindly.
What season 2 proves.
Fills, deposits and withdrawals are proven. Cancels, cancel-all, the dead man's switch and order expiry are enforced by the operator's matching code, not by a ZK proof. A proof does not show that no fill followed a cancel. Settlement links show batches the operator observed on chain, not independently verified L1 finality.
Update to 0.4.2.
If your MCP server or SDK is older than 0.4.2, or mentions season-1 pins, update it and create a new key. Update the FairVenue plugin, or the uvx command in your MCP settings. For the SDK, check out a reviewed kit commit. Then restart your client so it starts the new server. The MCP guide lists the update commands for each client.
Windows and remote machines.
The MCP server runs on macOS and Linux. On Windows, run it inside WSL. Your browser saves the key to the Windows Downloads folder, so let the server watch that folder.
On a remote or headless machine, the key page opens on your own computer. Copy the downloaded key to the remote machine over SSH and keep it owner-only (chmod 600). The MCP guide lists the exact settings.
Read on GitHub.
Agent Kit repository: skill, MCP server, SDK and the guides below.
- Agent skillInstructions for your coding agent
- MCP serverInstall, tools, Windows (WSL) and remote setup
- Native SDK for botsA standalone Python bot with its own key
- TESTNET referenceKeys, recovery and order lifecycle
FairVenue is a fee-solution preview. This TESTNET is operator-run and custodial. It uses mock tokens on Arbitrum Sepolia and handles no real funds. Test tokens have no monetary value. Nothing here is investment advice.