Skip to content
Paxeer X

LayerX kernel

Run, ordered and signedbefore the vote

One sentence defines the kernel. Each clause below gets its own band and its own proof.

  1. The C engine inside every Paxeer X Network node01
  2. that runs each transaction on arrival,02
  3. orders it globally03
  4. and signs a receipt04
  5. before any block is voted.05

Clause 01

The C engine inside every node

LayerX is the execution core of Paxeer X Network, written in C17 and embedded in every paxd node through a Go host.

Native operations and EVM transactions execute against the same chain state, so builders get one predictable engine instead of several loosely connected ones.

Sub-chains are tenant domains of the same network, so they run on the same kernel rather than a separate one.

C17 kernel
Fixed-width big-endian encoding.
Deterministic by construction
No floating point, no local wall-clock reads, no unstable database iteration.
Strict build
Strict warnings are treated as errors in the build.
Fine linework of a node with a single module slotted in, one blue point on the module.

Clause 02

Runs each transaction on arrival

You do not wait for a block to learn whether a transaction worked. The kernel executes it as it reaches the node.

Journal, then commit

The kernel applies each transaction through a state journal, then commits the effects or rolls them back if a module refuses. Nothing half-applied reaches the chain state.

Refusals are accounted for

Sequence and fee bookkeeping follow the active fee policy, so a refused action is still accounted for. The receipt reports the result code, effects and fee charged.

Exact account order

Each activity must match the actor's next account sequence exactly, which stops replays and gaps. Signed activities use Ed25519.

Clause 03

Orders it globally

Every executed transaction takes the next position in one sequence, so there is no ambiguity about what happened first.

Height
Height and the range of positions it covers.
Previous hash
Hashes linking it to the previous batch.
Transaction root
A transaction root.
Batch signature
A batch signature, checked by the Go sequencer module for continuity before the new position is recorded.

A discontinuity, or a second batch in one block, is rejected.

Clause 04

Signs a receipt

A receipt lets you prove what the network did with your transaction, to yourself or to a third party.

Activity
The activity and its global sequence number.
State roots
State roots before and after.
Outcome
Result code, effects and fee charged.
Versions
Module and parameter versions in force.
Programs
For programs, resource metering and call-graph commitments.

The batch carrying the receipt is signed with an Ed25519 receipt key, and the network pins which keys are valid for which heights.

Clause 05

Before any block is voted

The receipt is signed when the transaction executes. It becomes final when its block is committed.

The kernel builds the block

The kernel already holds the ordered, executed transactions, so the proposer places a sequence batch at the first transaction slot. Validators check it against the governed leader schedule, replay the block and reject any mismatch.

Two machines, one result

Replaying the same ordered input must give the same receipts and state roots on any machine. Time rules read the committed batch timestamp, and oracle data enters as signed, ordered activities.

Node recovery keeps a write-ahead log so uncommitted execution can be reconciled with the committed head.

A rail yard at blue hour with many tracks converging into one line.

Read next

One order, one history, replayable on any machine

The kernel runs, orders and signs in one mechanism, so every result is a record you can replay.

Start building