#merkle-tree #solana #merkle

svm-hash

Solana-compatible hashing and Merkle tree utilities

1 unstable release

0.1.0 Oct 3, 2025
0.1.0-beta.6 Aug 20, 2025
0.1.0-beta.1 Jul 14, 2025

#26 in #merkle

Download history 100/week @ 2025-07-13 16/week @ 2025-07-20 1/week @ 2025-07-27 251/week @ 2025-08-03 127/week @ 2025-08-10 387/week @ 2025-08-17 86/week @ 2025-08-24 65/week @ 2025-08-31 36/week @ 2025-09-07 17/week @ 2025-09-14 18/week @ 2025-09-21 146/week @ 2025-09-28 75/week @ 2025-10-05

257 downloads per month

Apache-2.0

50KB
840 lines

svm-hash

A Rust library providing Solana-compatible hashing and Merkle tree utilities.

Features

  • Double hashing: Domain-separated double SHA-256 hashing compatible with Solana.
  • Merkle trees: Complete Merkle tree implementation with proof generation and verification.
  • Generic support: Works with any data type implementing AsRef<[u8]>.
  • bytemuck integration: Zero-copy serialization support with the bytemuck feature.

Dependencies

~0.7–1.7MB
~37K SLoC