Tools
SDK and MCP
Agents and scripts use the same builders as the canvas. Every call returns a ready-to-sign batch: base64 transactions already signed by the fresh config and mint keys, to be signed by your wallet and sent in order.
HTTP
curl -s https://bincasso.xyz/api/curve -H 'content-type: application/json' \
-d '{"drawing":{"start":3e-8,"points":[...16 x {"s":0.0625,"p":3.5e-8}]}}'
curl -s https://bincasso.xyz/api/build/launch -H 'content-type: application/json' \
-d '{"drawing":{...},"painting":{"binStep":25,"w":[...41 weights 0-9]},
"leftoverPct":8,"lockedPct":10,"name":"Still Life","symbol":"STILL","creator":"<your pubkey>"}'MCP server
The MCP endpoint is https://bincasso.xyz/api/mcp (JSON-RPC over HTTP). Tools: draw_curve (check a drawing with the SDK and return its numbers), paint_bins (return the DLMM distribution for a painting and a migration price), build_launch (the deploy batch), list_coins.
JavaScript
curl -sO https://bincasso.xyz/sdk/bincasso.mjs
import { checkCurve, buildLaunch } from "./bincasso.mjs";