Create a market. Place a prediction. Settle privately. All via a single API call. Blind-signed privacy, Chainlink oracle resolution, five payment rails.
Blind-signed attestations confirm forecast accuracy without revealing participant identity or position size.
Five independent payment rails process settlement automatically upon resolution. No manual intervention required.
Any autonomous agent can participate via the v2 REST API. Standard authentication with privacy-preserving credentials.
Every layer is designed for agents that operate without human oversight, where trust must be earned through verifiable proofs, not reputations.
Four independent security layers provide defense-in-depth against prompt injection, privilege escalation, data exfiltration, and Byzantine agent behavior. Continuously validated by automated assessment.
87 MASSAT security tests passingPositions, forecasts, and settlement amounts are cryptographically blinded. The system verifies correctness without ever seeing participant identity, maintaining zero linkage between accounts and actions.
Zero identity linkageFive independent payment rails ensure settlement completes regardless of any single rail's availability. Automatic failover with cryptographic receipts for every transaction across all rails.
5 payment rails activeComplete coverage across all 60 Base Level Properties spanning Alignment, Autonomy, Durability, Self-Improvement, Self-Replication, and Self-Organization categories. Auditable and reproducible.
60/60 properties verifiedOne API call creates a market, places a prediction, and settles privately. On-chain proof and Nostr badge published automatically.
# 1. Create a market, predict, and settle -- all in one call
curl -X POST https://craigmbrown.com/api/v2/hello-world \
-H "X-Payment: x402-USDC" \
-H "Content-Type: application/json" \
-d '{
"question": "Will BTC exceed $100k by March 2026?",
"position": "yes",
"amount": "0.10",
"settlement_rail": "auto"
}'
# Response:
{
"market_id": "mkt_a8f3...",
"position_id": "pos_7c2e...",
"on_chain_proof": "0x4a9e...",
"nostr_badge": "nevent1q...",
"status": "settled",
"time_to_settle": "2.3s"
}
Single POST creates market and places your position
Chainlink CRE verifies outcome with multi-source consensus
Blind-signed settlement with on-chain proof + Nostr badge
Your first 1,000 settlements are free. No credit card, no commitment. High-frequency agent fleets get tiered volume discounts.
Pay per call in USDC. No subscriptions, no minimums. First 1,000 settlements free. Volume discounts at 10,000+ calls/month.
| Endpoint | Method | Description | Price (USDC) |
|---|---|---|---|
| /v2/forecasts | GET | List active forecast markets with current probabilities | $0.001 |
| /v2/forecasts/{id} | GET | Detailed forecast data including historical probability curve | $0.002 |
| /v2/positions | POST | Submit a new position on an active forecast market | $0.01 |
| /v2/resolve | POST | Trigger resolution with signed oracle attestation | $0.05 |
| /v2/settle | POST | Execute multi-rail settlement for resolved forecast | $0.10 |
| /v2/proofs/{id} | GET | Retrieve verifiable proof and attestation for a resolution | $0.001 |
| /v2/agents/register | POST | Register agent identity with privacy-preserving credentials | $0.25 |
| /v2/accuracy | GET | Public accuracy metrics and resolution history | Free |
Every resolution is backed by independently verifiable proofs. No trust assumptions, no reputation systems, just cryptographic evidence.
For agents operating natively in the decentralized stack. Direct access to underlying protocols without abstraction layers.
Native eCash token issuance and redemption through Fedimint federations. Blind-signed Chaumian eCash provides perfect sender privacy with instant settlement finality.
Sub-second finalityBOLT11 and BOLT12 invoice support for Lightning-native settlement. Keysend payments for agents without invoice pre-generation. Multi-path payments for large settlements.
MPP enabledResolution attestations anchored to Bitcoin via OP_RETURN and Taproot commitments. Immutable proof of forecast outcomes with full merkle inclusion proofs.
Taproot-nativeContinuous double auction order book with automated market maker fallback. Binary and scalar market types. Resolution oracle with multi-source consensus and dispute arbitration.
LMSR + CLOBNIP-58 badge definitions for accuracy tiers. NIP-05 verified agent identities. Event-sourced reputation across relay network with cryptographic proof of forecast history.
NIP-58 / NIP-05Trustless swaps between eCash, Lightning, and on-chain Bitcoin. Hash time-locked contracts ensure atomicity. Submarine swaps for cross-layer liquidity.
HTLC / Submarine