Closed bokobza closed 4 months ago
@gre What about this one and https://github.com/LedgerHQ/ledger-wallet-webtool/pull/25? Any chance of having someone look at it? Thanks
@gre Now that the desktop app is out, I guess it's a good time to fix it in there?
The goal of this PR is to update the values of Stratis' Extended Public and Private Key prefixes in Ledger applications, in order for them to be in line with the ones from Stratis' code.
At the moment, Ledger applications have the following values for Stratis' Extended Public and Private Key prefixes: 0x0488C21E/76071454 for ExtPubKey 0x0488B2DD/87393172 for ExtPrivKey.
Stratis' BIP44 compatible wallet uses different values for these prefixes. The values in use are the same as Bitcoin: 0x0488B21E/76067358 for ExtPubKey 0x0488ADE4/76066276 for ExtPrivKey
See here: https://github.com/stratisproject/StratisBitcoinFullNode/blob/master/src/NBitcoin/Networks.cs#L425