Back to Home

HumanityCards(HCX)

nft
0xbc9b96e7aa6a...8518ee20f2cc
ByzantiumSource VerifiedEdit this contract
Deployed March 13, 2018 (8 years ago)Block 5,249,869

ERC-721 collectible card game of historical figures. mineCard() costs 0.001 ETH and randomly assigns a figure via weak block.timestamp randomness.

Byzantium EraVerified Source
Token Information
Token Name
HumanityCards
Symbol
HCX
Key Facts
Deployment Block
5,249,869
Deployment Date
Mar 13, 2018, 08:34 PM
Code Size
13.3 KB
Gas at Deploy
3,722,002
Transactions by Year
2018460
202128
20223
2026131

Description

HumanityCards (HCX) is an ERC-721 collectible card game in which every card is a historical figure from human history. It was deployed on March 13, 2018 (block 5,249,869) and is still live.

Mining cards

New cards are created by calling mineCard() and paying the card price, currently 0.001 ETH (1 finney). Each mint randomly assigns one historical figure and forwards the 0.001 ETH directly to the contract owner. Every figure has a fixed maximum supply set when it was added: some are effectively 1-of-1 (Moses, Jesus, Muhammad), while others allow a small number of copies. Once a figure reaches its cap it can no longer be mined and can only be acquired from an existing holder.

Weak randomness

The figure assigned by mineCard() is chosen with int(keccak256(block.timestamp)) % remaining. Because block.timestamp is visible to any contract executing in the same block, the outcome is fully predictable: a wrapper contract can compute the same hash, learn exactly which figure the next mint will produce, and either mint it or revert. This makes targeted sniping of specific rare figures (for example the 1-of-1 Moses, Jesus, or Muhammad) trivial. Deriving game randomness from block.timestamp was a known 2018-era anti-pattern. The flaw has been present since deployment, and the contract still functions exactly as written for ordinary minters.

The figures

The roster spans religious, political, and military figures from across history, including Moses, Jesus, Muhammad, Abraham, Alexander, Napoleon, and Satoshi Nakamoto, among 239 figures in total. New figures can be added by the owner through addHuman(name, max), which also raises the collection's total card supply.

Pre-standard ERC-721

HumanityCards predates the finalized ERC-721 standard. It implements the early draft interface, using the takeOwnership(tokenId) claim pattern alongside approve and transferFrom, and exposes isERC721() and implementsERC721() marker methods. There is no safeTransferFrom, no tokenURI (the only metadata is the figure's name, returned by tokenMetadata), and no approval-for-all. Ownership and balances are tracked through the contract's own card and index structures rather than a standard owner mapping.

Built-in marketplace

The contract includes its own on-chain marketplace. A holder lists a card with createSellOrder(tokenId, price), which escrows the card inside the contract. A buyer fills the order with processSellOrder(id, tokenId) by sending the exact price, which forwards the funds to the seller and transfers the card. A seller can withdraw an unfilled listing with cancelSellOrder.

Current state

As of June 2026, 337 of a possible 18,190 cards have been mined across 239 figures. The mint price is 0.001 ETH and mineCard() remains callable. The deploying account's last activity was January 2019.

Technical details

  • Contract name: HumanityCard
  • Symbol: HCX
  • Compiler: v0.4.21+commit.dfe3193c, optimizer disabled
  • Deployer: 0x6b94a6b94b4689c8d1cc0e76bb5090330df44fad
  • Deployment tx: 0xb945f973473d197bbd04123589e14ad81160b747caf31af5823d8589217c237c
  • Verified on Etherscan

Source Verified

SolidityEtherscan verified
Compiler: v0.4.21

Source verified on Etherscan. Compiler v0.4.21+commit.dfe3193c, optimizer disabled. Pre-final ERC-721 draft interface (takeOwnership pattern, no safeTransferFrom).

Historian Categories

NFT / CollectibleGame
Heuristic Analysis

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

Detected Type: nft

Bytecode Overview

Opcodes13,581
Unique Opcodes235
Jump Instructions442
Storage Operations297

External Links