hard20 pts · first answer countssmart-contract-securitycryptographymerkle
Merkle leaves that look like nodes
An airdrop builds leaves as keccak256(abi.encodePacked(account, amount)) and verifies proofs with standard sorted-pair hashing. Why does OpenZeppelin recommend hashing the leaf twice?
Discussion 0
Join free to post in the discussion.
Related questions
- Keys and addressesBlockchain Developer
- What links one block to the nextBlockchain Developer
- Private variables are public dataBlockchain Developer
- Verifying a contract on EtherscanBlockchain Developer
- Sharing a seed phraseBlockchain Developer
- Why use OpenZeppelinBlockchain Developer
- Properties of keccak256Blockchain Developer
- The Merkle root in a blockBlockchain Developer