evm

command
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2026 License: BSD-3-Clause Imports: 42 Imported by: 0

Documentation

Overview

Backend selection (cgo build): wire the C++ EVM (cevm) into the parallel-execution registry and pick the best available backend.

Linking the github.com/luxfi/chains/evm/cevm package under cgo brings in the luxcpp/cevm shared libraries (libevm, libevm-gpu, libluxgpu, libcevm_precompiles), which is the prerequisite for cevm-based execution.

Whether cevm is actually selected depends on the upstream luxfi/evm build tags: the C++ executor is registered by core/parallel only when luxfi/evm is itself built with `-tags cevm`. In that case AutoEVM resolves to CppEVM. Otherwise AutoEVM falls back to GoEVM (geth) — the pure-Go path — without losing the GPU ecrecover bridge that is registered separately under `cgo && darwin`.

Lux EVM plugin — C-Chain EVM with all precompiles enabled.

Every precompile is explicitly imported. No umbrella packages. Genesis determines which are active at which block/timestamp.

Directories

Path Synopsis
Package cevm provides Go bindings to the C++ EVM (cevm) with GPU acceleration.
Package cevm provides Go bindings to the C++ EVM (cevm) with GPU acceleration.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL