Rafflor

Documentation

What Rafflor does, how a draw works, and what every figure on these pages is read from.

These pages explain the product and the protocol behind it. They are not an integration guide, and the figures in them are read from the deployed contracts rather than written down.

The short version

A creator locks a prize. People buy tickets in USDC. Entries end at the deadline or when the last ticket sells, anyone can close the raffle, and a winner is drawn from publicly verifiable randomness that did not exist when entries ended. The creator receives the ticket proceeds less the protocol fee, the protocol takes that fee plus a creation fee, and the winner receives the prize.

There is no admin over winners, escrows or randomness. One address can pause the creation of new raffles and can reach nothing else.

2 figures on this site could not be read from the chain, so they appear as [unavailable] above rather than as a number from memory:
  • treasuryAddress — TREASURY_ADDRESS is not configured
  • explorer — no block explorer is configured for this chain