Back to Home

KingOfTheEtherThrone

Unknown
0xa9d160e32ad3...14d35abb576e
FrontierContract #6,945Exact Bytecode MatchEdit this contract
Deployed January 23, 2016 (10 years ago)Block 893,433

One of the first viral Ethereum dapps, deployed January 23, 2016 by Kieran Elby. Players competed to hold the throne by paying an increasing claim price. The co

Frontier EraVerified Source

Historical Significance

One of the first viral Ethereum dapps, demonstrating that smart contracts could implement game mechanics with automatic payments. The gas stipend bug discovered during its operation and Kieran Elby's subsequent post-mortem became an early landmark in Ethereum smart contract security education, predating more formalized security tooling and auditing practices by years.

Context

Deployed January 23, 2016, roughly two weeks before Ethereum turned six months old. The Frontier era (July 2015 to March 2016) was a period of rapid experimentation. Most contracts were simple token transfers or pyramids; KotET was notable for implementing actual game mechanics with conditional payouts. The gas stipend issue it uncovered - that .send() provides only 2,300 gas, insufficient for contract wallet fallback functions - became a known footgun in Solidity development for years afterward.

Key Facts
Deployment Block
893,433
Deployment Date
Jan 23, 2016, 06:32 PM
Code Size
3.2 KB
Gas at Deploy
909,404
Transactions by Year
201617
20173
20222

Description

King of the Ether Throne (KotET) was one of the earliest viral Ethereum dapps, deployed on January 23, 2016 (block 893,433) during the Frontier era by Kieran Elby.

The mechanics were simple: players sent ETH to claim the throne. The claim price started at 10 finney and increased by 50% with each new claim (multiplied by 3/2). The previous throne holder received the new payment as compensation, minus a 1% wizard commission. The contract had 12 monarchs before the bug discovered during its operation led to a successor version.

The contract became widely discussed in the early Ethereum developer community after a subtle bug caused some compensation payments to fail silently during what Kieran called the "Turbulent Age" (February 6-8, 2016). The root cause: sending ETH from a smart contract to a Mist-style contract wallet required more than the standard 2,300 gas stipend included with .send(), causing the call to fail without throwing an exception. Affected payments were eventually refunded manually. Kieran published a detailed post-mortem that became one of the first widely-read smart contract security analyses in the Ethereum ecosystem.

A redesigned v1.0 was later deployed, introducing a multi-kingdom system, a World contract, careful send patterns, and re-entry protection.

Source Verified

SolidityExact bytecode match(3,312 bytes)
Compiler: v0.2.0-

Source published by contract author Kieran Elby in the KingOfTheEtherThrone GitHub repository at commit 54041a8 (v0.3.0, Jan 23 2016). The README at that commit explicitly documents the compiler as 'solidity 0.2.0-67c855c5 without optimization'. Compiling the unmodified source with soljson-v0.2.0-nightly.2016.1.20+commit.67c855c5 (optimizer OFF) produces a byte-for-byte exact match of the 2,833-byte on-chain runtime bytecode.

Heuristic Analysis

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

Detected Type: Unknown

Bytecode Overview

Opcodes3,312
Unique Opcodes142
Jump Instructions128
Storage Operations95

External Links