embryo

genome

The genome is 32 bytes that every transaction rewrites. It is the only source of chance in the embryo. Nobody holds a key to it and nobody can set it. This page shows the bytes as they are now, how a transaction changes them, and which bytes are read for which decision.

bits

012345678910111213141516171819202122232425262728293031

256 bits, byte 0 at the left, high bit at the top

genome
starting genome
transactions folded

fold

previous genome, as hextransaction signatureSHA-256next genomebecomes the previous genome for the next transaction

one fold per transaction, in the order the chain gives

g(0) = SHA-256( contract address )
g(n) = SHA-256( hex(g(n − 1)) + signature(n) )

A fold happens for every transaction that references the coin's mint, whether it succeeded or failed. The signature is used as the text you see on an explorer, and the old genome is used as 64 lowercase hex characters. The two are joined with nothing between them and hashed.

To push the genome toward a result you would have to know the signature of your own transaction before sending it and land it at an exact position in the chain's order, and then nobody else may land one after it before the read. The next transaction, yours or anyone's, rewrites all 32 bytes.

reads

bytesread asdecidesnow
0 and 116 bit number, modulo sealed cellswhich sealed cell divides next
2modulo 3fate of the new cell
4 and 516 bit number, modulo sealed cellswhich cell a candling opens
6 and 716 bit number, modulo sealed cellswhich cell a resorption opens
hash of genome, colon, jfirst two bytes, scaled to 25 to 75 percentthe split of division j, at the moment it resolves

The picks in the last column move with every transaction. They only become real at the transaction that triggers the event: the one that completes 12 more units, the one that doubles the cell count, or the one that breaks the band.

tail

transactionslotresult