369 Commits
Author SHA1 Message Date
zeekay 0d5bc75ef9 feat: move all VM implementations into chains/
VMs now live in ONE place: chains/<name>/ owns the full implementation.
Previously split across node/vms/<name>/ (impl) + chains/<name>/main.go
(plugin wrapper). Now consolidated.

New layout:
  chains/<name>vm/*.go              — package <name>vm (VM code)
  chains/<name>vm/cmd/plugin/main.go — package main (plugin binary)
  chains/<name>vm/go.mod             — module github.com/luxfi/chains/<name>vm

Moved 11 VMs: aivm, bridgevm, dexvm, graphvm, identityvm, keyvm,
oraclevm, quantumvm, relayvm, thresholdvm, zkvm.

External callers now import github.com/luxfi/chains/<name> directly.
2026-04-13 05:27:00 -07:00
zeekay b74f5eba49 refactor: rename packages bvm/gvm/qvm/tvm/zvm to match dir names
Consistent naming: directory = package = binary.
- bvm → bridgevm
- gvm → graphvm
- qvm → quantumvm
- tvm → thresholdvm
- zvm → zkvm

Also: delete teleportvm/ and servicenodevm/ chain wrappers.
- teleportvm was duplicate of bridgevm+relayvm+oraclevm (separated chains)
- servicenodevm was renamed to sessionvm and lives at github.com/luxfi/session

One name, one package, one place.
2026-04-13 05:15:42 -07:00
zeekay 696b131a6a refactor: rename packages bvm/gvm/qvm/tvm/zvm to match dir names
Consistent naming: directory = package = binary.
- bvm → bridgevm
- gvm → graphvm
- qvm → quantumvm
- tvm → thresholdvm
- zvm → zkvm

Also: delete teleportvm/ and servicenodevm/ chain wrappers.
- teleportvm was duplicate of bridgevm+relayvm+oraclevm (separated chains)
- servicenodevm was renamed to sessionvm and lives at github.com/luxfi/session

One name, one package, one place.
2026-04-13 05:15:42 -07:00
zeekay 1ddd623fb5 evm: remove deprecated umbrella comment stubs (packages deleted in precompile c81f2b3) 2026-04-13 00:02:37 -07:00
zeekay 1367d71f9a evm: remove deprecated umbrella comment stubs (packages deleted in precompile c81f2b3) 2026-04-13 00:02:37 -07:00
zeekay 62db1ef16d fix: remove deleted aes/chacha20/ecies imports, bump deps
precompile v0.5.10: key-exposure packages removed (C-03)
evm v0.8.49: registry cleaned, precompile dep updated
2026-04-12 20:57:55 -07:00
zeekay 9a69e56aab fix: remove deleted aes/chacha20/ecies imports, bump deps
precompile v0.5.10: key-exposure packages removed (C-03)
evm v0.8.49: registry cleaned, precompile dep updated
2026-04-12 20:57:55 -07:00
zeekay fdc8eef737 fix: remove dead attestation import, drop secret-key precompiles (L-09)
- Remove attestation blank import (no init/module registration, dead code)
- Remove aes, chacha20, ecies (secret keys in calldata are public on-chain)
- Update comments for hpke (seal only) and ring (verify only)
2026-04-12 20:36:10 -07:00
zeekay a448bc8f61 fix: remove dead attestation import, drop secret-key precompiles (L-09)
- Remove attestation blank import (no init/module registration, dead code)
- Remove aes, chacha20, ecies (secret keys in calldata are public on-chain)
- Update comments for hpke (seal only) and ring (verify only)
2026-04-12 20:36:10 -07:00
zeekay 92cf4e52d1 feat: import 10 new precompile packages into Lux EVM
bls12381, poseidon, x25519, xwing, aes, chacha20, pedersen,
babyjubjub, pasta, curve25519
2026-04-12 19:54:46 -07:00
zeekay fb44647653 feat: import 10 new precompile packages into Lux EVM
bls12381, poseidon, x25519, xwing, aes, chacha20, pedersen,
babyjubjub, pasta, curve25519
2026-04-12 19:54:46 -07:00
zeekay c9b1d759ab feat: all 22 explicit precompiles — remove pqcrypto/quantum/threshold umbrellas 2026-04-12 19:36:30 -07:00
zeekay dc55e75702 feat: all 22 explicit precompiles — remove pqcrypto/quantum/threshold umbrellas 2026-04-12 19:36:30 -07:00
zeekay 4b9263cf35 feat: enable all 18 precompiles on C-Chain EVM 2026-04-12 19:20:57 -07:00
zeekay df4f124580 feat: enable all 18 precompiles on C-Chain EVM 2026-04-12 19:20:57 -07:00
zeekay 7412e14089 fix: update evm deps to match node v1.23.x 2026-04-12 18:11:50 -07:00
zeekay e5eddd9130 fix: update evm deps to match node v1.23.x v1.0.0 2026-04-12 18:11:50 -07:00
zeekay ea6e37dc24 feat: VM plugin monorepo — 14 independent binaries
Each VM builds as a standalone binary that the Lux node loads via
--plugin-dir. Node no longer bakes optional VMs in-process.

VMs: evm, dexvm, aivm, bridgevm, graphvm, identityvm, keyvm,
oraclevm, quantumvm, relayvm, servicenodevm, teleportvm,
thresholdvm, zkvm.

All 13 node-dependent VMs compile and report version correctly.
EVM requires CGo (luxcpp) — builds in CI only.
2026-04-12 13:05:45 -07:00
zeekay 6a9c794ae7 feat: VM plugin monorepo — 14 independent binaries
Each VM builds as a standalone binary that the Lux node loads via
--plugin-dir. Node no longer bakes optional VMs in-process.

VMs: evm, dexvm, aivm, bridgevm, graphvm, identityvm, keyvm,
oraclevm, quantumvm, relayvm, servicenodevm, teleportvm,
thresholdvm, zkvm.

All 13 node-dependent VMs compile and report version correctly.
EVM requires CGo (luxcpp) — builds in CI only.
2026-04-12 13:05:45 -07:00