RWA oracles that bleed when they're wrong.
penalty when an oracle delivers incorrect pricing data
trust assumptions — reputation is fixed, not earned
no price signal for data quality — good and bad data cost the same
consumers can't distinguish reliable oracles from unreliable ones
score = α × accuracy + (1-α) × score_old — exponentially weighted, stored in basis points (0–10,000).
Miss > 2% threshold → reputation drops → query price drops → revenue falls. The oracle literally earns less for being wrong.
Pay-per-query via Casper x402. Price = BASE × reputation. Higher rep = higher price = market discipline.
Multi-source aggregation with conflict detection. The t2 engineered miss proves the system catches errors.
3 independent sources provide price data for the RWA asset
Detect conflicts, weigh evidence, produce consensus value
Oracle posts value to Odra contract via casper-js-sdk
Ground truth revealed — was the oracle right or wrong?
Reputation score adjusts: accuracy → EWMA → new score on-chain
Query price recalculated: BASE_PRICE × reputation
| Layer | Technology |
|---|---|
| Frontend | Next.js 16 (App Router), React 19, Tailwind v4 |
| Contract | Odra (Rust) — post_value + settle entry points |
| Reputation | EWMA (α=0.3) in basis points (0–10,000) |
| Micropayments | x402 (CSPR.cloud facilitator) — pay-per-query |
| Signing | CSPR.click AI Agent Skill (casper-js-sdk) |
| Credentials | casper-eip-712 (JS) — EIP-712 authorization |
| Testing | Vitest (unit) + Playwright (E2E) + CodeQL (SAST) |
Click "GET /value" → 402 challenge → EIP-712 pay → 200 response. A real x402 round-trip.
At t2: posted value 1950 vs truth 2040 (4.41% error). Watch the reputation score drop in real-time.
Interactive chart showing score over time — the visible dip at t2 proves accountability.
Dynamic pricing panel showing how query cost tracks reputation — market discipline in action.
| Casper Tool | Integration |
|---|---|
| Odra Framework | Reputation registry contract — post_value + settle |
| casper-js-sdk | Oracle agent signing + transaction broadcasting |
| x402 Facilitator | CEP-18 micropayments for pay-per-query reads |
| casper-eip-712 | EIP-712 typed data authorization for x402 payments |
| CSPR.cloud | Node RPC + API access for contract queries |
| Feature | Standard Oracles | Verity |
|---|---|---|
| Accuracy penalty | None | EWMA score drops visibly |
| Data pricing | Fixed subscription | Dynamic: price = f(reputation) |
| Trust model | Static, assumed | Earned, on-chain, auditable |
| Monetization | Monthly SaaS | x402 micropayments per query |
| Transparency | Opaque aggregation | Full reasoning log + sources |
EWMA scoring, x402 pay-to-read, engineered miss demo
5+ independent data sources with weighted confidence scoring
Production CEP-18 token, real x402 facilitator integration
Multiple oracles competing on reputation — market-driven data quality
→ 60+ hackathon projects shipped
→ Full-stack: Rust contracts + Next.js dashboards + AI agents
→ Built the entire Vouch suite (3 projects) for this buildathon
Verity — RWA oracles that bleed when they're wrong.