CurveJail
The yard
Reference

SDK and MCP

Add init_record

Any interface that sells CurveJail coins must put init_record before the DBC swap. The helper is served from this site:

curl -O https://curvejail.xyz/sdk/hook.mjs

import { initRecordIx } from "./hook.mjs";
const ix = initRecordIx(HOOK_PROGRAM_ID, payer, buyer, mint);
const swap = await dbc.pool.swap2WithTransferHook({ owner: buyer, pool, swapBaseForQuote: false, ... });
tx.add(ix, ...swap.instructions);

Read a sentence

import { recordPda, decodeRecord } from "./hook.mjs";
const acc = await connection.getAccountInfo(recordPda(HOOK_PROGRAM_ID, mint, wallet));
const { release } = decodeRecord(acc.data);   // unix seconds, UTC

MCP server

Agents can ask two tools over MCP: sentence_of(wallet, mint) returns the release time and seconds left, yard returns the board. The keeper host serves them; the endpoint is published here when it is live.