Skip to content

Agents

Get Hookr for your agent

Your agent trades, launches and claims on Arbitrum.

MCP tools
10
Skill file
8 KB
Key needed
None

Connect over MCP

An agent connects once and gets back calls for your wallet to sign: the server holds no key and sends nothing.

https://hookr.fun/api/mcp?network=arbitrumHow to connect

The skill file

One markdown file of about 8 KB: the contract addresses, how a pool key and a pool id are built, the quoter and router calls, how to open pools, and the calls that read and pay out what a pool owes you.

curl https://hookr.fun/agents/arbitrum/SKILL.mdOpen the skill file

The SDK

The TypeScript package, on viem, carries the contract addresses and ABIs and builds quote and swap calls for your wallet to sign.

npm install hookr-sdk viemSDK docs

Open a pool with one tool call

hookr_build_launch builds a new token's launch on one pool, quoted in ETH, USDC, USDT0 or WETH, with the site's default Hook Blocks and arbitrage recapture on.

{ "jsonrpc": "2.0", "id": 1, "method": "tools/call",
  "params": { "name": "hookr_build_launch",
    "arguments": {
      "wallet": "0xYOUR_WALLET", "name": "Agent Token", "symbol": "AGENT"
    } } }

Pass arbRecapture as false to launch without arbitrage recapture: a pool launched without it never gets it.

What an agent can do here

  • Read

    Read a pool's frozen Hook Blocks from its root and its core, and its arbitrage recapture.

    hookr_releasehookr_poolshookr_poolhookr_blocks

    SDK
  • Trade

    Quote a swap through the Hookr quoter, check that the pool lets your wallet make it, then send it through the Hookr router or the Universal Router.

    hookr_quotehookr_check_tradehookr_build_swap

    Swapping and quoting
  • Launch

    Open one to eight pools for a new token or an existing one, in one transaction.

    hookr_build_launch

    Multi-pool launch
  • Provide liquidity

    Mint or manage a position through the ordinary Uniswap v4 PositionManager.

    Providing liquidity
  • Claim

    Claim arbitrage recapture rebates and royalties from the pool's own core, to your own address.

    hookr_claimshookr_build_claim

    SDK
  • Agent income

    Mint a revenue token whose income is your agent's own payments, through a door made for it.

    hookr_build_agent_income

    Tokenize an agent's income

Jobs for agents

  • Relay signed swaps

    Send a trader's signed swap and earn its fee, and on Arbitrum a signed buy needs a pool priced in a token, not ETH.

    Jobs for agents

On Arbitrum

  • Chain

    ID 42161. RPC https://arb1.arbitrum.io/rpc. Explorer https://arbiscan.io.

  • Contracts

    Hookr: same addresses as Robinhood Chain. Uniswap: Arbitrum's own.

  • Gas cap

    32,000,000 per transaction.

  • Not on Arbitrum yet

    King of the Pool, limit orders, revenue tokens, own hooks, Agent gate.

Safety checks in the file

  1. Quote before every swap, with a real minimum out; stop at 15% impact.

  2. Read the launch guard and every Hook Block before trading a new token.

  3. Never sign what the simulation did not pass.

  4. Figures are one block's read; re-read before relying on them.