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

Include curve-type when returning public key #381

Closed
3 tasks
robdefeo opened this issue Nov 13, 2019 · 2 comments · Fixed by #534
Closed
3 tasks

Include curve-type when returning public key #381

robdefeo opened this issue Nov 13, 2019 · 2 comments · Fixed by #534
Labels

Comments

@robdefeo
Copy link
Member

robdefeo commented Nov 13, 2019

Is your feature request related to a problem? Please describe.
A public key can be of different types, secp256k1, ed25519, sr25519, with the addition of substrate to send a message it will need to know what curve-type is used to be able to decode it ref #52

Describe the solution you'd like

  • Including the key type of the found public key
{
    "public_key": "0x369bb60e6d99e30144e8fab8087bd7d171ba7b5dbf691b87319584b3d6c1892c"
    "curve-type": "secp256k1"
}
@abadojack
Copy link
Contributor

@robdefeo Can I have this assigned to me?

@robdefeo
Copy link
Member Author

Assigned :) Thanks @abadojack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants