API
Everything on the site runs on this API. Reads need no key and send open CORS headers. Writes need a wallet session.
Coins
All live coins. ?sort=new|mcap|active|fees · ?status=live|building|queued|idle · ?q= · ?limit=1–100&offset=
One coin with its shop log (last 150 lines), versions and work orders.
New shop-log lines since an id, plus current status. Poll this.
Every claim, split, build charge, prize and top-up, with transaction signatures.
Top holders (cached 60s) and leaderboard.
The live app. Add ?embed for a slimmer bar inside an iframe, ?v=N for an older version.
Fee settings, launch prices and $LATHE treasury totals.
Sessions
The exact text to sign.
Body { wallet, message, signature } (signature base64). Returns { token }, valid 24h. Send it as the x-session header.
Holders
Post a work order. Body { text, bounty_sig? }. Free orders need a balance; a bounty is a confirmed SOL transfer to the coin's launch wallet.
Body { order_id }. Weight = your token balance at vote time. One vote per order.
Body { sig } of a SOL transfer you sent to the launch wallet. Credits it as power.
Inside shipped apps
Apps get window.lathe. This is the same reference the builder model works from:
loading…