-
Notifications
You must be signed in to change notification settings - Fork 10
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
Custom HD Path #2
Comments
We assume there is some existing API in the sdk to control the path used in the keychain and cli commands. If there is no access, this will require forking the cosmos sdk and be L or epic |
Large question is the ledger app. We could probably use This needs some investigation and planning by @webmaster128 first. We can test this with CosmJS first, then add compatibility |
In cosmos/cips#11 a HD derivation path spec for the multi-chain world is proposed. It is currently waiting for review and Ledger implementation. |
TL;DR: Given the state of discussion in the ecosystem with little support for chain specific paths in a shared Ledger app, I would use the Cosmos Hub derivation path. There is no doubt that we'll want/need to use the Cosmos Ledger app for mainnet launch. Currently the Cosmos Ledger app sets the path
Ledger Live iterates over index 2 (account) and other tools iterate over index 4 (address). With that we have very little flexibility to choose a different path in the current app. It would feel like big time hackery to use some high number in position 2 or 4. |
Let's just use the standard cosmos hub one |
We should define our own HD path for the chain. Ask @webmaster128 what it should be, but it should be compatible with the ledger app. Our command line tools should use this path by default for key generation. (And our web tools will customize this in CosmJS)
The text was updated successfully, but these errors were encountered: