Back to Home

HugCoin(๐Ÿค—)

Token
0xb83cab8babc0...bf0d89d23b1e
DAO ForkContract #23KExact Bytecode MatchEdit this contract
Deployed August 23, 2016 (9 years ago)Block 2,123,297

An infinite-supply ERC-20-compatible token where every transfer mints a hug. Deployed August 23, 2016 by Jon Romero as a social experiment and Ethereum tutorial

DAO Fork EraVerified Source

Historical Significance

One of the earliest social token experiments on Ethereum โ€” predating the social token wave by years. The concept of permanently recording someone's name on-chain as proof of a received hug foreshadows later on-chain social primitives. The contract is also notable for using an emoji (๐Ÿค—) as its token symbol, an unusual choice for 2016.

Context

August 2016 was three months after The DAO hack and during the contentious period leading up to the Ethereum hard fork. While much of the ecosystem was focused on governance and security, Jon Romero was publishing accessible tutorials showing ordinary developers how to deploy contracts in Mist. HugCoin was a teaching tool that made blockchain experimentation feel approachable.

Token Information
Token Name
HugCoin
Symbol
๐Ÿค—
Key Facts
Deployer
Jon Victory(0x6b365f...54369a)
Deployment Block
2,123,297
Deployment Date
Aug 23, 2016, 10:10 AM
Code Size
1.7 KB
Gas at Deploy
818,468
Transactions by Year
20256

Description

Anyone can claim and send Hug tokens. When a user gives their first hug, they may include a name or message which is stored and indexed on-chain. Each address is allowed exactly one logged message; subsequent hugs still work, but the contract records only the hug itself.

The contract tracks total huggers and stores structured data about hugs, including the recipient address, an associated name string, and the timestamp of the hug. Hug tokens can be transferred between addresses, and the primary interaction pattern is the "giveHugTo" function, which combines token transfer with message recording.

The token has no fixed supply limit, reinforcing its purpose as a symbolic gesture rather than a scarce asset.

HugCoin was deployed on August 23, 2016 and implements an infinite-supply token designed to represent โ€œhugs.โ€ The contract exposes a human-friendly interface, including a name (HugCoin), a symbol (๐Ÿค—), and functions for giving hugs directly to other addresses.

Source Verified

SolidityExact bytecode match(1,715 bytes)

Byte-perfect match on both runtime bytecode (1,715 bytes) and creation bytecode (3,100 bytes, excluding 96-byte constructor args). Verified with soljson v0.3.3, v0.3.4, and v0.3.5 โ€” all produce identical output with optimizer enabled. Source published by the author at github.com/jonromero/ethereum_contracts.

Heuristic Analysis

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

Detected Type: Token
Contains SELFDESTRUCT opcode
Has ERC-20-like patterns

Bytecode Overview

Opcodes1,715
Unique Opcodes136
Jump Instructions78
Storage Operations49

External Links