Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The smart contract for distributions (`zkdrops-contracts/contracts/PrivateAirdro
- Users create a `key` and a `secret`, and concatenate `hash(key + secret)` to create the `commitment`.
- The `commitment` can then be transmitted across a public or private channel without leaking information.
- An admin assembles a Merkle tree of these `commitments` and deploys the smart contracts.
- Users can then redeem with a zero-knoweldge proof that they belong in the Merkle tree without revealing which `commitment` is associated with their public key.
- Users can then redeem with a zero-knowledge proof that they belong in the Merkle tree without revealing which `commitment` is associated with their public key.
- Note that on-chain verification requires ~350k gas.

![zk proof diagram](https://github.com/a16z/zkdrops/blob/main/imgs/merkle_proof.jpg?raw=true)
Expand Down