Registry / crypto / celestiaorg-smt

celestiaorg-smt

JSON →
library0.3.0gogounverified

Implements a Sparse Merkle tree data structure for efficient proofs and storage.

go get github.com/celestiaorg/smt
INSTALL
IMPORT
SIG · CELESTIAORG-SMT
C
celestiaorg-smt
cryptogov0.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

smt
github.com/celestiaorg/smt

Create a Sparse Merkle tree and update it with a key-value pair.

import "github.com/celestiaorg/smt" func main() { sm := smt.NewSparseMerkleTree(smt.NewSimpleMap(), smt.NewSimpleMap(), sha256.New()) sm.Update([]byte("key"), []byte("value")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
Amazon
1
Resources
celestiaorg-smt — go get celestiaorg-smt · libregistry