Skip to content

personal_sign のサポート #27

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

Closed
m0t0k1ch1 opened this issue Dec 3, 2021 · 0 comments · Fixed by #28
Closed

personal_sign のサポート #27

m0t0k1ch1 opened this issue Dec 3, 2021 · 0 comments · Fixed by #28

Comments

@m0t0k1ch1
Copy link
Contributor

m0t0k1ch1 commented Dec 3, 2021

ref. WalletConnect/walletconnect-monorepo#1395

MetaMask の実装として eth_sign は header を付加しないようになってしまっている ため、eth_sign の方が legacy とみなされがちであり、ethers.js においても JsonRpcSigner_legacySignMessage の中で使われている。一方、personal_sign は JsonRpcSignersignMessage の中で使われているため、サポートしておく必要がある。

実際のところ特に差はなく、同じ実装を採用すればよさそうに思う。

@m0t0k1ch1 m0t0k1ch1 changed the title personal_sign 対応 personal_sign のサポート Dec 3, 2021
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

Successfully merging a pull request may close this issue.

1 participant