Built on Canton Network

Verifiable
Randomness

Cryptographically secure, on-chain verifiable random numbers for Canton blockchain applications. Provably fair. Tamper-proof. Instant.

Start Building How It Works
● LIVE Latest entropy output
0x3a9f...loading
1.2M+
Random values generated
<200ms
Avg. response time
100%
On-chain verifiable
256-bit
Entropy strength

How Prime Works

A commit-reveal scheme backed by distributed entropy sources, verified on-chain through Canton's Daml smart contracts.

01 — Request

Submit Randomness Request

Your Daml contract calls Prime with a seed commitment. The request is recorded immutably on the Canton ledger with a unique request ID.

02 — Generate

Entropy Collection

Prime's distributed node network combines multiple independent entropy sources using a VRF (Verifiable Random Function) to produce an unbiased output.

03 — Verify

On-Chain Proof

The random value and its cryptographic proof are delivered to your contract. Anyone can independently verify the output was generated fairly.

Built for Canton

Enterprise-grade randomness infrastructure, native to the Canton Network's privacy and composability model.

🔐

Tamper-Proof Generation

Neither the requester, Prime operators, nor any third party can predict or manipulate the random output. Backed by VRF cryptographic proofs.

Sub-Second Delivery

Random values are generated and delivered within a single Canton transaction round. No waiting for external block confirmations.

🔒

Canton Privacy Model

Leverages Canton's sub-transaction privacy. Your randomness requests and their usage remain private to authorized parties only.

🧩

Native Daml Integration

Drop-in Daml library with type-safe random number generation. Composable with any Canton workflow or multi-party application.

What You Can Build

From DeFi protocols to enterprise automation, verifiable randomness unlocks new possibilities on Canton.

🎲

Prediction Markets

Fair outcome resolution and unbiased participant selection for decentralized prediction and betting platforms.

🏦

DeFi Protocols

Randomized liquidation ordering, fair token distribution, lottery mechanisms, and unbiased validator selection.

🗳️

Governance

Random committee selection, sortition-based voting, and tamper-proof audit sampling for institutional workflows.

🎮

Gaming & NFTs

Provably fair loot drops, trait generation, matchmaking, and randomized game mechanics verified on-chain.

📊

Compliance & Audit

Verifiable random sampling for regulatory compliance, with full cryptographic audit trails on the Canton ledger.

🔑

Key Generation

Distributed entropy for secure key ceremonies, MPC protocols, and threshold cryptography operations.

Three Lines of Daml

Integrate verifiable randomness into your Canton application with Prime's native Daml library.

Main.daml
import Prime.Random

-- Request a verifiable random number
template MyContract
  with
    owner : Party
  where
    signatory owner

    choice RollDice : Int
      controller owner
      do
        entropy <- requestRandom owner
        let roll = boundedRandom entropy 1 6
        return roll

Simple. Verifiable. Native.

Prime ships as a standard Daml package. Import it, call requestRandom, and receive cryptographically verified entropy directly in your contract logic.

No oracles to configure. No off-chain callbacks. No trust assumptions beyond Canton's own consensus.

View Documentation →

Randomness You Can Prove

Start generating verifiable random numbers on Canton today. Free tier available for development and testing.

Get API Key Read the Docs