Royalty splitter for Imogen Heap's Tiny Human, an early music release with rights and payments handled onchain. Built by BlockApps for Mycelia.
Historical Significance
The first commercial music release in history whose royalty splits were settled by an Ethereum smart contract. Predates Ujo Music (Consensys' formal music platform spinout), Audius, and every later Web3 music protocol. Mycelia was Imogen Heap's vision for a decentralized music database with payment rails enforced by smart contracts; this Tiny Human deployment was the proof of concept. BlockApps, the company that built the contract, was the first independent enterprise Ethereum company (founded 2015 in New York). The contract's existence is the original on-chain receipt of music's encounter with Ethereum.
Context
Deployed 1 October 2015, two months after Ethereum's Frontier mainnet launch on 30 July 2015. Solidity was at v0.1.x; the first npm release of solc-js was less than a year old. There were no formal token standards, no NFTs, no ERC-20, and no marketplace tooling. BlockApps had to invent the entire commerce surface from scratch (board governance, oracle feeds, audit logging, share-weighted distribution). The contract is one of the very first non-trivial commerce contracts deployed on Ethereum mainnet.
Key Facts
Description
TinyHuman is the royalty-splitting smart contract behind Imogen Heap's "Tiny Human," released on her Mycelia project. BlockApps built it. A buyer calls purchase() for a track or an individual stem; the contract splits the payment across eight credited collaborators by share weights, with prices quoted in USD and converted to wei through an oracle-fed ETH/USD rate. It also logs every purchase and every rights transfer onchain. Source reconstructed from bytecode to a near-exact match (34 bytes from byte-exact under solc 0.1.3, optimizer off); the residual difference is compiler-internal codegen. Full reconstruction notes and proof in the linked repository.
Source Verified
Near-exact source reconstruction from runtime bytecode. Compiles under solc 0.1.3+commit.028f561d with optimizer OFF to 5673 bytes, the same length as the onchain runtime. A jump-normalized basic-block comparison matches every block (0 extra, 0 missing): storage layout, all 28 selectors, both events, every getter and every function body are structurally identical. The only remaining difference is the order in which function bodies are emitted. solc 0.1.x emits bodies by iterating a set keyed by AST node pointer address, so the order depends on the compiler's heap state. A fresh compile emits declaration order, while repeated compiles in one session produce other orders. The onchain order is not reproducible from a fresh compile, so the source cannot be verified on Etherscan or Sourcify.
Historian Categories
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).
View Verification ProofShow source code (Solidity)
// Submitted by EthereumHistory (ethereumhistory.com)
contract TinyHuman {
uint public constant TOTALSHARES = 1000000;
uint public constant USDDOWNLOADPRICE = 60;
uint public constant USDSTEMPRICE = 4500;
mapping (bytes32 => mapping (bytes32 => uint)) public shares;
address public admin;
address public oracle;
address public BLOCKAPPS;
address public BOARD_1;
address public BOARD_2;
address public BOARD_3;
mapping (address => address) approvals;
uint public usdEthPrice;
uint public downloadPriceInWei;
uint public stemPriceInWei;
uint public priceLastUpdated;
struct Owner { address addr; bytes32 name; }
Owner[] public owners;
uint public ownersCount;
struct Tx { address buyer; bytes32 collectionId; uint blockNumber; uint value; uint usdEthPrice; }
Tx[] public txLog;
uint public txCount;
struct Transfer { address to; bytes32 collectionId; uint blockNumber; }
Transfer[] public transferLog;
uint public transferCount;
event purchasedRight(address indexed buyer, bytes32 collectionId);
event transferredRight(address indexed to, bytes32 collectionId);
function TinyHuman(address board1, address board2, address board3) {
admin = msg.sender;
BOARD_1 = board1;
BOARD_2 = board2;
BOARD_3 = board3;
owners.length = 8;
owners[0] = Owner(msg.sender, "Imogen Heap");
owners[1] = Owner(msg.sender, "Stephanie Appelhans");
owners[2] = Owner(msg.sender, "Diego Romano");
owners[3] = Owner(msg.sender, "Yasin Gundisch");
owners[4] = Owner(msg.sender, "Hoang Nguyen");
owners[5] = Owner(msg.sender, "Simon Minshall");
owners[6] = Owner(msg.sender, "David Horwich");
owners[7] = Owner(msg.sender, "Simon Heyworth");
ownersCount = 8;
}
function setBlockappsAddr(address a) returns (bool ok) {
if (msg.sender == admin) {
BLOCKAPPS = a;
ok = true;
}
}
function setNewAdmin(address a) returns (bool ok) {
if (msg.sender == admin) {
admin = a;
ok = true;
}
}
function setNewOracle(address a) returns (bool ok) {
if (msg.sender == admin) {
oracle = a;
ok = true;
}
}
function calcDownloadPrice() private returns (uint) { return USDDOWNLOADPRICE * 1 ether / usdEthPrice; }
function calcStemPrice() private returns (uint) { return USDSTEMPRICE * 1 ether / usdEthPrice; }
function setPrice(uint price) returns (bool ok) {
if (msg.sender == oracle) {
usdEthPrice = price;
downloadPriceInWei = calcDownloadPrice();
stemPriceInWei = calcStemPrice();
priceLastUpdated = block.timestamp;
ok = true;
}
}
function setAddr(uint id, address a) returns (bool ok) {
if (msg.sender == admin) {
owners[id].addr = a;
ok = true;
}
}
function changeAdminFromBoard(address newAdmin) returns (bool) {
if (msg.sender == BOARD_1 || msg.sender == BOARD_2 || msg.sender == BOARD_3) approvals[msg.sender] = newAdmin;
if (approvals[BOARD_1] == newAdmin && approvals[BOARD_2] == newAdmin && approvals[BOARD_3] == newAdmin) {
admin = newAdmin;
return true;
} else {
return false;
}
}
function recordPurchase(bytes32 collectionId) private {
Tx memory t;
t.buyer = msg.sender;
t.collectionId = collectionId;
t.blockNumber = block.number;
t.value = msg.value;
t.usdEthPrice = usdEthPrice;
txLog.length = txCount + 1;
txLog[txCount] = t;
txCount = txCount + 1;
for (uint i = 0; i < ownersCount; i += 1) {
if (shares[owners[i].name][collectionId] > 0) {
owners[i].addr.send(msg.value * shares[owners[i].name][collectionId] / TOTALSHARES);
}
}
purchasedRight(msg.sender, collectionId);
recordTransfer(msg.sender, collectionId);
}
function purchase(bytes32 collectionId) returns (bool) {
if ((collectionId == "DOWNLOAD" && msg.value >= downloadPriceInWei) || (collectionId == "STEM" && msg.value >= stemPriceInWei)) {
recordPurchase(collectionId);
return true;
} else {
msg.sender.send(msg.value);
return false;
}
}
function recordTransfer(address to, bytes32 collectionId) private {
Transfer memory tr;
tr.to = to;
tr.collectionId = collectionId;
tr.blockNumber = block.number;
transferLog.length = transferCount + 1;
transferLog[transferCount] = tr;
transferCount += 1;
transferredRight(to, collectionId);
}
function transferRightIfApproved(address to, bytes32 collectionId) {
if (msg.sender == BLOCKAPPS) {
recordTransfer(to, collectionId);
}
}
}External Links
Related contracts
Digix
Same eraThe earliest known attempt to deploy a smart contract on Ethereum mainnet (Aug 7 2015, thanateros.eth). Ran out of gas before code deposit; creation bytecode reconstructed exactly.
0x9a049f...a977a0August 7, 2015Test
Same eraThe earliest known Ethereum contract with executable runtime code. A single function go() that returns the string "eth", compiled with the first publicly available Solidity compiler (v0.1.1).
0x651629...8c21faAugust 7, 2015Greeter
Same eraAn early Ethereum contract that returns the string “Hello World!” when called.
0xfea8c4...8b08ebAugust 7, 2015Greeter
Same eraOne of six HelloWorld Greeter deployments by Linagee on Ethereum Frontier Day 1 - same source, same compiler, greeting: 'Hello World!'
0xd464e6...dc98f3August 7, 2015Greeter
Same eraOne of six HelloWorld Greeter deployments by Linagee on Ethereum Frontier Day 1 - same source, same compiler, greeting: 'Hello World!'
0xf91486...63ea50August 7, 2015Greeter
Same eraOne of six HelloWorld Greeter deployments by Linagee on Ethereum Frontier Day 1 - same source, same compiler, greeting: 'Hello World!'
0x3dbdee...5658a9August 7, 2015