RECEIPTS
Get a receipt
HOW IT WORKS

Built so nobody has to trust us.

Three independent sources, one upgradeable on-chain ledger, and a cost model where nobody, including us, pays to keep it running.

01
Browser
  • Paste call + @handle
  • No wallet, no gas
  • Optional own Cournot key
→
02
Cournot Oracle
  • /resolve → market id
  • /probability → p + basis
  • Kalshi · Binance · venues
→
03
RECEIPTS API
  • Cournot proxy + memo + IP redaction
  • Re-verifies market (free)
  • CoinMarketCap snapshot
→
04
BNB Chain Diamond
  • ReceiptFacet.anchor
  • evidence JSON in event log
  • keccak256 stored in state
Zero-cost by design

Every oracle answer is memoised and anchored, and answers anchored in the last 6h are reused straight from the chain, so the ledger is the cache. One Cournot query can serve thousands of visitors. CoinMarketCap is cached server-side, and BSC gas is ~0.1 gwei and sponsored.

Tamper-evident

The full Cournot response is emitted in the anchoring transaction and its keccak256 is stored on-chain. Any change to a single byte breaks verification, which you can run in your browser on every receipt page.

Permissionless

Receipts can be submitted by anyone through anchorWithSig: an attester signs an EIP-712 payload off-chain, and any wallet can land it. Nonces stop replays, deadlines stop stale data, and high-s signatures are rejected.

HOW CALLS GET ON THE RECORD

Three ways in, one pipeline.

1 · Anyone, on /check

Paste the call, the @handle and a link to the original post (an X status, video, article or Telegram message) plus its date. No wallet, no gas.

2 · Curated batch import

scripts/seed-calls.mjs takes a JSON list of verified public calls (claim, author, source URL, post date) and runs each one through the exact same pipeline. That's how the ledger was seeded with real calls.

3 · Permissionless, on-chain

Any wallet can land an attester-signed receipt with anchorWithSig (EIP-712). Provenance is written by SourceFacet.anchorWithSource: an https:// URL plus post date, write-once, so no one can swap the source later.

call + author + source URL → Cournot /resolve (market match) → Cournot /probability (odds + evidence) → CoinMarketCap (price, F&G) → server validation (shape, market re-verified, IP redacted, https source) → SourceFacet.anchorWithSource → ReceiptAnchored + SourceLinked events → ledger, caller record, explorer
ARCHITECTURE · EIP-2535 DIAMOND

One permanent address. Upgradeable facets.

All state lives in namespaced diamond storage (keccak256("receipts.ledger.storage.v1")), so facets can be swapped without migrating a single receipt. The table below is read live from the diamond's loupe.

Diamond 0xcAe437…1aed0B ↗
1
DiamondCutFacet
Owner-gated upgrades (add / replace / remove)
0x822B…02E2 ↗
diamondCut()
5
DiamondLoupeFacet
Introspection: what's routed where (EIP-2535 + ERC-165)
0x9007…9153 ↗
facets()facetFunctionSelectors()facetAddresses()facetAddress()supportsInterface()
2
OwnershipFacet
ERC-173 ownership
0x3eEd…66DE ↗
transferOwnership()owner()
4
ReceiptFacet
Write path: attester anchor, batch, EIP-712 permissionless anchorWithSig
0xaC2C…Ba18 ↗
anchor()anchorBatch()anchorWithSig()anchorDigest()
2
SettlementFacet
Resolve markets, update caller alpha
0xEDB2…52c7 ↗
settle()settleMarket()
11
LedgerFacet
Read path: pages, callers, markets, evidence verification
0x8488…d36d ↗
totalReceipts()totalCallers()getReceipt()latest()receiptsOf()receiptsByMarket()callerStatsOf()callerAt()callers()verdictFor()verifyEvidence()
6
AdminFacet
Attester registry, circuit breaker, EIP-712 domain
0x4134…5095 ↗
setAttester()setPaused()isAttester()paused()nonces()DOMAIN_SEPARATOR()
5
SourceFacet
Provenance: original post URL + date, write-once (added by live upgrade)
0x21EC…3248 ↗
anchorWithSource()linkSource()sourceOf()sourcesOf()totalLinkedSources()
VERDICT RULE · ON-CHAIN
p ≥ 65%LIKELY
35% ≤ p < 65%COIN FLIP
10% ≤ p < 35%UNLIKELY
p < 10%DELUSIONAL

Implemented in LibReceipts.verdictFor. Callers can't be re-labelled after the fact.

ALPHA SCORE · ON-CHAIN
HIT  → alpha += (10000 − p)
MISS → alpha −= p

A caller who just repeats market consensus converges to zero. Only people who are right when the market thinks they're wrong build positive alpha. It's a reputation you can't buy, fake, or delete. Settled via SettlementFacet.settleMarket once the Cournot market resolves.

DATA SOURCES
Cournot Intelligence Oracle

POST /intelligence/v1/resolve matches the free-text call to live markets. POST /intelligence/v1/probability returns the probability, the evaluated market, and its basis (Kalshi prices, Binance futures, cross-venue data, model forecasts). The probability drives the on-chain verdict.

CoinMarketCap Pro API

/v2/cryptocurrency/quotes/latest, /v3/fear-and-greed/latest and /v1/global-metrics/quotes/latest. Spot price and Fear & Greed are written into every receipt; momentum and volatility drive the position-sizing guidance. The key stays server-side and responses are cached.