/merkletree

A Merkle Tree package written in Go.

Primary LanguageGo

Merkle Tree in Golang

GitHub Actions codecov Go Report Card PkgGoDev

A Merkle Tree package written in Go.

This repo forked from cbergoon/merkletree and refactored most of the code.

Features

  • Store merkle tree in byte array
  • Serialization/Deserialize a Merkle tree
  • Calculate merkle tree path
  • Merkle proofs
  • Sort leaves by hash

Install

go get github.com/jovijovi/merkletree

Example Usage

Roadmap

  • Documents
  • Concurrency

License

This project is licensed under the MIT License.