UNPKG

@ethereumjs/binarytree

Version:
47 lines (33 loc) 2.83 kB
# @ethereumjs/binarytree `v10` (EXPERIMENTAL) [![NPM Package][binarytree-npm-badge]][binarytree-npm-link] [![GitHub Issues][binarytree-issues-badge]][binarytree-issues-link] [![Actions Status][binarytree-actions-badge]][binarytree-actions-link] [![Code Coverage][binarytree-coverage-badge]][binarytree-coverage-link] [![Discord][discord-badge]][discord-link] | Implementation of Binary Trees as specified in [EIP-7864](https://eips.ethereum.org/EIPS/eip-7864) | | --------------------------------------------------------------------------------------------------------------------------------------------------- | > Binary Trees are a novel cryptographic data structure proposed for use in Ethereum to optimize state storage and proof verification. Unlike Merkle Patricia Tries, Binary Trees use a strict binary branching structure, allowing smaller proof sizes. By reducing storage overhead and improving proof efficiency, Binary Trees aim to enhance Ethereum’s scalability while maintaining robust security guarantees. **Note:** This library is in an **experimental** stage and should not be used in production! ## Table of Contents - [Installation](#installation) - [EthereumJS](#ethereumjs) - [License](#license) ## Installation To obtain the latest version, simply install the project using `npm`: ```shell npm install @ethereumjs/binarytree ``` ## EthereumJS See our organizational [documentation](https://ethereumjs.readthedocs.io) for an introduction to `EthereumJS` as well as information on current standards and best practices. If you want to join for work or carry out improvements on the libraries, please review our [contribution guidelines](https://ethereumjs.readthedocs.io/en/latest/contributing.html) first. ## License [MIT](https://opensource.org/licenses/MIT) [discord-badge]: https://img.shields.io/static/v1?logo=discord&label=discord&message=Join&color=blue [discord-link]: https://discord.gg/TNwARpR [binarytree-npm-badge]: https://img.shields.io/npm/v/@ethereumjs/binarytree.svg [binarytree-npm-link]: https://www.npmjs.com/package/@ethereumjs/binarytree [binarytree-issues-badge]: https://img.shields.io/github/issues/ethereumjs/ethereumjs-monorepo/package:%20binarytree?label=issues [binarytree-issues-link]: https://github.com/ethereumjs/ethereumjs-monorepo/issues?q=is%3Aopen+is%3Aissue+label%3A"package%3A+binarytree" [binarytree-actions-badge]: https://github.com/ethereumjs/ethereumjs-monorepo/workflows/binarytree/badge.svg [binarytree-actions-link]: https://github.com/ethereumjs/ethereumjs-monorepo/actions?query=workflow%3A%22binarytree%22 [binarytree-coverage-badge]: https://codecov.io/gh/ethereumjs/ethereumjs-monorepo/branch/master/graph/badge.svg?flag=binarytree [binarytree-coverage-link]: https://codecov.io/gh/ethereumjs/ethereumjs-monorepo/tree/master/packages/binarytree