#ethereum #ssz #merkle

r_ssz

SSZ Serialization and Merkleization for Ethereum consensus types

3 releases

Uses new Rust 2024

0.1.2 Jun 15, 2025
0.1.1 Jun 13, 2025
0.1.0 Jun 13, 2025

#6 in #ssz

MIT/Apache

91KB
2.5K SLoC

๐Ÿ” r_ssz

CI CI CI CI

A minimal, readable implementation of Ethereum's [SSZ] in Rust. Built for experimentation, testing, and learning.


โœจ Features

  • SSZ serialization/deserialization for primitive and composite types
  • Full hash_tree_root Merkleization support
  • Supports BitList, BitVector, List, Vector, Option, Union and Container
  • Minimal dependencies
  • no-std support

โœ… Test Coverage

Note:
All implementations have been tested by @Rimeeeeee and @Soubhik-10 using @chainsafe/ssz package.


๐Ÿ‘ฅ Contributors

Contributors

๐Ÿ‘‰ See the full contributor list.


โš ๏ธ Warning

โš ๏ธ This project is intended for experimentation and learning purposes.
It is not production-ready (Maybe it is โ€ฆ you use it at your own risk).


๐Ÿงช Getting Started

Add to Cargo.toml:

r_ssz = "0.1.2"


Dependencies

~6MB
~118K SLoC