Repository navigation
Ink
Payment wires: every paid endpoint accepts x402 and MPP (Machine Payments Protocol) on the same 402 - see Paying with x402 and Paying with MPP. Agent402 is the applied layer of Agentic Finance: agents that pay and get paid on their own.
Agent402 settles x402 payments in USDC on Ink, an OP Stack L2 with chain id 57073. The rail is re-proven daily by an automated on-chain canary purchase. The live /ink page shows the chain's sellers and the service's own wallet on it.
| Chain id | 57073 (CAIP-2 eip155:57073) |
| RPC |
https://rpc-gel.inkonchain.com (also https://rpc-qnd.inkonchain.com) |
| Explorer | explorer.inkonchain.com |
| Stablecoin | USDC (native, 6 decimals) - 0x2D270e6886d130D724215A266106e6832161EAEd
|
| EIP-712 domain | name "USDC", version "2"
|
| Gas | paid in ETH by the facilitator; the buyer needs only USDC |
With agent402-mcp: set AGENT402_NETWORKS=eip155:57073 (plus
AGENT_KEY for a wallet holding USDC on chain 57073) and every MCP tool call
settles on Ink. The accept carries the asset and the EIP-712 domain, so the
signer needs no Ink-specific setup.
With agent402-client or any @x402 client:
import { withNetworkPreference } from "agent402-client";
withNetworkPreference(x402client, ["eip155:57073"]);Agent402's 402 lists Base first, so pinning the chain is required - an unmodified client that takes the first accept it can pay settles on Base. The preference throws before paying if the seller doesn't offer the chain.
-
Agent402 server: add
inktoPAYMENT_NETWORKSand setINK_FACILITATOR_URL(one URL, or an ordered comma-separated list: the first whose/supportedconfirmseip155:57073at boot settles first, the rest are its settle fallback). Without the URL Ink is not configured and every other chain keeps serving. See Self-Hosting.
The neutral router takes a network filter:
GET /api/route?q=<task>&network=ink - only sellers whose crawled 402
advertises eip155:57073 are ranked (sellers with unknown accepts are kept;
the filter excludes sellers known not to settle there).
An x402 settlement on Ink is a transferWithAuthorization (EIP-3009) on the
USDC contract, submitted by the facilitator (the buyer paid no gas), with the
decoded transfer showing buyer to seller for the quoted price.
agent402.tools - the applied layer of Agentic Finance: 500+ pay-per-call tools for AI agents over x402 and MPP (Paying with x402 · Paying with MPP · Glossary) · synced from wiki/ in the main repo - edit there, not here.
For agents and buyers
- Getting Started
- Agentic Finance
- Why Pay Here
- Reports and Monitors
- Paying with x402
- Paying with MPP
- Robinhood Chain (USDG)
- Arc (USDC)
- Ink (USDC)
- Circle Gateway (batched USDC)
- Paying with Compute
- MCP Connector
- Adapters
- AWS Bedrock AgentCore
- Decide - describe a job, get a plan
- Tool Catalog
- Skill Packs
- x402 Index and Router
- x402 Leaderboard
- LLM Gateway (OpenAI /v1)
- LLM Proxy Gateway
- Image Generation Gateway
- Code Execution Sandbox
- Text-to-Speech
- Speech-to-Text
- Text Embeddings
- Payments and x402
- Memory and Coordination
Tollbooth (for site owners)
- Pay-per-crawl - what it is, install, modes
- Pay-per-crawl Walkthrough - 5-min hands-on
- Tollbooth for Agencies - many-site playbook
Website & Developer
- Reports · Monitors - by card
- Quickstart - first call in 60 seconds
- Playground - try tools in your browser
- SDK REPL - live code editor
- API Explorer - browse OpenAPI
- Adapter Docs - per-framework guides
- Workflows - chaining patterns
- Blog · Changelog
Under the hood