Lux Proposals
← All proposals
LP-0157Final

Abstract

EVM precompile wrappers for BN254 (alt_bn128) operations: ECADD (0x06), ECMUL (0x07), ECPAIRING (0x08). Wraps LP-146 BN254 first-party body with EIP-196/197 ABI encoding + gas accounting. Hot-path on Lux C-Chain for ZK rollup verifiers and identity proofs. First-party Go + C++ CPU + Metal/CUDA/WGSL GPU.

Specification

Parameters

Algorithm

KAT

Implementation

Go canonical

C++ CPU canonical

GPU kernels

Determinism

Test oracle

Security

References