TAO5050 Logo

Powered by TAO + RandProof

Provably Fair Randomness

Every winner is selected using RandProof verifiable randomness, a drand-anchored seed threshold-signed by a keeper committee and verified on-chain via BLS12-381. The seed cannot be known before its pinned round publishes, and nobody, keepers included, can bias it. No LINK tokens required. Pure TAO only.

Cannot Be Manipulated

RandProof pins each draw to a drand Quicknet round and verifies the threshold signature on-chain.

Publicly Verifiable

Every transaction and proof artifact is on-chain. Anyone can independently verify the winner selection.

TAO Only

No external tokens or oracles required. RandProof fees are paid in TAO, self-funded inside the creation payment.

How the RandProof Draw Works

Drand-anchored entropy

Each draw is pinned to a drand Quicknet round. The seed is derived from public randomness that does not exist until the round publishes (~12-15 seconds).

BLS12-381 threshold signature

A 12-keeper committee threshold-signs each fulfillment (4-of-12 quorum). The signature is verified on-chain via EIP-2537; a single keeper cannot forge it.

Permanent proof artifact

Every draw stores a verifiable proof: seed, quicknet round, signer set, and attested provenance (drand, NIST, Bitcoin merkle). Independently checkable via the drand public API.

Deterministic winner selection

The delivered seed selects the winning ticket index (seed % ticketsSold). 50% of the pot goes to the winner and 50% to the creator, automatically.

Smart Contract Functions

TAO5050RaffleV4 is fully immutable: no owner, no admin, no pause, no upgrade path. These are the functions that run the entire lifecycle.

createRaffle(entryFee, durationBlocks)Anyone

Opens a new raffle. Requires exactly 0.10 TAO: 0.0988 TAO goes straight to the platform wallet, 0.0005 TAO is escrowed for the RandProof draw, and 0.0007 TAO is escrowed for automation.

buyTicket(raffleId) / buyTickets(raffleId, count)Anyone

Purchases tickets at a fixed 0.025 TAO each. 100% of ticket proceeds go into the pot.

requestDraw(raffleId)Automation / anyone after end

Called hands-free by RandProofAutomation when the raffle ends. Pays the escrowed RNG reserve to requestRandomness and moves the raffle to Drawing. Keepers never see or choose the seed.

fulfillRandomness(eventId, seed)RandProof coordinator only

Coordinator callback. Rejects any caller other than the configured RAND coordinator. Selects the winner via seed % ticketsSold and pays out 50/50 automatically.

settleFromProof(raffleId)Permissionless

Fallback settlement: if the coordinator fulfilled the request but the callback path needs a nudge, anyone can settle from the stored proof.

performUpkeep(calldata) / nextDeadline()RandProofAutomation

The automation upkeep entrypoint and its scheduling view. Registered in the constructor; each raffle funds exactly one execution.

expireRaffle(raffleId)Permissionless

After endBlock, a raffle with zero tickets can be expired and the creator's escrowed reserves are returned.

cancelRaffle(raffleId)Creator only

A raffle with zero tickets can be cancelled by its creator; reserves are reclaimable.

reclaimCancelledReserve(eventId)Permissionless

If the coordinator cancels a draw request, the escrowed RNG reserve becomes reclaimable.

claimPayout()Owed recipients

If a native TAO transfer fails during settlement, the amount is recorded in the owed balance and can be claimed later.

On-Chain Addresses

Raffle Contract (TAO5050RaffleV4)

0x5346B2aF50138784218FB2e80D9e1a93B1139F58

RandProofAutomation Registry

0xbAc4CB83C9F522ffC76F1102DBdcCf5ebEDE0681

Where the TAO Goes

Platform fee

0.0988 TAO

Forwarded to the platform wallet at creation

RandProof draw

0.0005 TAO

Escrowed to pay requestRandomness

Automation upkeep

0.0007 TAO

Escrowed to fund the upkeep execution

Ticket price

0.025 TAO

Fixed, 100% into the raffle pot

No Backdoors. Period.

The Smart Contract Is Immutable

TAO5050RaffleV4 was deployed once, with zero privileged functions. Nobody, not the platform, not the deployer, not validators can change the rules, touch a pot, or influence a result.

No Owner, No Admin

There is no owner, admin, pause, or upgrade function. The contract code that runs today runs forever, unchanged.

TAO5050 Never Has Access to Your Raffle Funds

Ticket proceeds sit in the contract, not with us. Only the winner and the creator can receive the pot, enforced by code.

Tickets Sold Are Untouchable

Prize pools cannot be withdrawn by anyone, including the platform. Settlement pays 50/50 automatically or escrows to claimPayout.

Fully Decentralized Settlement

Draws are requested hands-free by RandProofAutomation and settled by the coordinator callback. No team member or server is in the loop.

Why This Is Provably Fair

Cannot Be Predicted

  • • Seed anchored to a drand round that publishes after the request
  • • BLS threshold signature verified on-chain, keepers cannot forge it
  • • Keeper committee cannot see or choose the seed
  • • No admin override functions exist, the contract is immutable

Cannot Be Manipulated

  • • Validators cannot control the randomness beacon
  • • Keepers only trigger the entrypoint; they never touch entropy
  • • Creator has no control over the outcome
  • • No admin or owner functions exist at all

Verifiable On-Chain

  • • Every transaction recorded on-chain
  • • All entropy sources publicly visible
  • • Anyone can verify the calculation
  • • Proof artifacts queryable forever via getRandProof(eventId)

No External Dependencies

  • • No LINK tokens required
  • • Draw fee paid in TAO (self-funded per raffle)
  • • Permanent on-chain proof artifact for every draw
  • • Pure TAO only

How to Verify a Winner

  1. 1. View the Draw

    After a raffle ends, RandProofAutomation requests the draw and the coordinator callback settles it. View the DrawRequested and RaffleCompleted events on the Bittensor EVM explorer (evm.taostats.io).

  2. 2. Check the Proof Artifact

    The raffle stores the RandProof draw ID (eventId) and seed. The permanent proof, including the drand quicknet round, signer set, and BLS signature, is queryable from the RandProof coordinator via getRandProof(eventId).

  3. 3. Verify the Seed Independently

    Fetch the pinned drand Quicknet round from the public drand API and compare it against the proof artifact's quicknetRound / quicknetValue.

  4. 4. Confirm Winner Selection

    Verify that winningTicket = seed % ticketsSold matches the declared winner and the 50/50 payouts.

Frequently Asked Questions

Why not use Chainlink VRF?

Chainlink VRF is excellent but requires LINK tokens. TAO5050 is a TAO-only platform. RandProof provides comparable security for raffle use cases without external token dependencies or oracle fees.

Can the contract owner manipulate results?

No. The contract has no owner at all: no admin, pause, or upgrade functions. Winner selection is purely the coordinator-delivered seed modulo ticketsSold. Nobody can change the outcome.

What happens if a payout transfer fails?

Settlement records the amount in an owed balance instead of reverting. The winner or creator can pull their share any time via claimPayout().

What if the draw is never fulfilled?

The raffle sits in Drawing state. Anyone can call settleFromProof once a proof exists, or reclaimCancelledReserve if the coordinator cancels the request. Funds are never stuck.

Can I verify the winner myself?

Yes. All data is on-chain. The RandProof proof artifact (seed, drand round, signers) is permanently stored and independently verifiable against the public drand API and the Bittensor EVM explorer.

Every Winner Is Selected Fairly

Cryptographically secure. Publicly verifiable. No external tokens. No exceptions.

Cannot Be ManipulatedPublicly VerifiableTAO Only