Contracts, API, MCP and SDK

Contracts

The Box, the genesis life and each later life are verified on Blockscout. Addresses are listed on the Lives page and in /api/box. Foundry runs the unit and fork tests. External contracts the Box calls: Pons fee escrow 0xd3AF…Ac9e, Pons factory 0x7eD5…C7e, Pons v4 hook 0xE5e7…e044, Uniswap v4 PoolManager 0x8366…0951, USDG 0x5fc5…d168.

/api/box/api/journal/api/stream/mcp/sdk/box.jsall read the Box and $BOX over the public RPC; nothing is cached for longer than 60 s
Read paths, all served by this site.

HTTP API

curl -s https://schrodingershook.xyz/api/box       # lives, buckets, basket, pending life
curl -s https://schrodingershook.xyz/api/journal   # numbered entries with tx hashes
curl -s https://schrodingershook.xyz/api/stream    # the lines the cat is drawn from

MCP

/mcp speaks JSON-RPC over HTTP with the tools box_state, journal, quote_open, gift_odds, lives and whispers.

curl -s https://schrodingershook.xyz/mcp -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"box_state","arguments":{}}}'

SDK

curl -sO https://schrodingershook.xyz/sdk/box.js
import { boxState, journal, quoteOpen } from "./box.js";

Security

The contracts are unaudited. The keeper is trusted for three inputs, each published in the Journal with its transactions: the whale share (capped at the hour's inflow), the gift weight table (root committed before the draw) and the timing of buys. The guardian can cancel a pending life until the seal, rotate the cat and keeper keys, and pause buys and allocation; it cannot withdraw the basket or execute a life.