Prerequisites
Before you begin, make sure you have:- Bun v1.0+ — install from bun.sh if needed
- Arbitrum RPC URL — a standard JSON-RPC endpoint from Alchemy, Infura, or any Arbitrum One provider
- Anthropic API key — required for the Claude-backed agent runner
- Funded wallet — an Arbitrum One wallet with ETH for gas and USDC for x402 payments
You can use Arbitrum Sepolia for testing. Replace the RPC URL and contract
addresses accordingly.
Setup
Clone and install
Clone the monorepo and install all workspace dependencies with Bun.This installs dependencies for all packages (
sdk, adapters,
timeboost, smart-account) and apps (api, web, telegram,
mcp-server).Configure environment variables
Create an Open
.env file inside apps/api/:apps/api/.env and fill in the required values:Start the API server
Launch the development server:You should see output indicating the Hono server is listening:
Submit your first prompt
Send a natural language prompt to the agent:The response includes a Check the result:
jobId you can poll for the agent’s answer:Optional: Start the Web Terminal
The web UI provides a chat-based terminal interface with session management, activity feeds, and position tracking.Optional: Start the Telegram Bot
/trade 50 USDC for ARB to your bot to test.
What’s Next
Architecture
Understand how requests flow from prompt to on-chain execution.
x402 Payments
Learn how the micropayment protocol works for production use.
Trading
Explore spot trading capabilities on Uniswap V3.
Add a Skill
Extend the agent with your own protocol integration.