chainlink-solana icon indicating copy to clipboard operation
chainlink-solana copied to clipboard

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

Open krebernisak opened this issue 3 years ago • 0 comments

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.

krebernisak avatar Feb 09 '22 13:02 krebernisak