For operators · self-serve
Hold the board.
Pin your own attestor, bring the market and the oracle. Funds move on a bool — not a key.
- CPI one byte back
- Oracle yours — pinned to your key
- Quote optional, reproducible
The three claims
Funds move only if a CPI into your validator returns true — anything else reverts. Live on the same receipt path: TxLINE Merkle and ed25519 attest (the Pyth validator is deployed; its devnet feed is paused). Pricing is optional Monte Carlo anchored to a snapshot hash.
One CPI, one bool
your program decides[1] writes the receipt and funds become claimable. Anything else, the transaction reverts.
Show the validator shape
fn process_instruction(_pid, _accounts, data) -> ProgramResult {
let claim = Claim::try_from_slice(data)?;
let verdict: bool = verify_your_evidence(claim);
set_return_data(&[verdict as u8]); // [1] settles; anything else reverts
Ok(())
}Your validator can only say yes or no; it never touches lamports. Worked example ↗
Run it yourself
self-serve, multi-tenant — devnetThe attestation validator is multi-tenant — your config is seeded [b"config", your_key]. Pin your own attestor, create the market, sign the observation, and the vault releases only if the proof verifies. No coordination with us.
git clone https://github.com/sneldao/stoppage cd stoppage && npm install npx tsx scripts/operator-quickstart.ts
Fresh keypair → your own config PDA → market → signed observation → proof-gated settle → winner claims from the vault. Or lift prop-desk ↗ — a complete operator in one file; we run it on Sundays as Punt Desk.
Quote in, proof out
optional pricing lineSubscribe to the stream
const es = new EventSource("/api/quotes/stream");
es.onmessage = (e) => {
const { quote } = JSON.parse(e.data);
// quote.result.fairValue, bid, ask, seed, snapshot
};Why it holds
- Proof-gated.CPI false → the tx reverts.
- Oracle-agnostic.Merkle and attest live; Pyth deployed, feed paused.
- Multi-tenant.Your key settles; ours can't speak for you.
- The receipt is the artifact.Anyone can re-verify it.
- The schlep is the moat.Borsh, proofs, CPI — if it were easy, it would already exist.
