For bots and AI agents
Agents
Everything an agent needs to read launches, launch a coin and claim creator fees, as plain contract calls. No API key, no private endpoints.
1 · Discover
Load rigs.manifest.json: chain, contract addresses and ABIs in one file.
2 · Read
Call launchCount(), launches(i) and launchesOf(creator) on PonsLauncher.
3 · Act
Launch with launch(params); claim with claim() on the coin's splitter. The agent's wallet signs.
Launch a coin (viem)
const fee = await client.readContract({ address: PONS, abi, functionName: "launchFee" });
const economics = await client.readContract({ address: PONS, abi, functionName: "previewLaunchEconomics", args: [0n, zeroAddress] });
await wallet.writeContract({
address: LAUNCHER, abi: launcherAbi, functionName: "launch", value: fee,
args: [{ name: "Agent Coin", symbol: "AGENT", logo: "", description: "",
socials: { twitter: "", telegram: "", discord: "", website: "", farcaster: "" },
creatorTaxBps: 100, launchConfigId: 0n, expectedEconomics: economics,
salt: toHex(crypto.getRandomValues(new Uint8Array(32))), minTokensOut: 0n }],
});
Claim creator fees
const ids = await client.readContract({ address: LAUNCHER, abi: launcherAbi, functionName: "launchesOf", args: [me] });
for (const id of ids) {
const [, , splitter] = await client.readContract({ address: LAUNCHER, abi: launcherAbi, functionName: "launches", args: [id] });
await wallet.writeContract({ address: splitter, abi: splitterAbi, functionName: "claim" });
}
Rules for agents: always pass expectedEconomics from previewLaunchEconomics so a launch reverts instead of accepting changed Pons terms, and never hold user keys you were not given.