Infrastructure
Globally distributed infrastructure with failover and SOC 2/ISO 27001 certification programs in progress.
Learn moreEvery game outcome is cryptographically verifiable. Games are GLI certified. SOC 2 and ISO 27001 certifications are in progress. No trust required.
Every game outcome is cryptographically verifiable. Games are GLI certified. SOC 2 and ISO 27001 certifications are in progress. No trust required.
1import { verifyEcvProof, mapRandomness } from "@origami/fairness";2import { sha256 } from "./crypto";3 4type FairnessRound = {5 game: "dice" | "limbo";6 clientSeed: string;7 serverSeedHash: string;8 publicKey: string;9 nonce: number;10 proof: string;11 outcome: number;12};13 14export function verifyRound(round: FairnessRound) {15 const request = `${round.game}:${round.nonce}:${round.clientSeed}`;16 const proof = verifyEcvProof({17 publicKey: round.publicKey,18 request,19 proof: round.proof,20 });21 22 if (!proof.valid) throw new Error("Invalid proof");23 const outcome = mapRandomness(proof.randomness, round.game);24 return {25 verified: outcome === round.outcome,26 commitment: sha256(round.serverSeedHash + proof.randomness),27 randomness: proof.randomness,28 };29} Provably fair won the room. The audits and incident-response docs got us approved in weeks, not months.

Aamir Khan
Compliance, Tier-1 Operator
The server commits to a secret key before the round begins.
Globally distributed infrastructure with failover and SOC 2/ISO 27001 certification programs in progress.
Learn moreTLS 1.3 in transit, AES-256 at rest. All API communication is encrypted end-to-end.
Learn moreReal-time anomaly detection, alerting, and a documented incident response process.
Learn more