Back to Home

LotteryPrototype

Unknown
0xcdd192f2c493...b3c9ca1b622c
FrontierContract #104DecompiledEdit this contract
Deployed August 9, 2015 (10 years ago)Block 56,478

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

Frontier Era

Historical Significance

One of the earliest lottery contracts on Ethereum mainnet, deployed 10 days after genesis. The complete lifecycle, from deployment to payout to self-destruct, occurred in 42 minutes and served as the prototype for a follow-up deployment by the same developer. Documents the iterative, on-mainnet development pattern common in Ethereum Frontier.

Context

Deployed August 9, 2015, in the Ethereum Frontier period. The deployer (0xFD2605a2) was active on Ethereum from block 46235, making them one of the earliest recorded Ethereum users. No test networks comparable to modern testnets were in widespread use; developers iterated directly on mainnet.

Key Facts
Deployment Block
56,478
Deployment Date
Aug 9, 2015, 02:37 AM
Code Size
1.5 KB
Gas at Deploy
448,526
Transactions by Year
20158

Description

Deployed at block 56478 on August 9, 2015, this is one of the earliest lottery contracts to appear on the Ethereum mainnet, created just 10 days after the genesis block. It was built by address 0xFD2605a2bF58fDbB90db1Da55dF61628B47F9e8c, an account active on Ethereum from block 46235 (approximately August 5-6, 2015), among the very first Ethereum users.

The contract implements a blind lottery: participants call buyTicket(uint256 _blindRandom) with a submitted random number, the contract uses random() for its winner selection logic, and the deployer calls payout() to distribute winnings. The contract also includes a die() self-destruct function, which was called at block 56620 after a single test cycle. The entire lifecycle, from deployment to self-destruct, spanned approximately 42 minutes.

During its brief existence, two participants (the deployer and address 0x073f70b5) bought tickets and the payout function was called once. After the test concluded, the deployer called die(), destroying the contract.

This prototype was immediately replaced: 42 minutes after the self-destruct, the same deployer deployed a second, longer-running lottery at 0x7af6af3d4491a161670837d0737bada43ffbb992 (block 56646). The two contracts together document an iterative development approach where a developer tested a contract design in full on mainnet before committing to a persistent deployment.

Heuristic Analysis

The following characteristics were detected through bytecode analysis and may not be accurate.

Detected Type: Unknown

Bytecode Overview

Opcodes1,492
Unique Opcodes157
Jump Instructions101
Storage Operations52

External Links