Four steps. Zero trust required.
How a provably fair blockchain lottery works
Your money goes into a public smart contract, a Chainlink oracle picks the winner, and the winner withdraws. Nobody in between — not even us.
Step-by-step draw process
-
You stake
Send USDT from your wallet straight into the lottery contract. Every 1 USDT is one ticket, so your chance equals your share of the pot: 100 in a pot of 1,000 is a 10% chance.
-
The round closes
Speed Round on its schedule, Jackpot when the pot hits its target or at the deadline, Stack when the last seat is taken. Our keeper bot closes due rounds within minutes — and anyone can close them too.
-
An oracle picks the winner
The contract asks Chainlink VRF for a random number that comes with a cryptographic proof, checked on-chain. Winning ticket = random number modulo tickets sold. Nobody can predict or change it.
-
The winner withdraws
The prize is credited inside the contract and claimed with one click on Withdraw. The website never holds anyone's money.
Verify a completed draw
Enter the number of a completed draw. The browser reads its recorded randomness and entries from the blockchain and recomputes the winning tickets. Open rounds and returned rounds have no result to verify. Loading time depends on the network and RPC service.
A fee only on what you win
The fee applies to the prize above the winner's stake. A Stack prize can be smaller than the total cost of several seats. Network fees are separate.
Example with a 10% fee: you stake 100 USDT, another player stakes 5.
- If you win: 100 + 5 − 10% × 5 = 104.5 USDT
- If they win: 5 + 100 − 10% × 100 = 95 USDT
Stack: three winners at one table
A fixed number of seats at a fixed price, and several prize places — by default 50 seats × 20 USDT, paying 55% / 28% / 17%. Each place is drawn from the seats that have not won yet, so one player with several seats can win more than once.
Full table: pot 1,000 USDT, 10% fee on profit, one seat each.
- 1st place: 550 − 10% × (550 − 20) = 497 USDT
- 2nd place: 280 − 10% × (280 − 20) = 254 USDT
- 3rd place: 170 − 10% × (170 − 20) = 155 USDT
Example: ten seats cost 200 USDT. Winning only third place pays 170 USDT before any fee: winning a place does not guarantee a profit.
Lottery or raffle: what is the difference?
People use "crypto raffle" and "crypto lottery" for the same thing, but the mechanics differ. In a raffle, each entry is a distinct ticket and one ticket is drawn. In a pool lottery like DecentraLotto, your share of the pot is your chance: stake 50 USDT in a 1,000 USDT pot and you hold exactly 5% of the tickets, whoever else joins.
The practical difference is transparency of odds. A raffle with hidden ticket sales leaves your chance unknown until the draw. Here the pot, the players and your share are on-chain in real time, and Chainlink VRF picks the winning ticket — so a "blockchain raffle system" and this lottery run on the same provably fair rails, with odds you can recompute before you enter.
Stack is our raffle-style format: a fixed table of seats and three winners →
Safety rails built into the contract
- Two players or no drawIf only one player joins, there is nobody to win against: the full stake goes back, without any fee.
- The oracle can't freeze your moneyIf Chainlink does not answer within 24 hours, anyone can cancel the draw and every player gets a full refund.
- The owner can't touch the potThe owner can only pause new entries and set parameters of future rounds, with the fee capped at 10%.
- Built defensivelyWithdrawals are protected against re-entrancy, a stuck recipient can never block the lottery, and every operation has bounded gas.
Current parameters
| Lottery | When it draws | Fee on winnings | Stake per entry |
|---|---|---|---|
| Speed Round | Every 1 day | 5% | 5–500 USDT |
| Jackpot | When the pot reaches 1,000 USDT, or after 7 days | 5% | 5–500 USDT |
| Stack | When all 50 seats are taken (prizes 55% / 28% / 17%); refund after 7 days | 5% | 1–10 seats × 20 USDT |