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

Trim 0x when importing secp256k1 private key #106

Closed
matevz opened this issue Jul 11, 2023 · 0 comments · Fixed by #231
Closed

Trim 0x when importing secp256k1 private key #106

matevz opened this issue Jul 11, 2023 · 0 comments · Fixed by #231
Assignees
Labels
bug Something isn't working wallet Wallet-related operations

Comments

@matevz
Copy link
Member

matevz commented Jul 11, 2023

  1. oasis wallet import
  2. select raw private key
  3. select sep256k1
  4. paste private key
  5. if the key starts with 0x which is often in Eth world, CLI complains that it's not a valid hex value.

Expeceted behavior:
Automatically trim the leading 0x characters, if they exist, and then import the private key without complaining.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wallet Wallet-related operations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants