• Kristofer Peterson's avatar
    accounts, signer: fix Ledger Live account derivation path (clef) (#21757) · b71334ac
    Kristofer Peterson authored
    * signer/core/api: fix derivation of ledger live accounts
    
    For ledger hardware wallets, change account iteration as follows:
    
    - ledger legacy: m/44'/60'/0'/X; for 0<=X<5
    - ledger live: m/44'/60'/0'/0/X; for 0<=X<5
    
    - ledger legacy: m/44'/60'/0'/X; for 0<=X<10
    - ledger live: m/44'/60'/X'/0/0; for 0<=X<10
    
    Non-ledger derivation is unchanged and remains as:
    - non-ledger: m/44'/60'/0'/0/X; for 0<=X<10
    
    * signer/core/api: derive ten default paths for all hardware wallets, plus ten legacy and ten live paths for ledger wallets
    
    * signer/core/api: as .../0'/0/0 already included by default paths, do not include it again with ledger live paths
    
    * accounts, signer: implement path iterators for hd wallets
    Co-authored-by: 's avatarMartin Holst Swende <martin@swende.se>
    b71334ac
Name
Last commit
Last update
..
abi Loading commit data...
external Loading commit data...
keystore Loading commit data...
scwallet Loading commit data...
usbwallet Loading commit data...
accounts.go Loading commit data...
accounts_test.go Loading commit data...
errors.go Loading commit data...
hd.go Loading commit data...
hd_test.go Loading commit data...
manager.go Loading commit data...
sort.go Loading commit data...
url.go Loading commit data...
url_test.go Loading commit data...