An early Frontier-era dice gambling contract, notable for revealing a bytecode discrepancy between block explorers.
Key Facts
Description
HonestDice was deployed on August 12, 2015, compiled with Solidity v0.1.1 — one of the very earliest compiler versions. The contract name suggests it was designed as an on-chain dice game, part of the wave of gambling contracts that appeared in Ethereum's first weeks.
The contract gained attention in March 2016 when a Reddit user noticed that its bytecode appeared differently on etherchain.org versus etherscan.io. Etherchain showed the assembly starting with 0x606060405267... while Etherscan and direct JSON-RPC calls showed 0x606060405236.... The user suspected a potential flaw in the Ethereum protocol itself, asking whether the discrepancy was related to the "Default Block Height" parameter.
This incident is historically noteworthy because it highlights the challenges of the early Ethereum infrastructure. Block explorers were still new, and inconsistencies between them could cause real concern about the integrity of the network. The fact that a user turned to Reddit to investigate what appeared to be a protocol-level bug shows how the community collectively debugged and validated the network in its earliest days.
As one of the first gambling contracts on Ethereum, HonestDice represents the beginning of what would become a massive category of on-chain applications — from simple dice games to sophisticated DeFi protocols with randomness.
Heuristic Analysis
The following characteristics were detected through bytecode analysis and may not be accurate.
Frontier Era
The initial release of Ethereum. A bare-bones implementation for technical users.
Bytecode Overview
Verified Source Available
This contract has verified source code on Etherscan.
View Source Code