Bitcoin Forum

Other => MultiBit => Topic started by: mccampser on August 21, 2017, 08:08:48 AM



Title: Restore BTC Multibit 12-word-seed to BCH electroncash
Post by: mccampser on August 21, 2017, 08:08:48 AM
Hi all, i've a problem and need some help on it:

when i add the 12 word seed from multibitHD to electroncash restore (as BIP39), i get a wrong balance. my last BTC payments before 01/08/2017 are now on BCH factor 100 greater than before in BTC. A Payment of -0.01BTC  appears after restore in BCC as -1.00BCH

as a workaround i used bip39-standalone tool and already have extracted 160.000 private keys from my 12 word seed (Multibit hd) - but i dont know which one really containes some balance.
is there a simple way to get information of which key conatins balance ?

i've imported the keys via batch bitcoin-cli.
bitcoin-cli -datadir=d:\path\ importprivkey   XXXXPRIVATEKEYXXXXX somelabel false

on this way i can add about 35000 keys a day to my wallet.
but the outcome from the previous 160.000 keys was 0 zero !

over all i am not sure if this is the right way.
maybe someone can give me some tips on how to go on now.

brgds
mcc



Title: Re: Restore BTC Multibit 12-word-seed to BCH electroncash
Post by: HCP on August 24, 2017, 10:22:04 AM
By default, Electrum and ElectronCash both show milli units. You need to go into the settings and change from mBCC to BCC... that is why the numbers are all messed up. ;)

Then just use the seed


Title: Re: Restore BTC Multibit 12-word-seed to BCH electroncash
Post by: mccampser on August 25, 2017, 07:46:07 PM
By default, Electrum and ElectronCash both show milli units. You need to go into the settings and change from mBCC to BCC... that is why the numbers are all messed up. ;)

Then just use the seed

Thanks, but i already knew this. it is really the whole amount of 1.0BCC instead of 0.01BCC applied.


Title: Re: Restore BTC Multibit 12-word-seed to BCH electroncash
Post by: HCP on August 26, 2017, 02:46:01 AM
Can you provide some TXIDs... It's very hard to understand what the issue is without being able to see actual transactions.

It's simply not possible for the amounts to be magically multiplied... They use the same blockchain history up until the fork, so the numbers in BTC and BCH have to be identical.


Title: Re: Restore BTC Multibit 12-word-seed to BCH electroncash
Post by: mccampser on August 26, 2017, 05:17:03 PM
Hi, i'll try to explain it a bit more:

Multibit HD (BTC)
https://abload.de/thumb/2017-08-2618_51_04-deftz4y.png (http://abload.de/image.php?img=2017-08-2618_51_04-deftz4y.png)

txid's:
b13af4f4ace7283a13dc98ea858f5a18fdd9625831a389f8c23cbe477dbd9289
c4dc402ba3463dfa7be8428a2c4c02dd53e2276e14bf2be8d58bec6ed9099a00

Bitcoin ABC (BCC) (similar to electron cash)
https://abload.de/thumb/clipboarder.2017.08.2l7ss4.png (http://abload.de/image.php?img=clipboarder.2017.08.2l7ss4.png)

the only payments i made are the both in the first screenshot, not the two about 0.9799 and 1.99 BTC(=BCC) in the second screenshot.
where is the error from?
can somebody explain how this could happen?
where are the missing 3 BCC now?

within MultibitHD (BTC) all seems fine.


Title: Re: Restore BTC Multibit 12-word-seed to BCH electroncash
Post by: HCP on August 27, 2017, 01:14:47 AM
Ahhhh I see what has happened ;)

BitcoinABC is finding the amounts sent to the "change addresses" from the two transactions and showing those as "sent"... MultiBit is "hiding" this as these change addresses are in the MultiBit wallet, so MBHD is showing the "effective" amount sent (ie. Input - Change)

In this transaction: b13af4f4ace7283a13dc98ea858f5a18fdd9625831a389f8c23cbe477dbd9289 (https://blockchain.info/tx/b13af4f4ace7283a13dc98ea858f5a18fdd9625831a389f8c23cbe477dbd9289)

You used a 1 BTC input:
1MTpePZja5eHmeThBsqvqzNA3kTC9kww6e (1 BTC)

and sent 0.02 to this address:
1Lp972rBgoaVZcNcQjehjdj6PH16r21dw8 - (Unspent) 0.02 BTC

This, created change of 0.9799 which it deposited here:
17z53gDzUvzEyi5endgaZX9c1Ewz92StyA - (Unspent) 0.9799 BTC

So the "effective" amount sent is 1 - 0.9799 = 0.0201 BTC




In the second transaction: c4dc402ba3463dfa7be8428a2c4c02dd53e2276e14bf2be8d58bec6ed9099a00 (https://blockchain.info/tx/c4dc402ba3463dfa7be8428a2c4c02dd53e2276e14bf2be8d58bec6ed9099a00)

You used a 2 BTC input:
1MTpePZja5eHmeThBsqvqzNA3kTC9kww6e (2 BTC - Output)

and I'm assuming you actually sent 0.01 to:
1L1jtgiafSHyTuSzDfiAjB2qARRNTFauLx - (Unspent) 0.01 BTC

and generated change of 1.9899:
1MAVL1idU4SqdAQ3JMtqDfRMvPgagrccPy - (Spent) 1.9899 BTC


So the "effective" amount sent is 2 - 1.9899 = 0.0101 BTC




BitcoinABC is showing the change amounts as "sent" as I suspect you've only imported the "receive" address private keys... you need to import your "change" address private keys... and then those 1.9899 and 0.9799 amounts will no longer show as "sent"... and will be properly included in your balance.

You need to use the "Custom" BIP32 Derivation Path of m/0'/1 in the BIP39 standalone tool to see your MBHD change addresses... Also, You shouldn't need to import 160K keys :P... just look through until you find the addresses:

17z53gDzUvzEyi5endgaZX9c1Ewz92StyA and 1MAVL1idU4SqdAQ3JMtqDfRMvPgagrccPy


Personally, I would have thought that just importing the seed to ElectronCash (Note: use the BIP39 option, and derivation path of m/0' ) would have been the easier option... but that's your choice ;)


Title: Re: Restore BTC Multibit 12-word-seed to BCH electroncash
Post by: mccampser on August 27, 2017, 10:21:37 AM
Thank you very much! this seems to help!  ;D ;D ;D

i have imported both private keys as you told me.
i do now have correct total balance of 2,97BCC but now my BitcoinABC Client is not syncing any more. crap!


and pls submit some donation address  :-*


Title: Re: Restore BTC Multibit 12-word-seed to BCH electroncash
Post by: HCP on August 27, 2017, 11:20:51 AM
dropped you a PM... also with some advice for checking why BitcoinABC isn't syncing


Title: Re: Restore BTC Multibit 12-word-seed to BCH electroncash
Post by: Rabinovitch on December 21, 2017, 06:37:38 AM
Personally, I would have thought that just importing the seed to ElectronCash (Note: use the BIP39 option, and derivation path of m/0' ) would have been the easier option... but that's your choice ;)

A huge thanx to you for those simple, but so important words...