Bitcoin Forum
May 05, 2024, 12:11:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BTC vs BCH hardware wallet public address generation  (Read 169 times)
hashslinger (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 7


View Profile
June 02, 2019, 12:03:58 AM
Merited by LoyceV (2), ABCbits (1), o_e_l_e_o (1)
 #1

I accidentally sent some BTC to a BCH address. It is an insignificant amount, but it made me realize that Electrum (legacy) wallets do not generate addresses in the same order as Electron or perhaps they use a different depths. If I recall correctly there are a few numbers which can be changed when generating a wallet 'x/y/z' where x is the BIP implementation and z is the depth.  Presumably, I should be able to see the BTC in Electrum if the client searches the blockchain for transactions.

Electrum: 3.3.6
Electron:   3.3.1
Operating System: Linux

I didn't provide the other specs, because I am more interested in understanding the problem than recovering an insignificant amount of BTC. In Electrum I loaded the transaction from the blockchain via Tools -> Load transaction which did not prompt Electrum to search if it could generate the address which received UTXO in that transaction.
1714911102
Hero Member
*
Offline Offline

Posts: 1714911102

View Profile Personal Message (Offline)

Ignore
1714911102
Reply with quote  #2

1714911102
Report to moderator
1714911102
Hero Member
*
Offline Offline

Posts: 1714911102

View Profile Personal Message (Offline)

Ignore
1714911102
Reply with quote  #2

1714911102
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714911102
Hero Member
*
Offline Offline

Posts: 1714911102

View Profile Personal Message (Offline)

Ignore
1714911102
Reply with quote  #2

1714911102
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
June 02, 2019, 12:45:48 AM
Merited by bones261 (2), ABCbits (1)
 #2

Electrum and Electron Cash both use BIP 44 and SLIP 44 for determining the derivation path to use. So Electrum uses m/44'/0'/0'/0/* as that's the one for Bitcoin. Electron Cash uses m/44'/145'/0'/0/* as that is the one for Bitcoin Cash.

hashslinger (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 7


View Profile
June 02, 2019, 02:39:57 AM
 #3

I see now. https://developer.bitcoin.com/tutorials/account-creation/

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

Thanks. At the moment, the term "key derivation path" had slipped my mind, so I couldn't search it efficiently.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!