Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blockchainsllc/in3-trie
Implementation of the patricia merkle tree
https://github.com/blockchainsllc/in3-trie
Last synced: 10 days ago
JSON representation
Implementation of the patricia merkle tree
- Host: GitHub
- URL: https://github.com/blockchainsllc/in3-trie
- Owner: blockchainsllc
- Created: 2018-11-13T09:25:03.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T00:23:29.000Z (almost 3 years ago)
- Last Synced: 2024-11-08T02:15:35.505Z (2 months ago)
- Language: TypeScript
- Size: 265 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# in3-trie
Implementation of the patricia merkle tree in typescript.
This also includes Merkle proofs.## Usage
```js
import {serialize} from 'in3'
import Trie,{verifyProof} from 'in3-trie'const encode = serialize.rlp.encode
// create a new Merkle Tree
const trie = new Trie()// put all transactions of a block into the tree
for (let i=0;i