UNPKG
merkle-t
Version:
latest (0.0.8)
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Merkle Tree with Poseidon Hash in TypeScript
github.com/invers-technology/merkle-tree-ts
merkle-t
/
leaf.d.ts
11 lines
(10 loc)
•
191 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
type
Leaf
=
bigint
;
export
interface
LeafInputs
{
zeroHash
:
Leaf
;
hash
():
Leaf
;
toInputs
():
bigint
[]; }
export
interface
OrderedLeaf
{
index
:
number
;
leaf
:
Leaf
; }