-
Notifications
You must be signed in to change notification settings - Fork 69
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
Add Etherum Signature Support @ CLI #219
Comments
@jacogr Just to clarify: we want to be able to sign transaction from our dev address, which is generated from a private key or from mnemonic+derivepath, how do we do that from the cli (which only accepts seeds as of now)? |
See https://github.com/polkadot-js/tools/blob/master/packages/api-cli/src/api.ts#L208 It should "just work" if this is adjusted and a hex privateKey is passed - https://github.com/polkadot-js/tools/blob/master/packages/api-cli/src/api.ts#L75 (theoretically, types would need to be passed alongside as well) |
@notlesh Do you mind cloning this branch: https://github.com/PureStake/tools/tree/jlm-add-eth-derivation-to-cli |
@notlesh Actually nvm the mnemonic and private key I mentioned above, those aren't for Gerald and I don't know the mnemonic for Gerald |
@jacogr When trying to test #220 I try to run
|
The above is hopeful fixed in master. Took me ages to take a look, it has not worked since the update to the 4.x api (Attempted a fix as part of an unrelated issue where docker was also problematic) |
Are you refering to ES module error or Ethereum singing itself? @jacogr |
ES module error as described. |
Unfortunately this #239 is still a thing |
While the api supports ethereum signatures (e.g. polkadot-js/api#2499), the CLI does not accept anything other than
sr25519
ored25519
.The text was updated successfully, but these errors were encountered: