mirror of
https://github.com/luxfi/chains.git
synced 2026-09-24 00:26:00 +00:00
ee2027bc1b21a7604dbd20f851eb1bbabdcefdf2
Per "kill this version proliferation and have one and one way only": - ExecuteBlock(backend, threads, txs, ctx, state) is the single canonical Go-side entry. Takes everything, returns everything. - ExecuteBlockV1/V2/V3/V4 are marked Deprecated and retained as test-file compatibility shims pointing at the same underlying C ABI. New code MUST use ExecuteBlock. - chains/evm/cevm/parallel/parallel.go switched to ExecuteBlock. parallel test suite still green. The C-side ABI sprawl (gpu_execute_block / _v2 / _v3 / _v4) stays for now — deleting them is a luxcpp/cevm refactor that ripples through internal dispatch. The Go surface that consumers see is single-entry today; the C cleanup is the next bounded follow-up in luxcpp. CALL/CREATE on device — the "100% GPU EVM" gap — remains kernel-side work in luxcpp/cevm/lib/evm/gpu/kernel/. The host-side scaffold (call_frame.hpp, code_resolver.cpp, evmc_bridge.cpp, the GpuHostBridge type) is real but the kernel CALL handler still emits TxCallNotSupported. That's the next multi-week kernel push, not a Go-side change.
Lux Chains
Independent VM plugin binaries for the Lux Network.
Each directory builds to a standalone binary that the Lux node loads as a plugin via --plugin-dir.
Build
make # build all VMs
make evm # build one VM
make test # test all
Install
lpm install evm
lpm install dexvm
Or copy binaries to ~/.lux/plugins/<vmid>.
VMs
| VM | Chain | Purpose |
|---|---|---|
| evm | C-Chain | EVM smart contracts |
| dexvm | D-Chain | Decentralized exchange |
| aivm | A-Chain | AI/ML inference |
| bridgevm | B-Chain | Cross-chain bridge |
| graphvm | G-Chain | GraphQL data layer |
| identityvm | I-Chain | Decentralized identity |
| keyvm | K-Chain | Key management |
| oraclevm | O-Chain | Oracle/off-chain data |
| quantumvm | Q-Chain | Post-quantum consensus signing (Pulsar) |
| relayvm | R-Chain | Cross-chain relay |
| servicenodevm | S-Chain | Service node registry |
| teleportvm | T-Chain | Unified teleport (bridge + relay + oracle) |
| thresholdvm (MPC) | M-Chain | MPC ceremonies (CGGMP21, FROST, Pulsar-general) — bridge custody for external wallets |
| thresholdvm (FHE) | F-Chain | FHE compute + TFHE bootstrap-key generation (encrypted EVM) |
| zkvm | Z-Chain | Groth16 over BLS12-381 (rolls N × ML-DSA-65 sigs into 192-byte proof) |
Languages
Go
98.2%
C
1.7%
Shell
0.1%