Skip to main content

Overview

Ensure integrity across games, payouts, and campaign execution using cryptographic proofs and on-chain transparency.

Implementation Status

Not all security measures are live today. The following breakdown clarifies what is currently active and what is planned.

Live

MeasureDescription
Switchboard VRF lotteryVerifiable Random Function for all lottery and draw-based events
PDA escrowProgram Derived Address accounts hold funds during game resolution
Merkle distributionsEfficient weekly reward claims with on-chain proof verification
Ed25519 VAP signaturesVerified Action Proofs sign each game action to prevent tampering
Anti-spam rate limitingRequest throttling and reputation scoring to prevent abuse

Planned

MeasureTarget
Full on-chain game state verificationMove complete game state proofs on-chain for trustless verification
cNFT audit trailsCompressed NFTs as immutable records of game outcomes and payouts
Decentralized dispute resolutionCommunity-driven arbitration for contested results
Planned features are part of the progressive decentralization roadmap. Timelines will be announced as development milestones are reached.

Randomness & Game Resolution

  • Switchboard VRF for lottery and draw-based events
  • Commit-reveal where appropriate (pre-committed hashes, later reveals)
  • Timestamped event logs and deterministic resolution rules

Verifying VRF Lottery Fairness

Users can independently verify that lottery outcomes were generated fairly using on-chain VRF proofs:
1

Locate the Transaction

Find the lottery settlement transaction on a Solana block explorer (e.g., Solscan, Solana Explorer) using the transaction signature published after the draw.
2

Inspect the VRF Account

The transaction references a Switchboard VRF account. Open this account to view the randomness request and the resulting proof.
3

Verify the Proof

Confirm that the VRF proof is valid — the on-chain program verifies the proof at execution time. The randomness value, combined with the deterministic resolution rules, should reproduce the published outcome.

Payouts & Escrow

  • PDA escrow accounts hold funds during resolution
  • Merkle root distributions enable efficient claims and verification
  • Public receipts with winner lists and amounts

Safeguards & Controls

  • Anti-manipulation: bet caps, rate limits, reputation scoring
  • Circuit breakers for abnormal conditions and upgrades
  • Multi-signature controls for sensitive operations

Audits & Monitoring

  • Independent security reviews (see sw4p’s 5 audit results for completed assessments)
  • Continuous monitoring and anomaly detection
  • Public reporting and transparency dashboards
Security audits reduce risk but do not eliminate it. Smart contracts may contain undiscovered vulnerabilities. Users should only participate with funds they can afford to lose.

Incident Response

  • Triage, disclosure, remediation timelines
  • Community updates and postmortems