Files
common/packages/trie-db
Jaco Greeff 75c09a9fcf Bump dependencies (#250)
* Bump dependencies

* Bump deps
2018-11-14 14:16:51 +01:00
..
2018-10-24 16:27:58 +02:00
2018-11-14 14:16:51 +01:00

@polkadot/trie-db

A re-implementation of a Patricia Trie. Unlike other implementations, this allows for the specification of a hash function as well as encoder/decoder and operates in a sync fashion by default.

This is a JavaScript port of the Python Ethereum Trie with additions to support transactions (checkpoints) and multiple hashing (npot only Keccak, but also Blake2 as found in Polkadot).

Usage

Installation -

yarn add @polkadot/trie-db

Classes can be imported as follows:

import Trie from '@polkadot/trie-db'; // Default export

Documentation and Available Utilities

Below is a list of currently exposed methods published at the Polkadot-JS Common Documentation Portal.