Alloy implements high-performance, well-tested & documented libraries for interacting with Ethereum and other EVM-based chains.
We provide:
- alloy: Transports, Middleware, and Networks for the Alloy project.
- core: Core types for Rust Ethereum, RPC types for JSON-RPC, RLP encoding/decoding, a compile-time/run-time ABI encoder/decoder, and a representation of Solidity's type system in Rust for usage in procedural macros and more.
- eips: Standalone Ethereum Improvement Proprosal (EIP) implementations.
- trie: Fast Merkle-Patricia Trie (MPT) state root calculator and proof generator for prefix-sorted nibbles.
- nybbles: Efficient nibble-sized (4-bit) byte sequence data structure.
- chains: Canonical type definitions for EVM-based chains.
- svm-rs: Solidity-Compiler Version Manager, in Rust, for usage as a tool and as a library.
- rlp: Fast implementation of Ethereum RLP serialization.
We also have:
- book: A book on all things Alloy.
- examples: Example code for using- alloyand- alloy-core.
