Web3.js: Request: ecrecover

Created on 3 Mar 2016  路  4Comments  路  Source: ChainSafe/web3.js

Since we have web3.eth.sign, I'm thinking that it would only make sense to also have ecrecover.

enhancement

Most helpful comment

But ecrecover can be done without access to the accounts, so we wouldn't need access to the node?

All 4 comments

This would need to be added to the node as RPC API. Makes probably sense, though we want to move away from singing inside the node.

I plan to add signing and account generation functionality to web3 directly, so we could add this then

But ecrecover can be done without access to the accounts, so we wouldn't need access to the node?

Hi! What is the status of this?

It seems that web3.eth.sign is broken since this https://github.com/ethereum/go-ethereum/pull/2940 got merged into geth, almost a month ago.

Would a PR implementing 'personal_sign' and 'personal_ecRecover' be welcomed?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

baxy picture baxy  路  3Comments

nivida picture nivida  路  3Comments

zamoore picture zamoore  路  3Comments

connectdotz picture connectdotz  路  3Comments

oktapodia picture oktapodia  路  3Comments