UNPKG

@zk-kit/merkle-tree

Version:
11 lines (8 loc) 168 B
export type Node = any export type HashFunction = (values: Node[]) => Node export type Proof = { root: Node leaf: Node siblingNodes: Node[] path: (0 | 1)[] }