Author

Topic: Thinking of switching to Electrum (Read 253 times)

legendary
Activity: 1848
Merit: 2033
Crypto Swap Exchange
July 09, 2018, 02:37:45 AM
#11
Excellent!
Thank you so much!
HCP
legendary
Activity: 2086
Merit: 4363
July 09, 2018, 01:26:46 AM
#10
You can modify 2 lines of code in the iancoleman website and have it generate the keys from an Electrum seed mnemonic Wink
Can you explain the modification in detail?

1. Search for this function (should be near Line ~104000):
Code:
self.check = function(mnemonic)

Change the last line from:
Code:
return h == nh;
to:
Code:
return true;


2. Search for this function (should be just under the one above):
Code:
self.toSeed = function(mnemonic, passphrase)

Change the following line from:
Code:
passphrase = "mnemonic" + passphrase;
to:
Code:
passphrase = "electrum" + passphrase;


NOTES:
- This will break the checksum functionality. The "return true;" modification basically makes it think ANY seed you type in is correct.
- To get it to generate the same addresses as Electrum:
1. Enter Electrum Seed
2. Click "BIP32" tab
3. Set "client" to "Custom Derivation Path"
4. Set "BIP32 Derivation Path" to: m/0 (to see "change" addresses, use m/1 )



legendary
Activity: 1848
Merit: 2033
Crypto Swap Exchange
July 07, 2018, 02:47:11 AM
#9
electrum seed is not bip39 so you can't use the coleman site to generate address specific private keys.
You can modify 2 lines of code in the iancoleman website and have it generate the keys from an Electrum seed mnemonic Wink
Can you explain the modification in detail?
legendary
Activity: 3472
Merit: 10611
July 05, 2018, 10:39:18 PM
#8
electrum seed is not bip39 so you can't use the coleman site to generate address specific private keys.
You can modify 2 lines of code in the iancoleman website and have it generate the keys from an Electrum seed mnemonic Wink

if you are knowledgeable and willing enough to take the risk and start modifying code then why not just use Electrum code itself? you can go to its repository and just take the part where the Seeds and key generation stuff are and use it to generate your private keys.
HCP
legendary
Activity: 2086
Merit: 4363
July 05, 2018, 08:05:14 PM
#7
So I want to start using Electrum. Do I use it to access my Armory wallet or do I have to create a new wallet with Electrum and make a transaction from Armory to it?
No. The wallet formats are incompatible. You'll either need to:
a. Export your private keys from Armory and import them into Electrum
b. Export your private keys from Armory and "sweep" them into Electrum
c. Send all your coins from Armory to Electrum

I would recommend C. (Note that b. is effectively the same thing as c. but more time consuming and complicated)


electrum seed is not bip39 so you can't use the coleman site to generate address specific private keys.
You can modify 2 lines of code in the iancoleman website and have it generate the keys from an Electrum seed mnemonic Wink



legendary
Activity: 3710
Merit: 1586
July 04, 2018, 04:16:25 PM
#6
electrum doesn't follow bip44 either. however you can grab the xpriv from the wallet file and use that in that tool. you'll have to adjust the derivation path though. why you would go through all this trouble idk. much better to not mess with private keys at all but if you absolutely must do so restore from seed in electrum and use that to export your private keys.
legendary
Activity: 1624
Merit: 2481
July 04, 2018, 08:38:15 AM
#5
electrum seed is not bip39 so you can't use the coleman site to generate address specific private keys.

Thats true. At least for the mnemonic seed phrase.

But since electrum does follow the BIP44 specification, the xpriv can be entered into the Account Extended Private Key field on https://iancoleman.io/bip39/ to restore the private keys.

So a backup of the mnemonic seed phrase AND the xpriv would be the best choice regarding safety.
legendary
Activity: 3710
Merit: 1586
July 04, 2018, 07:57:33 AM
#4
pooya87 basically answered your questions. But to add a small information regarding the second point:

So, if that file is gone forever does it mean my satoshis are gone forever too, or is there a way to get my satoshis back in case that file went missing?

The word seed you are prompted to backup can regenerate all of your private keys.
You can either reimport it into electrum or use any other tool to derive the private keys (e.g. https://iancoleman.io/bip39/).

You might download the site and store it offline. Once electrum should not be available somehow, you still can regenerate all of your private keys and import them into any other wallet.
This way you are completely independent from any software-/server- provider.

A better option would be to use a hardware wallet (nano s) with electrum.
This way you will be using a BIP39 compatible seed (which does work in any other BIP39 compatible wallet (almost everyone)).
And your private keys will stay in a secured environment, which does negate most attack vectors.



electrum seed is not bip39 so you can't use the coleman site to generate address specific private keys.

@OP You will have to create a new wallet file and send your coins there from armory. When creating the wallet make sure to write down your seed words on paper. As for backups here's a detailed article about that.
legendary
Activity: 1624
Merit: 2481
July 04, 2018, 07:34:28 AM
#3
pooya87 basically answered your questions. But to add a small information regarding the second point:

So, if that file is gone forever does it mean my satoshis are gone forever too, or is there a way to get my satoshis back in case that file went missing?

The word seed you are prompted to backup can regenerate all of your private keys.
You can either reimport it into electrum or use any other tool to derive the private keys (e.g. https://iancoleman.io/bip39/).

You might download the site and store it offline. Once electrum should not be available somehow, you still can regenerate all of your private keys and import them into any other wallet.
This way you are completely independent from any software-/server- provider.

A better option would be to use a hardware wallet (nano s) with electrum.
This way you will be using a BIP39 compatible seed (which does work in any other BIP39 compatible wallet (almost everyone)).
And your private keys will stay in a secured environment, which does negate most attack vectors.

legendary
Activity: 3472
Merit: 10611
July 03, 2018, 10:58:44 PM
#2
So I want to start using Electrum. Do I use it to access my Armory wallet or do I have to create a new wallet with Electrum and make a transaction from Armory to it?
even if you choose any other wallet it is always wiser to create a new wallet and then make a transaction to send your funds from the old wallet to the new one instead of importing the old one into the new one like importing your private keys.

Quote
Also, if I (for some reason) lost my wallet but know the password, could I retrieve it or would it be gone? I noticed the app creates a file that stores the wallet locally. So, if that file is gone forever does it mean my satoshis are gone forever too, or is there a way to get my satoshis back in case that file went missing?
Electrum is a Hierarchical Deterministic (HD) wallet which means it is using a master private key to generate all the keys in your wallet. this master key is shown to you in the form of a bunch of words known as "Seed". all you need to do for back up is to write down this Seed somewhere and keep it safe. later on if you wanted to recover your funds then you simply start Electrum and instead of creating a new wallet and generating a new Seed you give it your old Seed to recover from.
newbie
Activity: 1
Merit: 0
July 03, 2018, 08:37:20 PM
#1
So I want to start using Electrum. Do I use it to access my Armory wallet or do I have to create a new wallet with Electrum and make a transaction from Armory to it?

Also, if I (for some reason) lost my wallet but know the password, could I retrieve it or would it be gone? I noticed the app creates a file that stores the wallet locally. So, if that file is gone forever does it mean my satoshis are gone forever too, or is there a way to get my satoshis back in case that file went missing?
Jump to: