Reference

Documentation

Technical reference for the Bonker token factory.

SDK Integration

Integrate with Bonker using viem to deploy tokens and interact with the factory programmatically. Bonker runs on Base (chain 8453, the default) and Robinhood Chain (chain 4663) — each has its own factory, hooks, and locker deployed at different addresses, and a deployment is only ever valid on the chain it names via originatingChainId. Pick a chain below for its addresses; everything else about deploymentConfig is identical either way.

Deploy a token

Robinhood Chain's UniversalRouter is a fork with an extra field in its swap structs — only relevant if you're building swaps yourself rather than using the deployed pool's default routing. See Architecture and the Deployed Contracts page for the full address list on both chains.

Claiming fees

// Check available fees — FEE_LOCKER and WETH from whichever chain's constants you're
// using above (Base or Robinhood Chain both work the same way here).
const available = await publicClient.readContract({
  address: FEE_LOCKER,
  abi: feeLockerAbi,
  functionName: 'availableFees',
  args: [myAddress, WETH],
});

// Claim fees (called by the reward recipient)
await walletClient.writeContract({
  address: FEE_LOCKER,
  abi: feeLockerAbi,
  functionName: 'claim',
  args: [myAddress, WETH],
});