-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Sign and verify arbitrary payloads #2379
Comments
Maybe we should add a flag like |
That would be awesome, |
I am looking to use |
Hey @CodeSandwich, I implemented the |
Hi @marcuspang, yes, that's exactly it! |
I believe this issue is resolved with #7180 using the |
Component
Cast
Describe the feature you would like
We can sign and verify messages using
cast wallet sign
, they get the\x19Ethereum Signed Message:\n
prefix before being hashed. It'd be great to be able to do the same with arbitrary payloads.This could be used to tinker around with all kinds of signed things:
permit
payload.It's crucial to be able to provide a raw 256-bit payload (hash) to be signed. Being able to provide a payload which needs to be hashed first would be a nice addition, but not necessary, it'd save a call to
cast keccak
.Additional context
No response
The text was updated successfully, but these errors were encountered: