Back to Home

Greeter

Utility
0xda0c1c188213...13ae267a68eb
FrontierContract #30Exact Bytecode MatchEdit this contract
Deployed August 8, 2015 (11 years ago)Block 52,444

A Greeter with the message 'Ethereum will change the world smarter' - deployed Aug 8, 2015 by a developer connected to the Tokyo Smart Contract meetup.

Frontier EraVerified Source

Historical Significance

The Contract Tutorial was the introduction to Solidity that shipped with go-ethereum, and deploying the greeter was its final step. Each copy therefore preserves the sentence its author chose to write onto a public chain while learning the tools. The Solidity source here was recovered by compiling the tutorial text with period compilers until the output matched the deployed bytecode exactly.

Context

Ethereum's Frontier network went live on 30 July 2015. The Contract Tutorial on the go-ethereum wiki, which the Frontier Guide included by reference, was the standard introduction of that period, and it named its three contracts mortal, greeter and token. Solidity was a few months old, contracts were compiled and deployed from the geth console, and no block explorer of the time kept the source, so the greeters survive as bytecode alone.

Key Facts
Deployment Block
52,444
Deployment Date
Aug 8, 2015, 08:13 AM
Code Size
820.0 B
Gas at Deploy
243,054
Transactions by Year
20151

Description

The greeter is the worked example of the Contract Tutorial on the go-ethereum wiki. It inherits a base contract named mortal, which records the account that created it and exposes kill(), a function that self-destructs the contract and sends its balance to that account. Only the creator can call it.

The greeter itself adds one string. The constructor stores the greeting given at deployment and greet() returns it. There is no setter, so the greeting a copy is born with is the only greeting it ever has, and no account other than the creator can affect it.

This copy was deployed with the greeting: Ethereum will change the world smarter Seventy-five blocks earlier the same account sent 3 ether to 0x4b0c6f0297cee4b551b6fab3277067b64b238990, which deployed its own greeter at block 52,918 carrying the greeting: Hello world from 0804 Smart Contract Japan meeting!

Source Verified

SolidityExact bytecode match(820 bytes)
Compiler: v0.1.1+

Creation TX (820 bytes) = compiled Greeter base (692 bytes) + ABI-encoded 'Ethereum will change the world smarter' (128 bytes). soljson v0.1.1+commit.6ff4cd6a, optimizer OFF.

Historian Categories

Experimental
Heuristic Analysis

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

Detected Type: Utility

Bytecode Overview

Opcodes820
Unique Opcodes84
Jump Instructions31
Storage Operations11

External Links

Related contracts