$ luarocks install lua-evmA pure-Lua client for Ethereum and any EVM-compatible chain — Polygon, Arbitrum, Optimism, Base, BSC, Avalanche, and other EVM JSON-RPC endpoints.
A JSON-RPC client (with batching), ABI encode/decode for static and dynamic types plus event-log decoding, RLP, EIP-55 addresses, Keccak-256, and transaction signing (Legacy/EIP-155, EIP-1559,
EIP-2930) with arbitrary-precision wei arithmetic.
Read-only use is pure Lua with no install-time dependencies (JSON is in-tree) and runs on PUC-Rio Lua 5.1+ (Lua 5.1 also needs LuaBitOp). Signing requires LuaJIT plus the libgmp and
libsecp256k1 system libraries; evm.signer.AVAILABLE reports whether that backend loaded.
Versions
Dependencies
lua >= 5.1