JSPM

@ethereumjs/binarytree

10.0.0-dev-rc.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9160
  • Score
    100M100P100Q136638F
  • License MIT

Implementation of binary trees as used in Ethereum.

Package Exports

  • @ethereumjs/binarytree

Readme

@ethereumjs/binarytree

NPM Package GitHub Issues Actions Status Code Coverage Discord

Implementation of Binary Trees as specified in 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.

This package is currently in early alpha and is a work in progress. It is not intended for use in production environments, but rather for research and development purposes. Any help in improving the package is very much welcome.

Installation

To obtain the latest version, simply install the project using npm:

npm install @ethereumjs/binarytree

EthereumJS

See our organizational documentation 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 first.

License

MIT