Provable fairness

BeatPot uses verifiable on-chain randomness to ensure every raffle is completely fair. No one can predict or manipulate the outcome.

What Does "Provably Fair" Mean?

Provably fair means you don't have to trust anyone. The randomness used to select winners can be verified by anyone, and the selection process is transparent and deterministic.

Unlike traditional raffles where you trust the operator, BeatPot's fairness is guaranteed by cryptography and smart contracts.

How Randomness Works

BeatPot uses Pyth Entropyarrow-up-right for verifiable randomness.

The Process

1

Round Ends

When a round timer expires, execution is triggered.

2

Request Randomness

The BeatPot contract requests a random number from Pyth Entropy.

3

Generate Random Number

Pyth Entropy generates a verifiable random number.

4

Callback

The random number is sent back to the BeatPot contract.

5

Select Winner

The random number determines which ticket wins.

circle-info

What is Pyth Entropy?

Pyth Entropy is a decentralized randomness service. It generates random numbers that:

  • Cannot be predicted before they're revealed

  • Cannot be manipulated by any party

  • Can be verified by anyone after the fact

This is achieved through cryptographic commitments—values are committed before the outcome is needed, making manipulation impossible.

Verification

Anyone can verify past raffle results:

On-Chain Verification

1

Find the round

Find the round you want to verify on HyperEVMScan.

2

Look at the event

Look at the WinnerSelected event.

3

Check the random number

Check the random number used.

4

Verify source

Verify that the random number came from Pyth Entropy.

5

Confirm selection

Confirm the winner was selected correctly based on that number.

What You Can Verify

  • The random number used for each round

  • That the random number came from Pyth Entropy (not generated internally)

  • That the winner selection matched the random number

  • The total number of entries and who owned each range

Why This Matters

Traditional Raffles

  • You trust the operator

  • No way to verify the draw

  • Operator could theoretically cheat

BeatPot

  • No trust required

  • Every draw is verifiable

  • Cheating is mathematically impossible

Common Questions

chevron-rightCan the BeatPot team manipulate results?hashtag

No. The random number comes from Pyth Entropy, which BeatPot cannot control. The selection process is deterministic based on that random number.

chevron-rightCan someone predict the winner before the round ends?hashtag

No. The random number doesn't exist until after the round ends and randomness is requested.

chevron-rightWhat if there's a bug in the selection code?hashtag

The smart contract code is verified and visible on HyperEVMScan. Anyone can review it to ensure the selection logic is correct.

chevron-rightCan miners/validators manipulate the outcome?hashtag

Pyth Entropy's design prevents this. The randomness is generated through a commit-reveal scheme that makes manipulation impractical.

Last updated