Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lucid/src/utils/merkle_tree.ts>MerkleTree.fromHashes

Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.
Go to Latest
method MerkleTree.fromHashes
import { MerkleTree } from "https://deno.land/x/lucid@0.7.8/src/utils/merkle_tree.ts";

Construct Merkle tree from sha256 hashes

Parameters

hashes: Array<Hash>