https://github.com/jovijovi/merkletree
A Merkle Tree package written in Go.
https://github.com/jovijovi/merkletree
merkle-proof merkle-tree merkletree
Last synced: 4 days ago
JSON representation
A Merkle Tree package written in Go.
- Host: GitHub
- URL: https://github.com/jovijovi/merkletree
- Owner: jovijovi
- Created: 2021-06-24T11:58:38.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-16T08:37:20.000Z (almost 4 years ago)
- Last Synced: 2025-09-24T10:50:26.378Z (19 days ago)
- Topics: merkle-proof, merkle-tree, merkletree
- Language: Go
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Merkle Tree in Golang
[](https://github.com/jovijovi/merkletree)
[](https://codecov.io/gh/jovijovi/merkletree)
[](https://goreportcard.com/report/github.com/jovijovi/merkletree)
[](https://pkg.go.dev/github.com/jovijovi/merkletree)A Merkle Tree package written in Go.
This repo forked from [cbergoon/merkletree](https://github.com/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
- [Samples](merkle_test.go)
## Roadmap
- Documents
- Concurrency## License
This project is licensed under the MIT License.