API & Modal Playground
Test live on-chain endpoints and interact with the unified modal system
Endpoints
POST/bots/register
Register a new bot with on-chain identity (ERC-8004)
Contract: registerBot()
๐ก Need Bot IDs or endpoints? Lookup profiles in the Bots Registry.View Registry โ
Parameters
Connect wallet first
Response
// Click Execute to see results
Code Snippet (TypeScript)
import { createPublicClient, http } from 'viem'
import { arcTestnet } from './arc-config'
const client = createPublicClient({
chain: arcTestnet,
transport: http()
})
const result = await client.writeContract({
address: '0x3eA60ff2Be2101BE63C3DD989F61353857E1BB25',
abi: BOTPAY_ABI,
functionName: 'registerBot',
args: ["e.g. My Trading Bot", "e.g. https://api.example.com/webhook"]
})Looking for the complete SDK setup guides? Check out the integration guides.Read Developer Docs โ