https://github.com/fuellabs/fuel-merkle-sol
A Solidity implementation of binary, sum, and sparse Merkle trees
https://github.com/fuellabs/fuel-merkle-sol
Last synced: 8 months ago
JSON representation
A Solidity implementation of binary, sum, and sparse Merkle trees
- Host: GitHub
- URL: https://github.com/fuellabs/fuel-merkle-sol
- Owner: FuelLabs
- License: apache-2.0
- Created: 2022-04-04T16:26:26.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-11T23:44:07.000Z (about 2 years ago)
- Last Synced: 2025-05-21T18:34:19.531Z (about 1 year ago)
- Language: Solidity
- Homepage:
- Size: 1.67 MB
- Stars: 56
- Watchers: 20
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fuel Solidity Merkle Trees

[](https://www.npmjs.org/package/fuel-merkle-sol)
A Solidity implementation of a binary Merkle tree (specifically, a Merkle Mountain Range), a sparse Merkle tree, and a Merkle sum tree.
## Building From Source
### Dependencies
| dep | version |
| ------- | -------------------------------------------------------- |
| Node.js | [>=v14.0.0](https://nodejs.org/en/blog/release/v14.0.0/) |
### Building
Install dependencies:
```sh
npm ci
```
Build and run tests:
```sh
npm run build
npm test
```
## Contributing
Code must be formatted and linted.
```sh
npm run format
npm run lint
```
## License
The primary license for this repo is `Apache-2.0`, see [`LICENSE`](./LICENSE).