-
Notifications
You must be signed in to change notification settings - Fork 107
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
Unable to recreate generating the address for SECP256K1 #74
Comments
If someone is able to confirm the spec for me that would be amazing. Specifically the endianness of the bytes, and the last 3 entries for the derivation path. I can only assume they should be 0, but I can't confirm anywhere. |
Hi @ewoolsey, you are using a wrong path. It should be [44, 118, 0, 0, 0] as you said but if you check the data: I'll fix the documentation and make that clearer but that should solve your problem! |
Hey there! Really appreciate the reply, and thanks very much for taking the step to improve the docs. I managed to figure this out a few days ago and can confirm that was the problem. I'm so close to finishing my ledger project written in rust but I'm running into one last problem that I'm unable to solve, which is how to actually package up the signature with a cosmos message payload and transmit that to the chain! If you have some time and feel like lending a hand all of the info is over here |
Documentation has been updated. |
I've been following the spec written here using the cosmos app on my ledger, but I am getting rather unhelpful errors. The exact information that I am sending to my ledger lookalike this
If anyone has any info on what's going on here it would be greatly appreciated. This is specifically trying to return the SECP256K1 public key, and you can see above for the derivation path I am using [44, 118, 0, 0, 0] in 32bit little endian.
The HRP is "cosmos" and HRP_LENGTH is set to 6.
The text was updated successfully, but these errors were encountered: