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

We should make Gauntlet default BIP44 path (used with Ledger) consistent with Terra #193

Open
krebernisak opened this issue Feb 9, 2022 · 0 comments

Comments

@krebernisak
Copy link
Collaborator

Currently, the default path is defined as:

export const BIP44_SOL_PATH = "44'/501'"

The reason for this was as the Solarium wallet uses it as their default, so our non-technical users are accustomed to it.

The BIP44 spec defines the path as:

m / purpose' / coin_type' / account' / change / address_index

..and on Gauntlet Terra (original discussion) we have it defined as:

export const BIP44_LUNA_PATH = "44'/330'/0'/0/0"

Ideally, we try to be consistent and change the default Solana path as:

export const BIP44_SOL_PATH = "44'/501'/0'/0/0"

The benefits are consistency, and also using the full BIP44 path which allows the users to have multiple separate accounts on the same Ledger device (PK). The default (0. account) is just convenience, users can choose their own using a flag --ledgerPath.

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

No branches or pull requests

1 participant