nectar-primitives
Core primitives for Ethereum Swarm: content-addressed and single-owner chunks, Swarm addresses, and the Binary Merkle Tree (BMT) hasher with proof generation.
Part of the nectar workspace, a collection of low-level Ethereum Swarm primitives in Rust. See the workspace README for the full crate list and project context.
Usage
[]
= "0.1"
use DefaultContentChunk;
let chunk = new.unwrap;
let address = chunk.address;
This crate is no_std compatible (default features enable std).
License
AGPL-3.0-or-later. See LICENSE.