One of the earliest messaging contracts on Ethereum, allowing users to send on-chain messages stored by content hash.
Historical Significance
One of the first on-chain messaging systems deployed on Ethereum mainnet. Built by the same developer who deployed the simpler MessageStore (rank 27, verified on Etherscan), this contract represents their more complete messaging implementation with sender tracking and timestamps.
Context
Deployed during Ethereum Frontier week 1 by a prolific developer who deployed 31 contracts in the first days. This messaging contract sits between their simple MessageStore (rank 27) and other experiments.
Key Facts
Description
A messaging contract deployed at block 53,108 (August 2015) on Ethereum Frontier. Users call sendMessage(address, string) to store a message on-chain, indexed by sha3 hash. Messages are stored as structs containing the sender address, content string, and timestamp. The contract tracks all message hashes in an array accessible via getMessageHashes(). Individual messages can be retrieved by hash using getMessageContents() and getMessageTime(). Same deployer (0x8674c218) as the MessageStore at rank 27 and the Ponzi at rank 33.
Source Verified
near_exact_match: reconstructed source produces 1387b runtime (target 1377b = 99.3% match) with soljson v0.3.1 no-opt. All 4 selectors confirmed via openchain.xyz. 10-byte diff likely from minor sha3 arg or struct assignment variant.
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
Source verified through compiler archaeology (near-exact bytecode match).
Show source code (Solidity)
contract Messaging {
struct Message {
address sender;
string contents;
uint time;
}
mapping(bytes32 => Message) messages;
bytes32[] messageHashes;
function sendMessage(address to, string content) {
bytes32 h = sha3(msg.sender, to, content);
messages[h] = Message({sender: msg.sender, contents: content, time: block.timestamp});
messageHashes.push(h);
}
function getMessageContents(bytes32 hash) constant returns (string) {
return messages[hash].contents;
}
function getMessageTime(bytes32 hash) constant returns (uint) {
return messages[hash].time;
}
function getMessageHashes() constant returns (bytes32[]) {
return messageHashes;
}
}External Links
Related contracts
Ponzi
Same deployerOne of the earliest Ponzi schemes on Ethereum - a 102% payout contract where new deposits fund earlier investors, deployed on Frontier Day 4.
0xce44c7...75f579August 8, 2015MessagingContract v2
Same deployerAn upgraded on-chain messaging contract with per-address message tracking and delete functionality, from the same Frontier developer who built the simpler Messa
0x18991f...dfff72August 8, 2015MessageStore
Same deployerA 6-line contract storing a single public string, deployed Day 9 of Ethereum by a prolific early experimenter who shipped 18 contracts in one week.
0xd2eccd...ff3d6bAugust 8, 2015OnChainProfile
Same deployerAug 8 2015 deploy by 0x8674c218 — one of the most prolific contract deployers of Ethereum's first day. Sibling of the verified MessagingContract / Ponzi / Messa
0x4ab020...f9d97dAugust 8, 2015MessagingContract
Same deployerAn on-chain messaging contract with per-address tracking and delete functionality, by the same Frontier developer who iterated on messaging across four deployme
0x97b29a...7c3532August 8, 2015MessagingContract v3
Same deployerAn on-chain messaging contract that adds a nonce for unique message hashing, part of a four-deployment messaging iteration on Frontier.
0xd51ead...6130efAugust 8, 2015