EPOBC (Enhanced Padded Order-Based Coloring) is a Bitcoin colored-coin coloring kernel preserved in the ChromaWay / Next-Generation Colored Coin Client code lineage. It identifies issuance and transfer transactions through the first input's nSequence value, then propagates asset value through ordered transaction inputs and outputs.
The lineage inside NGCCC
The surviving repository shows a sequence of increasingly specialized coloring kernels.
On 22 October 2013, Alex Mizrahi committed transaction-composition work for an existing OBC order-based coloring implementation. OBC transaction-composition commit
On 20 November 2013, Jimmy Song committed POBC ("Padded Order-Based Coloring"). Its implementation subtracted a fixed 10,000 satoshi padding from relevant inputs and outputs, then used cumulative ordered value ranges to decide how color moved through a transaction. POBC implementation commit
On 9 February 2014 UTC, Mizrahi committed "EPOBC and required fixes". The diff replaces POBColorDefinition with EPOBCColorDefinition and adds nSequence-based tags plus variable padding. EPOBC implementation commit
A separate nSequence experiment belonged to the same workshop. On 1 November 2013, an NGCCC issue proposed the Bitfield-tagged color kernel (BFTC), which used the bit positions in '''each colored input's** nSequence to indicate recipient output groups. An initial implementation was committed on 28 November, and a second version was merged on 19 December. The December discussion explored a per-transfer power-of-two scale for colored value relative to satoshis. The *9 February 2014 UTC' EPOBC commit moved the BFTC implementation into an *obsolete'', unregistered module. EPOBC likewise uses nSequence, but encodes genesis versus transfer and padding in the first input, rather than BFTC's per-input output map. These were materially different kernels; the record supports coexistence and later replacement in the client, not a claim that EPOBC merely renamed BFTC. Contemporary design issue · Merged second version · February transition
A genesis-padding fix followed on 12 February, with further EPOBC fixes in March. The first implementation commit is therefore an implementation boundary, not evidence that the protocol was already frozen. Genesis-padding fix · March EPOBC fixes
Early EPOBC correctness fixes and tests
The first public EPOBC commit was not a finished, tested kernel. Its source and subsequent diffs preserve several distinct correctness changes. These are direct evidence about revisions to source code, not proof that a particular ChromaWallet download contained any one revision or that a mainnet user experienced a failure.
- 9–12 February 2014: genesis padding. The original genesis transaction composer calculated
padding_needed = g_value - dust_threshold. That sign makes the requested padding non-positive when the colored target is below the dust threshold, exactly the case that needs carrier padding. On 12 February, commitcac5cf92, titled epobc genesis padding fix, reversed the subtraction todust_threshold - g_value. The change is visible as a one-line correction, not merely a maintainer's assertion. Original 9 February implementation · 12 February fix - 4 March: input padding belongs to the previous transaction. The initial transfer scanner subtracted the current transfer's padding from every input's Bitcoin value. Commit
b88e5e7einstead obtained the tag of each input's previous transaction and subtracted that transaction's padding. This matters because EPOBC allows padding to vary between transactions; it is a change to the interpretation of an input's effective colored range. The commit does not by itself establish which historical transactions, if any, changed color under that interpretation. 4 March coloredcoinlib update - 6 March: the missing cumulative-input step. In the original
get_xfer_affecting_inputs,input_running_sumwas initialized to zero and used to compare each input's interval with output intervals, but it was never advanced inside the input loop. That can misidentify or overlook affecting inputs when a transfer has multiple inputs. Commit7dc260a4, titled epobc fix, added the missinginput_running_sum += value_wop. This is a directly inspectable correction to the traversal algorithm, not evidence that any particular trade failed on-chain. Original transfer scanner · 6 March fix - 11 March: an explicit test record, with a known gap. Commit
44a58f42added EPOBC tests coveringnSequencetags, genesis, splitting and joining colored value, and transfer composition. The same checked-in test code has a case for ignore below-padding values commented out with the author's annotation DOES NOT PASS. It documents an unfinished edge case in that revision; it does not establish that every production path behaved like the disabled test. 11 March test commit · Version-pinned tests
ChromaWallet was publicly advertised with EPOBC support on 9 March 2014 (post subsequently edited 11 March), after the two February/March arithmetic fixes but before the 11 March test commit. A source-level chronology is not a build manifest: until the signed preview binaries and their packaged dependencies are recovered, BOMB cannot assert which fixes were actually distributed. Nor has this inspection reconstructed the full EPOBC lineage of the two April mainnet trade examples.
What the "enhanced" kernel encoded
EPOBC gives the first input's nSequence two jobs:
- the lowest six bits identify the transaction as a genesis or transfer transaction;
- the next six bits encode a padding exponent, allowing the carrier bitcoin value to include enough padding to satisfy relay policy without making one fixed padding amount part of the color value.
The project specification records 0x25 as the genesis tag and 0x33 as the transfer tag. A genesis transaction creates a new color and uses its transaction hash as the color identifier. Transfer transactions then use ordered input/output value segments to determine which colored inputs affect which outputs. Project-hosted EPOBC specification
Not an OP_RETURN protocol
EPOBC's own specification says the transaction marker is stored in the first input's nSequence field and explicitly contrasts that choice with an OP_RETURN-based marker. Project-hosted EPOBC specification
Open Assets Protocol made a different architectural choice: its later format uses an OP_RETURN marker carrying explicit asset quantities. Both are colored-coin protocols, but their on-chain encodings are materially different.
When color is lost
EPOBC is an application-layer interpretation, not a Bitcoin consensus rule. Its own specification says that if colored inputs are spent by a transaction that is not a valid EPOBC transfer, their color value is not propagated to the outputs. A malformed transfer can likewise destroy the color even though the Bitcoin transaction itself remains valid. Project-hosted EPOBC specification
That failure mode is one of the recurring themes of Colored coins: Bitcoin can preserve the spend perfectly while a higher-layer asset convention is discarded.
Implementation evidence versus deployment evidence
The NGCCC repository describes itself as a colored-coin client intended to move beyond proof-of-concept implementations toward software usable for securities and other real applications. It contains wallet, transaction-construction, scanning, server and GUI components rather than only a protocol note. NGCCC repository
The February implementation commit alone does not establish a public product release. A 20 December 2013 snapshot of the original ChromaWallet website advertised an NGCCC 0.0.2 testnet-only preview requiring a local Bitcoin node; that predates EPOBC's February 2014 code. On 9 March 2014 (post last edited 11 March), Alex Mizrahi advertised ChromaWallet 0.0.5 preview binaries with EPOBC support, thin-wallet mode and mainnet-by-default configuration, while warning against holding significant funds. This is a dated first-party public preview announcement, not an independent verification of the advertised binaries or a mainnet EPOBC issuance. ChromaWallet preserves the detailed wallet chronology. Original December 2013 website source · March 2014 developer announcement and discussion
The March preview's “thin” description must not be confused with independently validated SPV. In contemporary replies, Peter Todd asked about true SPV, and Mizrahi explained that the available design relied on blockchain.info data. Color-aware tracing additionally requires following issuer-defined transaction history. A faster, less resource-intensive client was an important engineering advance, but the contemporary participants did not claim it was an independently verified end-to-end color index. Contemporary trust-model discussion
April 2014: a contemporary design debate and trade leads
The strongest surviving first-person explanation of EPOBC's padding trade-offs comes from a bitcoin-development exchange of 6–11 April 2014, after the February implementation. Flavien Charlon initially described a colored-coin design that derived quantities from the BTC output amount. Mark Friedenbach objected that the minimum Bitcoin required for individual shares depended on dust policy and could become expensive. Charlon resisted padding at first, while Alex Mizrahi defended the relatively small implementation cost of subtracting a padding value from carrier outputs. This is evidence of the public design arguments in April, not proof that the same exchange motivated the original February EPOBC commit. Contemporary developer exchange, 6–11 April 2014
On 7 April at 11:28 UTC, Mizrahi expressly stated that EPOBC was already implemented in coloredcoinlib, although its documentation was still incomplete. He explained that the first input's nSequence stored a genesis/transfer distinction and per-transaction variable padding, including the zero-padding case. He said this supported transactions mixing colored and uncolored outputs, particularly p2ptrade. The statement directly corroborates the implementation model from the developer's own contemporaneous account. Mizrahi's 7 April explanation
In the same message Mizrahi named two purported mainnet p2ptrade transactions, 8c1926f2e3527153bf06e8ab2c8a417aad3d8e6cd993a4350efbb4050ab961fa and f85b6213939c9cbc14538dd24838061179cac2485f50be20a974b819a85e5ee9. These are now preserved as testable identifiers, not independently established EPOBC transfers: their block confirmation, input ancestry, script signatures and color paths still need verification. ChromaWallet contains the related exchange history and evidence limits. Contemporary transaction leads
Relationship to Ordinals
EPOBC and Ordinal theory both use ordered Bitcoin transaction structure, but they assign meaning differently. EPOBC begins from an explicit genesis transaction and propagates an issuer-defined color under a transfer rule. Ordinal theory numbers all sats globally and follows them whether or not a transaction was deliberately constructed as an asset transfer.
Related pages
- Colored coins
- Open Assets Protocol
- Satoshi serial numbering
- Ordinal theory
- Bitcoin
- ChromaWay
- ChromaWallet
- Alex Mizrahi
- Jimmy Song
Open research
Recover the design discussion that led from fixed-padding POBC to EPOBC before the 9 February 2014 implementation commit, rather than inferring the rationale only from the code diff.
Fetch the two mainnet p2ptrade IDs cited by Mizrahi on 7 April 2014, verify block inclusion and reconstruct their EPOBC color lineage from prevouts and nSequence; then determine whether either is a genuine EPOBC transfer and seek the earliest independently verified EPOBC genesis and real-world issuance.
Recover the signed ChromaWallet 0.0.5 packages advertised in March 2014, identify their packaged NGCCC revision and EPOBC fixes, and compare them with the December 2013 NGCCC 0.0.2 testnet preview. Distinguish the dated public announcement from the first verified mainnet EPOBC issuance and actual use.