Skip to content
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 data with private key #320

Closed
simplespy opened this issue Feb 1, 2020 · 2 comments
Closed

Sign data with private key #320

simplespy opened this issue Feb 1, 2020 · 2 comments

Comments

@simplespy
Copy link

Is there any function the same as eth.accounts.sign(data, private_key) in javascript-web3?

ref: https://web3js.readthedocs.io/en/v1.2.0/web3-eth-accounts.html#sign

@tomusdrw
Copy link
Owner

tomusdrw commented Feb 1, 2020

There used to be, see #279 However for now it was removed due to mismatching license.

You can use https://github.com/tomusdrw/ethsign or https://github.com/golemfactory/golem-unlimited/tree/release/0.2/ethkey to handle private keys (but note the license is GPL for those libraries).

@tomusdrw
Copy link
Owner

tomusdrw commented Feb 1, 2020

please track #317 for details.

@tomusdrw tomusdrw closed this as completed Feb 1, 2020
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

No branches or pull requests

2 participants