Bitcoin Forum

Bitcoin => Electrum => Topic started by: COINcernedCITIZEN on November 03, 2017, 11:37:24 PM



Title: Is there another client that can be used to reproduce Electrum multisig wallets?
Post by: COINcernedCITIZEN on November 03, 2017, 11:37:24 PM
I am in the process of moving all my coins into a multisig wallet, using a 2-of-4 setup. I know how to create a multisig wallet using the xpubs from four unique 12-word seeds, but what I would also like to do is verify that entering the same four xpubs in a different wallet to create a 2-of-4 multisig wallet is giving me the same set of addresses. I am doing this all on an offline computer though. I have already tried to get armory working on a fresh Ubuntu install, but it keeps failing. Too much of a headache, as I've tried installing both the .deb and building from source. Are there additional clients that can be run on an offline computer that don't rely on the same libraries as Electrum?


Title: Re: Is there another client that can be used to reproduce Electrum multisig wallets?
Post by: HCP on November 04, 2017, 04:29:55 AM
I can't seem to find any wallets that will let you recreate using xpubs...

The nearest I could find was coinb.in website (https://coinb.in/#newMultiSig), but that only lets you use individual hex public keys, NOT xpubs... So you'd have to put the xpub into something like the BIP39 mnemonic tool (https://iancoleman.io/bip39/) first...

just paste the xpub into the "BIP32 root key" box at the top. Then, get the first 2 or 3 hex public keys, put the 2nd xpub in, get 2 or 3 hex pubkeys, 3rd xpub... 4th xpub etc...

Once you have your hex public keys, you can then then use coinb.in to generate the MultiSig addresses using the hex pubkeys (note that the hex pubkeys need to be entered in alphanumeric order, so 021xx before 02Axx before 031xx etc).

Click "submit" and make sure it's the same as what Electrum has created.

I've tested this process and it works... The trick is to click the BIP32 tab on the BIP39 tool and set a "custom derivation path" of: m/0 otherwise the BIP39 tool won't generate the same hex pubkeys as used by Electrum

It's a bit tedious and requires a bit of manual work, but both the BIP39 tool and coinb.in can be downloaded and run offline!


If that's too much work... maybe do a dummy run using a throwaway set of xpubs/multisig wallet and an online computer with Armory to satisfy yourself that it will generate the same addresses?