Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: ktveitane on January 15, 2022, 04:52:00 PM



Title: Lost in conversion
Post by: ktveitane on January 15, 2022, 04:52:00 PM
I have a (modest) amount of Bitcoin in a Bread (Android) wallet, and now I am trying to import it to an Electrum (Windows) wallet, using the 12 secret words. I can see all the transactions in the new Electrum wallet, but two of the transactions have an incorrect amount specified, resulting in a too low balance.

Does anybody know why? Or maybe even how to fix it?


Title: Re: Lost in conversion
Post by: PawGo on January 15, 2022, 04:57:41 PM
Are you able to find your transactions on sites like blockchair.com or blockchain.com, using transaction id or listing your address? Are the amounts correct?
Isn’t it issue with default units (mBTC)?


Title: Re: Lost in conversion
Post by: SFR10 on January 15, 2022, 05:39:31 PM
I have a (modest) amount of Bitcoin in a Bread (Android) wallet,
Are you sure your BRD wallet is synced properly?

I can see all the transactions in the new Electrum wallet, but two of the transactions have an incorrect amount specified, resulting in a too low balance.
I've never encountered that kind of issue, but would you mind answering the following questions?

  • Which version of Electrum is being used?
  • Have you verified it?
  • What's the color of the circle in the bottom right corner?
  • Have you tried changing the server?


Title: Re: Lost in conversion
Post by: Charles-Tim on January 16, 2022, 06:59:03 AM
Blockchain remain transparent and there should be nothing wrong in your transaction history, you a getting something wrong. Or probably the denomination (maybe it is in mBTC) is confusing you.

Are you able to find your transactions on sites like blockchair.com or blockchain.com, using transaction id or listing your address? Are the amounts correct?
Although using third party sites for this are not recommendable for privacy but it can help hasten the solution, but I am quite sure this will tally with the transaction history on Electrum. For privacy, Tor, VPN or DPN can be used to access the third party site.

Have you tried changing the server?
I do not think changing server will have anything to do with a newly downloaded electrum wallet, it should just work as fine.


Title: Re: Lost in conversion
Post by: pooya87 on January 16, 2022, 07:43:09 AM
Have you tried changing the server?
I do not think changing server will have anything to do with a newly downloaded electrum wallet, it should just work as fine.
It can help. Sometimes the Electrum node that you are connected to could be out of sync itself or have some issue with its database  that cannot return the correct transaction history for you. Changing server would help mitigate that since chances of other nodes having the same issue is minuscule.


Title: Re: Lost in conversion
Post by: ktveitane on January 16, 2022, 10:40:48 AM
Are you able to find your transactions on sites like blockchair.com or blockchain.com, using transaction id or listing your address? Are the amounts correct?
Isn’t it issue with default units (mBTC)?

I found the transaction on blockchair.com. It har three parts; one "sender" amount which is split in two "recipient" amounts, the last of these is the change. Obviously, the chance is not credited to my account by Electrum (the change transaction is there, but the change address is probably not recognized as such by Electrum).



 


Title: Re: Lost in conversion
Post by: hosseinimr93 on January 16, 2022, 10:55:25 AM
I found the transaction on blockchair.com. It har three transaction; one "sender" amount which is split in two "recipient" amounts, the last of these is the change. Obviously, the chance is not discovered by Electrum.

The transaction id is 6f098f49fe52df37baea116d04bf07fcfde433c8a06c9ca51f7e236964f4965e
That's not three transactions. That's a single transaction with 1 input and 2 outputs.
Assuming 3CCj2oCUB..... belongs to the wallet you imported into electrum, you should see the receiving amount of 0.025 BTC in your transaction history.
What's the problem now? Is electrum showing a different amount?


Title: Re: Lost in conversion
Post by: ktveitane on January 16, 2022, 12:11:25 PM
I found the transaction on blockchair.com. It har three transaction; one "sender" amount which is split in two "recipient" amounts, the last of these is the change. Obviously, the chance is not discovered by Electrum.

The transaction id is 6f098f49fe52df37baea116d04bf07fcfde433c8a06c9ca51f7e236964f4965e
That's not three transactions. That's a single transaction with 1 input and 2 outputs.
Assuming 3CCj2oCUB..... belongs to the wallet you imported into electrum, you should see the receiving amount of 0.025 BTC in your transaction history.
What's the problem now? Is electrum showing a different amount?

The problem is that the "change" output of 0.0747595 is not added to my balance. Probably, Electrum does not accept the change address as part of my wallet...?


Title: Re: Lost in conversion
Post by: LoyceV on January 16, 2022, 12:40:01 PM
The problem is that the "change" output of 0.0747595 is not added to my balance.
I've never used Bread wallet, but this sounds like an issue with the derivation path. Receiving addresses have a (slightly) different derivation path than change addresses, for which the "0" for External/Internal (https://www.reddit.com/r/btc/comments/9yibc4/whats_the_brd_wallet_derivation_path/) changes into a "1".


Title: Re: Lost in conversion
Post by: hosseinimr93 on January 16, 2022, 01:24:41 PM
The problem is that the "change" output of 0.0747595 is not added to my balance. Probably, Electrum does not accept the change address as part of my wallet...?
So, that's an outgoing transaction from your wallet. I thought you have received that.

You sent bitcoin from 1LNq5K... to 3CCj2oCUB.... and the change was sent to bc1qt35g6.....

I haven't ever used Bread wallet. It seems that breadwallet has sent the change to a segwit address while the wallet was legacy. If that's the case, a part of your balance is now in a legacy wallet and another part is in a segwit address.

What script type you selected when importing the seed phrase into electrum?
Select "native segwit (p2wpkh) and check if you see that 0.0747595 BTC.

Edit:
If it didn't work, click here (https://bitcointalk.org/index.php?topic=2062242.msg20587090#msg20587090) and follow the guide posted by HCP.
It seems that Breadwallet use the derivation path of m/0'/1 for change addresses.

By the way, why don't you create a new electrum wallet and make a transaction from breadwallet to electrum?


Title: Re: Lost in conversion
Post by: ktveitane on January 16, 2022, 03:15:48 PM
By the way, why don't you create a new electrum wallet and make a transaction from breadwallet to electrum?

Seems that this is the simplest path. It will cost me a small fee, but at least it is possible.

I tried experimenting with the deviation path, but I wasn't able to solve the problem.


Title: Re: Lost in conversion
Post by: o_e_l_e_o on January 16, 2022, 05:19:33 PM
I tried experimenting with the deviation path, but I wasn't able to solve the problem.
It should be as simple as entering your Bread wallet seed phrase in Electrum, checking the option for BIP39 seed, on the next screen changing the derivation path to m/0' and hitting next.

I'm not entirely sure why it seems from your transaction that Bread wallet has given you a segwit change address for a legacy input, but if that is the case, then Electrum will not display both legacy and segwit addresses in the same wallet. You'll need to recover your seed phrase once using the legacy option, and then again using the native segwit option.


Title: Re: Lost in conversion
Post by: nc50lc on January 17, 2022, 02:46:42 AM
-snip-
The problem is that the "change" output of 0.0747595 is not added to my balance. Probably, Electrum does not accept the change address as part of my wallet...?
Okay so the issue is Electrum can't create a wallet with multiple script (address) type, you'll have to make separate wallets with different script types.

The easiest way to find which ones to restore is to use "Detect Existing Accounts" during the wallet restore process
(in "Script type and Derivation path" window):
https://i.imgur.com/t9MRVaR.png (https://i.imgur.com/t9MRVaR.png)

The script type(s) in that list are the ones that have at least one transaction history.
If there are two or more, you must restore multiple separate Electrum wallets for each script type in the result.
Electrum can open multiple instances BTW.


Title: Re: Lost in conversion
Post by: Pmalek on January 18, 2022, 10:22:45 AM
May I ask what is the reason that you switched from Bread wallet to Electrum? The reason is actually not that important, but if you are concerned about security, you wont improve it that way. Why? Because the original seed was created in one wallet (Bread wallet) and you have now brought it over and imported it into a second wallet (Electrum). You have increased a potential attack vector by using the same seed in multiple wallets. If a serious vulnerability were to be discovered in Bread wallet tomorrow or your Bread wallet seed was hacked/stolen from your phone, the attacker would get access to everything protected by that seed on Electrum and everywhere else you imported that seed to.

The better option would be to create a brand-new wallet on Electrum and transfer what you want from BW. It will help with the derivation path and script type issues you are currently facing as well.