On this page
One system. Composable layers.

External access to canonical evidence

The mirror system builds committed batch archives, publishes them to Ethereum or Solana, and retrieves them through independently configured chain sources. A consumer can then verify an archived receipt under its own sequencer key configuration without contacting the Paxeer X gateway.

Mirror publication distributes evidence. Paxeer custody and settlement remain governed by their own checkpoint authority and contracts. An external chain's publication confirmation alone does not authorize a Paxeer withdrawal.

Publisher and verifier roles

ComponentResponsibility
layerx-mirror-publisherAcquire committed node data, construct archives, publish to configured targets and track durable progress
layerx-mirror-verifyRead configured mirror sources and verify a committed archive or one archived receipt
MirrorVerifierAdmit a committed archive, return its committed coordinate, and verify a receipt by index under configured sequencer keys
PublicationJournal and archive spoolPreserve publication phases and exact archive material through restart

Trust configuration

The verifier configuration carries layerx_network_id, a receipt_keys list, and a sources list. Each receipt key pins sequencer_id_hex, public_key_hex, and the first_height/last_height window in which that key authorizes receipts. This trust material is configured independently of archive payloads; an archive cannot authorize its own signing key or extend its height window. A configuration with no receipt keys is refused.

SourceIdentity pins
EthereumRPC quorum, chain ID, genesis hash, archive contract, archive code hash and publisher identity
SolanaRPC quorum, genesis hash, archive program, upgradeable loader, program-data account, program code hash and publisher identity

Retain target-chain identity and canonical position with each observation. On Ethereum this includes the observed block and reference head; on Solana it includes the rooted slot and block hash.

Publish an archive

layerx-mirror-publisher /etc/layerx/mirror-publisher.json
layerx-mirror-publisher --probe 127.0.0.1:<status-port>

The second form probes the publisher's status listener for readiness instead of starting the service. Any other argument shape exits with a usage error.

  1. Read committed blocks from the configured Paxeer source, starting at the configured first height.
  2. Build and validate the archive, preserving its exact canonical bytes and content commitment.
  3. Persist publication intent, obtain target-chain signatures and broadcast.
  4. Observe configured chain confirmation or rooting, retrieve the published archive and verify the bytes.
  5. Advance the durable publication cursor only through the recorded publication workflow.

Publisher configuration includes the state directory, first height, polling interval, checkpoint freshness budget in blocks, status listener address, and the Paxeer committed-source section. The Ethereum target is configured explicitly; the Solana section is optional and validated when present.

Recover publication safely

The publication journal distinguishes prepared, pre-broadcast failure, signed, broadcast-unknown, pending, finalized, and retrieved-verified states, alongside permanent refusal, reorganization, and expired broadcast. When broadcast status is unknown, resolve chain history before issuing a replacement nonce or blockhash.

Readiness includes checkpoint freshness against the configured block budget. A healthy process and a completed historical publication do not by themselves establish that every target is current.

Read policies

PolicyBehaviorUse
exactRead one source locator and commitmentAudit a specific publication
ordered-preferenceUse an explicit ordered candidate setControlled source failover
agreementRequire a configured minimum agreement among candidatesCross-source corroboration

A candidate identifies the configured source index and exact archive commitment. Source divergence, insufficient agreement, missing data, RPC divergence and rate limits remain distinct outcomes.

Verify from a mirror

Prepare a verifier configuration with your independent network and source pins, then supply a JSON request on standard input. A receipt request names the archived receipt by its index within the batch. Replace the commitment placeholder with the 32-byte archive commitment:

{
  "batch_number": "12",
  "evidence": {
    "kind": "receipt",
    "index": 0
  },
  "policy": {
    "kind": "exact",
    "candidate": {
      "source": 0,
      "commitment_hex": "REPLACE_WITH_32_BYTE_ARCHIVE_COMMITMENT_HEX"
    }
  }
}
layerx-mirror-verify /etc/layerx/mirror-verifier.json < receipt-request.json

The verifier fetches the archive from the pinned source, checks its commitment and batch, and verifies the sequencer signature over the archived receipt bytes against the receipt key whose height window covers the batch. It does not take receipt bytes from the caller: a request carrying fields such as canonical_hex is refused, because unknown request members are denied. There is no state-proof request in this command; the only other evidence kind is committed, which verifies the archive's committed coordinate without selecting a receipt.

Batch numbers are nonzero canonical decimal strings without leading zeros. Receipt indices at or above 1,048,576 are out of bounds, and the request body is capped at 40 MiB.

Interpret the result

On success the verifier prints { "ok": true, "verification": { ... } }. The verification object contains level, evidenceDigest, sourceId, target, canonicalPosition, provenance, latestBatch, batchLag, failoverCount, agreeingSources, committedHeight, and committedBlockHash. Failures print ok: false with an error code.

The only evidence level is Committed: the archive was admitted under the pinned source commitment and, for a receipt request, the receipt's sequencer signature verified. The report carries no checkpoint level and no signed-header digest. Freshness is reported separately through latestBatch and batchLag and can be unknown. Store the observation and trust configuration with the evidence so later readers can distinguish historical validity from current coverage.

Library verifier

In Rust, MirrorVerifier::from_committed_source or admit_committed admits archive bytes against an observation, refusing a mismatched source commitment or batch. committed() returns the committed height and block hash retained in the archive. committed_receipt(index, keys) verifies one archived receipt under the supplied sequencer height-range keys. Admission of a committed archive does not require a signed batch header, and this verifier surface does not establish native checkpoint assurance; applications requiring that assurance must obtain it through the checkpoint path, not from a mirror report or external-chain finality.

Archive retention and audit

Keep the archive commitment, canonical archive bytes, trusted sequencer key windows, target identity, canonical chain position and evidence verification result together. For settlement audits retain native certificates and independently authorized checkpoint policy as well.

Continue with Relay & Archive Nodes for public history endpoints, Receipts & Proofs for portable verification, and Data Availability for authenticated replay bundles.

Paxeer X · System documentationBack to top ↑

Ask Paxeer X Docs

Answers from the documentation.

What would you like to know?

Ask a question, find a guide, or get help with your next step.

Enter to send · Shift+Enter for a new line