Quick Programming
Published in

Quick Programming

Merkle Trees for Smart Contracts in 1 Minute

How to create and use Merkle Trees in Solidity.

Photo by Cytonn Photography on Unsplash

What is a Merkle Tree?

A Merkle Tree is a tree in which every node is labeled with a hash, and every branch is hashed with the contents of its child nodes. The topmost node is called the root and the bottom-most nodes are called the leaves. The leaves are the initial data that is hashed.

--

--

--

Development-related articles.

Recommended from Medium

Java Stream API — int, long and double operations

Vaccinater | vaccine notification

mayukh

WHAT ARE THE BEST PROGRAMMING LANGUAGES TO WRITE GAMES IN

How to Install Extensions (Add-ons) in Mozilla Firefox

How to Install Extensions (Add-ons) in Mozilla Firefox

Flutter Widgets Deep Dive -[Part 1] Square Peg in a Round Hole — Generics in Dart

Make data science easie: How i build a spreadsheet app

Tools that come-in handy for automation

How I broke and fixed(mostly) a Vive controller

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
mbvissers.eth

mbvissers.eth

Always learning👨🏻‍🎓. I occasionally write about programming. Follow me on Twitter @0xmbvissers

More from Medium

Web3 / Solidity Tutorial — Checking if a wallet holds an NFT.

What is ERC165? And Why You Should Use It

Solidity — Structs + Examples

How to develop a Decentralized Application and Run a Decentralized Startup (DS)!