Skip to main content

Module trustless

Module trustless 

Source
Expand description

Trustless state verification for secure light clients

This module provides verification of:

  1. FROST threshold signatures on epoch checkpoints
  2. Ligerito state transition proofs
  3. NOMT inclusion/exclusion proofs

§Security Model

The trust hierarchy is:

  • Level 0: Trust FROST signer majority (k-of-n honest)
  • Level 1: Everything else is cryptographically verified

The client ONLY trusts that the FROST checkpoint was signed by honest signers. All state after the checkpoint is verified via ligerito proofs and NOMT proofs.

Structs§

CommitmentProof
Commitment tree inclusion proof
EpochCheckpoint
Epoch checkpoint - trust anchor for state verification
FrostPublicKey
FROST public key (aggregated Schnorr key)
FrostSignature
FROST threshold signature (Schnorr)
NomtProof
NOMT merkle proof for inclusion/exclusion
NullifierProof
Nullifier status proof (spent or unspent)
SignerRegistry
Known signer sets for checkpoint verification
StateTransitionProof
State transition proof from checkpoint to current height
TrustlessStateProof
Complete trustless state proof
VerifiedState
Result of successful verification