1/5
## Merkle Trees and Signatures We've covered a lot in this section. So before we send you off to the next section, let's do a quick refresher on all the things we've learned so far. ### Merkle Trees First, we learned about **merkle trees**. A Merkle tree is a data structure that allows us to compress a large amount of data into a single hash, known as the **Merkle root**. Here's how they work: 1. We start with a list of data, each piece of data is called a **leaf**. 2. We hash each leaf. 3. We hash sibling leaves to create a **parent node**. 4. We continue this process until only one hash remains, and that's our Merkle root. ### Signatures We also learned about **signatures**, how different types of signatures work, and how to create signatures with ECDSA. ### EIP-712 EIP-712 is a standard for structured data signing on Ethereum. We are adding it to our contracts in order to implement signing capabilities. ### EIP-191 EIP-191 is a standard for recovering the address of the signer from a signature. ### Conclusion You've come a long way and we are proud of you for completing this section. Now is a great time to take a break, get some ice cream, or go to the gym.
A comprehensive recap of the Mocassin Signatures course - This lesson summarizes the key concepts learned in the course, covering Merkle trees, EIP-712, ECDSA recovery, and the creation of a claim function for secure and efficient token distribution.
Previous lesson
Previous
Next lesson
Next
Give us feedback
Course Overview
About the course
How to build a DeFi stablecoin and customized NFT
How to deploy your smart contract on ZKsync with Moccasin
Advanced testing techniques like stateful and stateless Python fuzzing
How to write algorithmic trading scripts in Python
Hashing signatures, proxies, delegate calls, upgradable contracts, random numbers, and more!
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
On-chain Data Analyst
$59,000 - $139,000 (avg. salary)
DeFi Developer
$75,000 - $200,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Last updated on April 21, 2025
Duration: 2h 21min
Duration: 1h 58min
Duration: 2h 55min
Duration: 1h 55min
Duration: 46min
Course Overview
About the course
How to build a DeFi stablecoin and customized NFT
How to deploy your smart contract on ZKsync with Moccasin
Advanced testing techniques like stateful and stateless Python fuzzing
How to write algorithmic trading scripts in Python
Hashing signatures, proxies, delegate calls, upgradable contracts, random numbers, and more!
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
On-chain Data Analyst
$59,000 - $139,000 (avg. salary)
DeFi Developer
$75,000 - $200,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Last updated on April 21, 2025