Files
common/docs/trie-hash/README.md
T
2018-11-22 13:34:27 +00:00

32 lines
821 B
Markdown

@polkadot/trie-hash
===================
Calculate ordered and unordered [Trie hashes](https://github.com/ethereum/wiki/wiki/Patricia-Tree) from inputs.
Usage
-----
Installation -
```
yarn add @polkadot/trie-hash
```
Functions can be imported as follows:
```js
import { trieRoot } from '@polkadot/trie-hash';
```
Documentation and Available Utilities
-------------------------------------
Below is a list of currently exposed methods published at the [Polkadot-JS Common Documentation Portal](https://polkadot.js.org/common/trie-hash/).
* [trie-hash](https://polkadot.js.org/common/trie-hash/README.md)
* Functions
* [trieRoot](https://polkadot.js.org/common/trie-hash/modules/_trieroot_.md)
* [trieRootOrdered](https://polkadot.js.org/common/trie-hash/modules/_trierootordered_.md)