Lottery / Gambling Contracts
Games of chance: coin flips, dice, wagers, lotteries, chain letters and pyramid schemes from Ethereum's earliest days.
Lottery
The first draft of the EarlyLottery commit-reveal lottery, deployed on 8 August 2015 a few hours before its rewrite.
0xf6bf0e...ec3b5cAugust 8, 2015CoinFlipper
Timestamp-parity coinflip with balance guard and donate().
0xb87824...8642adAugust 8, 2015EarlyLottery
Commit-reveal lottery prototype deployed on 8 August 2015, the earlier draft of the EarlyLottery contract by the same developer.
0x7573ac...ad9fb4August 8, 2015CoinFlip
Timestamp-parity coinflip; payout is `2 * msg.value` via `send`.
0x0013e7...1c2989August 8, 2015LotteryPrototype
The first lottery contract deployed on Ethereum mainnet, created August 9, 2015 by one of the earliest recorded Ethereum users. Built, tested with two participa
0xcdd192...1b622cAugust 9, 2015EarlyLottery
A commit-reveal lottery on an 88-block cycle, deployed August 9, 2015, ten days after genesis. Players commit a hashed secret, reveal it to earn one ticket per 0.1 ETH, and the winner is drawn from the XOR of all revealed secrets. Source recovered by exact bytecode match (solc v0.1.1).
0x7af6af...fbb992August 9, 2015HonestDice (1 ETH)
Commit-reveal dice game deployed day 13 of Ethereum mainnet with 1,000 ETH bankroll. Still active in 2026 with 84 ETH locked. 1% house edge, 1 ETH minimum bet.
0xd79b4c...f80456August 12, 2015EtherPot (draft build)
A pre-release August 2015 test build of the EtherPot blockhash lottery, deployed three weeks into Frontier and never played.
0x47f53b...416adfAugust 21, 2015EtherPot
The public EtherPot lottery, an August 2015 Frontier contract whose blockhash-based winner selection became an early cautionary tale about on-chain randomness.
0x539f29...9587f9August 25, 2015Contract 0x4959e041...
A coin flip wager contract endowed with 6 ETH, deployed 2 September 2015.
0x4959e0...f0d5bdSeptember 2, 2015Contract 0x00bca629...
The first deployed version of a coin flip wager contract, endowed with 1 ETH on 2 September 2015.
0x00bca6...2eb75cSeptember 2, 2015Contract 0x26029ec1...
A coin flip wager contract that refuses bets the bankroll cannot cover, endowed with 1 ETH on 2 September 2015.
0x26029e...b27493September 2, 2015Contract 0xf1368719...
A coin flip wager contract endowed with 1 ETH, deployed 2 September 2015.
0xf13687...becaf1September 2, 2015Contract 0x5d2d1d87...
A coin flip wager contract that reads the current block hash and gets zero back, endowed with 1 ETH on 3 September 2015.
0x5d2d1d...800176September 3, 2015Contract 0x0f76dc3f...
A coin flip wager contract carrying a commented-out attempt at using a block hash, endowed with 1 ETH on 3 September 2015.
0x0f76dc...23e8c7September 3, 2015Contract 0x6f0b707c...
A coin flip wager contract that draws its outcome from the previous block hash, endowed with 1 ETH on 3 September 2015.
0x6f0b70...8fdf0dSeptember 3, 2015Gamble
A provably-fair commit-reveal gambling contract from the Ethereum dapp-bin, deployed 47 days after Frontier genesis.
0xaf5558...7c9bf1September 15, 2015Pool
Revised Pool5x lottery prototype by Bertani (Oraclize), deployed 17 blocks after v1. Stores 5x msg.value and emits debug log events.
0xbb5cda...c483f9September 17, 2015SerpentGamble
Provably-fair betting game where players choose their own odds. The owner settles bets with a commit-reveal random seed. Includes a 2-day emergency refund.
0x034df8...200e2fSeptember 20, 2015SerpentGamble
Sibling of 0x034dF870 (SerpentGamble). Provably-fair Serpent betting game; players choose their own odds, owner settles via commit-reveal seed, 2-day refund.
0x9ca7e9...fa8bb4September 21, 2015SerpentGamble
Sibling of 0x034dF870 (SerpentGamble). Provably-fair Serpent betting game; players choose their own odds, owner settles via commit-reveal seed, 2-day refund.
0x75649a...176028September 21, 2015SerpentGamble
Intermediate build of serpent_gamble, a provably-fair betting dapp (Bet/Win/Loss/NewSeed), related to verified sibling 0x59375871. Source not yet reconstructed.
0xe1a99f...0d2457September 21, 2015SerpentGamble
Intermediate build of serpent_gamble, a provably-fair betting dapp (Bet/Win/Loss/NewSeed), related to verified sibling 0x59375871. Source not yet reconstructed.
0xdc00a9...15861fSeptember 21, 2015SerpentGamble
Intermediate build of serpent_gamble, a provably-fair betting dapp (Bet/Win/Loss/NewSeed), related to verified sibling 0x59375871. Source not yet reconstructed.
0xd0ed09...300b48September 21, 2015