keep-network / tbtc-dapp

Deposit BTC and redeem TBTC
http://dapp.test.tbtc.network/
MIT License
33 stars 31 forks source link

Ledger Live derivation path pattern #359

Closed r-czajkowski closed 3 years ago

r-czajkowski commented 3 years ago

Ref: https://github.com/keep-network/keep-core/issues/2011, https://github.com/keep-network/keep-core/pull/2025

This PR fixes the derivation path for Ledger Live accounts. The pattern for Ledger Live should be m/44'/60'/x'/0/0 instead of m/44'/60'/0'/0/x. The default implementation of LedgerSubprovider from 0x/subproviders package doesn't support this pattern.