← LessonsPIXEL PATH Β· 4–6🌊

Coral Merkle Tree

LESSON 130
🎯 Today's missions
🌊πŸͺΈπŸ 
OCEAN LAB

Coral Merkle Tree

Four reef records must reach another ocean lab unchanged. Build a tree of tiny fingerprints so one changed shell can be found without checking the whole sea.

🧠 Before we start

Firefly Hash Ring used a stable fingerprint to place each name. Today we combine fingerprints into a Merkle tree. One fingerprint at the top summarizes everything below it; if one record changes, only its path to the top changes.

🐚 Fingerprint leavesβ†’πŸ€ Pair themβ†’πŸŒ³ Make one rootβ†’πŸ”Ž Follow changes
Challenge 1 of 4Build the tree program
1

Build the fingerprint program

Tap the instruction blocks in order. Start with each record, then combine upward until one root represents the whole reef.

VISUAL PROGRAM Β· SMALL PARTS COMBINE INTO ONE SUMMARY
1 Β· LEAVES
2 Β· PAIRS
3 Β· ROOT
4 Β· COMPARE

🌟 What you learned

Come back tomorrow for another advanced visual coding adventure! ✨