Intro to Liqua
Liqua is a continuous, liquidity-native molecular chain — emission, decay, validation reward and governance quorum are all functions evaluated every block, with no epochs or halving cliffs. This codex is the operator's manual: how to run a peer, how to mine, and how to validate — using the real binaries that ship in this repo.
What Liqua is
Liqua takes the molecular / dual-seed design and ships it as a working chain. Five mechanics define it, and each is specified in full in the canonical spec (§0–§8):
- SOMA-256 (§1) — the content hash. A house construction on audited BLAKE3 whose Merkle tree mirrors the cell→organ stack; keccak-256 at the EVM membrane.
- ve-lock (§2) — vote-escrow staking on a sliding scale up to 4 years. Longer lock → more ve-weight and a modest reward boost (capped at +50%). Principal is withdraw-locked until expiry.
- Locked-liquidity list (§3) — every lock is published to a public proof-of-lock dashboard.
- Continuous emission (§4) — block reward = smooth decay envelope × validation work performed × a bounded fast-twitch term, evaluated per block.
- Reward-in-instance (§5) — block reward is escrowed in a generated (public, private)-seed instance and claimed via a gated L2 tool. claim path — roadmap
- 98% governance (§6) — both rollback and parameter change require 98% of attesting ve-weight in a rolling window.
The three roles you can run
A Liqua deployment is made of three operator roles. Start with whichever matches what you want to do — each tutorial is self-contained and uses only the binaries in this repository.
lnode://, form an encrypted mesh, and gossip blocks & transactions. The base layer everything else rides on.The validator flow connects an L8 LEDGER wallet (via EIP-6963) or imports an L8 signer key
(BIP-44 m/44'/60'/account'/0/0). Start with Get a Wallet — it
covers the dual-seed model, the three ways to connect, and the devnet faucet for test LIQUA.
Architecture at a glance
One node boots the whole stack — BOOT IS GENESIS (R7). Mining and validation are surfaces layered
on top of the same molecular primitives in chain/:
┌─────────────────────────────────────────────┐
operator surfaces ───▶ │ miner CLI/dash GPU pool validator connect │
└────────┬───────────────┬─────────────┬──────┘
▼ ▼ ▼
SOMA-PoW seal (§4) Ethash → SOMA bridge ve-lock + §1e attest (§2)
│ │ │
┌───────────────────────────────┴───────────────┴─────────────┴──────┐
EVM execution state · tx · produceBlock · stateRoot = SOMA · keccak membrane
├──────────────────────────────────────────────────────────────────┤
protocol STATUS genesis-gate · tx / block gossip (dedup + relay)
├──────────────────────────────────────────────────────────────────┤
transport encrypted TCP · secp256k1 ECDH → ChaCha20-Poly1305 frames
├──────────────────────────────────────────────────────────────────┤
discovery discv4-style UDP · Kademlia k-buckets · lnode:// identity
└──────────────────────────────────────────────────────────────────┘
identity = a booted genesis instance (R6 · instance = auth)
Quickstart · bring it all up
Everything is plain Node ≥18 with audited crypto deps. Two install roots: the chain surfaces live in
liqua/, the networking node lives in liqua/node/.
# ── chain surfaces (miner · pool · validator) ──
cd liqua
npm install
# ── networking node (peer / discovery) ──
cd node
npm install
cd ..
The fastest way to see Liqua running is the Server Hub — a local control panel with a launch all button for every server:
node server-hub.mjs # opens the panel at http://localhost:7071
Or start the pieces directly — each is its own tutorial:
node miner/cli.mjs run # SOMA-PoW miner + dashboard → :8010 (see Mining)
npm run pool # Ethash GPU pool → stratum :3333 · dash :8030 (see Mining)
node miner/validator.mjs # validator node + connect page → :7100 (see Validator)
node node/start.mjs --seed genesis --port 30303 # peer node (see Peer)
Pick your path
liqctl control plane.Canonical surfaces
The docs are the operator's manual; these are the source-of-truth surfaces they point at.
| Surface | What it is | How to open |
|---|---|---|
| The Spec | §0–§8 — the full chain design | static · open anytime |
| Build Status | mission-control board · what's done / in-progress / todo | static · open anytime |
| Server Hub | launch / stop / tail every Liqua server | needs node server-hub.mjs |
| Locked Liquidity | §3 proof-of-lock dashboard | static · exported by the locker |
| Investor Brief | the non-technical overview | static · open anytime |
| Peer dashboard | live node · peers · blocks · PRODUCE button | needs the peer on :8040 |
| Miner dashboard | live SOMA-PoW control + block explorer | needs the miner on :8010 |
| Pool dashboard | live Ethash pool · on-chain balances | needs the pool on :8030 |
| Validator connect | stake · ve-lock · co-sign UI | needs the validator on :7100 |
Roadmap · what isn't built yet
Honest scope — this codex documents what runs today and flags what doesn't. These gaps are called out again inside the relevant tutorials, and each is a candidate for its own future codex page.
Pages added since the first cut: Get a Wallet · Genesis Operator · Smart Contracts · Governance. They document what runs today and point at the gaps below.
- §5 reward claim now wired + verified —
evm/reward-instance.mjsderives the dual-seed instance andevm/claim-tool.mjsis the miner's L2 getting-tool;npm run claim:testPASS (gated by confirmations · R6 instance = auth · no double-claim · conserved + swept). Residual: makingseal()the default live-emission path (todayproduceBlockcredits the coinbase so the pool/validator keep native liquidity). - Interactive governance —
Governor98runs on-chain, but there's no surface to create proposals and cast votes (today it's the demo + direct calls). See Governance. - Persistence & NAT — the pool's L1 chain is in-memory (the payout ledger persists); peers have no NAT traversal yet (LAN / public IP / localhost only).
- Genesis block distribution — peers agree on the genesis id via the STATUS gate, but a bootnode that serves the full genesis block + sync-from-height-0 isn't wired. See Genesis Operator.
The §5 claim seam — the one I kept flagging as highest-leverage — is now closed and verified. The remaining items are infrastructure (governance UI · L1 persistence + NAT · genesis-block sync).