-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Outdated documentation on eth_sign
#239
Comments
So There are different version of Eth Signing. Try Pulling this PR down and check the code out. Hopefully this helps. |
This is not actually true. Unfortunately, while geth decided to make that change, MetaMask was already supporting applications in production that depended on this method, so we addressed the security with an increasingly salient warning. https://docs.metamask.io/guide/signing-data.html#a-brief-history |
@danfinlay Thank you for the clarification.
Thanks in advance |
@danfinlay I was wondering if you could point me to the implementation of |
Also this documentation says the message is prefixed as well : https://eth.wiki/json-rpc/API#eth_sign |
https://docs.metamask.io/guide/signing-data.html#signing-data-with-metamask
The current documentation says that
eth_sign
is exposed, allowing DApps to sign arbitrary code.If I'm not mistaken, that isn't true since ethereum/go-ethereum#2940 : now
eth_sign
prepends the signed data with a string likepersonnal_sign
does.This is important for me because I need this
eth_sign
function as it was before in order to sign transactions for Moonbeam, an EVM-compatible parachain based on substrate (polkadot)The text was updated successfully, but these errors were encountered: