hanzo-vm 1.1.20

Lux VM interface for Hanzo L2 - wraps EVM execution
Documentation

Lux VM interface for the Hanzo L2.

This crate implements the VM engine that plugs into a Lux subnet, wrapping EVM execution behind the Snow consensus interface.

Architecture

Lux Consensus
      |
  HanzoVm (this crate)
      |
  +---------+-----------+
  | StateDb | Precompiles |
  +---------+-----------+
  • [vm::HanzoVm] -- main VM struct implementing [vm::VmEngine].
  • [state::StateDb] -- account/storage persistence (SQLite for dev).
  • [block::Block] -- block and transaction types.
  • [precompiles::PrecompileRegistry] -- custom precompile contracts (PQ signatures, quasar queries, AI inference/embeddings).