freecoding.school100% FREE · NO SIGNUP
The Seven LayersISSUE #33 of 73

GENESIS · combine public + private → instance

OMNIVSThe Silent Failure
OMNI saysGENESIS — combine public and private seeds into an instance; equivalent to BOOT (v3.2).

GENESIS (v3.2, engine tier) is the genesis-loop verb: GENESIS(public, private) fuses the shared public seed and the user's private seed into a personalized instance — the molecular equivalent of BOOT. It builds on SEED's determinism, and the resulting first boot COMMITs the chain's first block. GENESIS is how "a user" comes into being in the system without any central account record.

Power-ups you unlock

The Silent Failure attacks — common mistakes

Boss battleWrite a GENESIS that derives an instance and commits block 1.

Example code

<!doctype html><html><head><meta charset="utf-8"></head>
<body style="background:#06040d;color:#b388ff;font-family:monospace;padding:20px"><pre>genesis(pub, priv){               // ≡ BOOT
  const inst = seedState(pub + priv);
  commitBlock('GENESIS', inst);   // block 1
  return inst;
}</pre></body></html>
▶ Open the interactive comic issue
‹ SEED · Build Deterministic State From A SeedCOMMIT · Append A Block To The Chain ›