An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Merkle Tree in Golang

[![GitHub Actions](https://github.com/jovijovi/merkletree/workflows/Go/badge.svg)](https://github.com/jovijovi/merkletree)
[![codecov](https://codecov.io/gh/jovijovi/merkletree/branch/main/graph/badge.svg)](https://codecov.io/gh/jovijovi/merkletree)
[![Go Report Card](https://goreportcard.com/badge/github.com/jovijovi/merkletree)](https://goreportcard.com/report/github.com/jovijovi/merkletree)
[![PkgGoDev](https://pkg.go.dev/badge/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.