Skip to content

Instantly share code, notes, and snippets.

@mbvissers
Last active September 19, 2022 08:15
Show Gist options
  • Save mbvissers/117c8f75b54ff9b111c6a20c9695c809 to your computer and use it in GitHub Desktop.
Save mbvissers/117c8f75b54ff9b111c6a20c9695c809 to your computer and use it in GitHub Desktop.
const { MerkleTree } = require('merkletreejs')
const keccak256 = require("keccak256")
const leaves = ['0x789','0x456','0x123'].map(x => keccak256(x))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment