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).