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

How does signature-based drop prevent MEV stealing? #8

Open
robertu7 opened this issue May 14, 2022 · 3 comments
Open

How does signature-based drop prevent MEV stealing? #8

robertu7 opened this issue May 14, 2022 · 3 comments

Comments

@robertu7
Copy link

robertu7 commented May 14, 2022

Signature-based drop

Each entry of the drop contains private key which is used to sign the address of the receiver. This is done to safely distribute the drop and prevent MEV stealing.

In my understanding, though claim of CumulativeMerkleDrop is an external function that anyone can call, its receiver can receive drop tokens without any harm?

Could you explain more about how signature-based drop prevents MEV stealing? Thanks!

@k06a
Copy link
Member

k06a commented May 14, 2022

@robertu7 QR code contains Private Key, this PK is used to create signature which is argument of the method.

@k06a
Copy link
Member

k06a commented May 14, 2022

To steal this drop you have to know this Private Key. You can’t fake it’s signature.

@robertu7
Copy link
Author

But it's not related to MEV right? This method can protect anyone who doesn't know the private key.

QR code contains Private Key, this PK is used to create signature which is argument of the method.

I am really curious how QR code works, is the private key append as a query string to a claiming website URL, so we can do the rest on client-side? Any demo we can try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants