Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Add ecRecover support #43

Closed
hewigovens opened this issue Sep 3, 2018 · 2 comments · Fixed by #44
Closed

Add ecRecover support #43

hewigovens opened this issue Sep 3, 2018 · 2 comments · Fixed by #44

Comments

@hewigovens
Copy link
Contributor

hewigovens commented Sep 3, 2018

Recovers the account that signed the data. Example

web3.eth.personal.ecRecover("Hello world", "0x30755ed65396facf86c53e6217c52b4daebe72aa4941d89635409de4c9c7f9466d4e9aaec7977f05e923889b33c0d0dd27d7226b6e6f56ce737465c5cfd04be400")
.then(console.log);

"0x11f4d0A3c12e86B4b5F39B213F7E19D048276DAe"

reference: https://web3js.readthedocs.io/en/1.0/web3-eth-personal.html#ecrecover

@vikmeup
Copy link
Contributor

vikmeup commented Sep 3, 2018

@hewigovens let's finish this one actually, if it looks easy to do and we would be done with web3 provider

@hewigovens
Copy link
Contributor Author

👌

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

Successfully merging a pull request may close this issue.

2 participants