Bitcoin Forum
May 08, 2024, 06:40:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum wallet -> Trust wallet  (Read 200 times)
newmining (OP)
Copper Member
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 09, 2022, 05:46:05 AM
 #1

Hello, please advise how to access electrum wallet using another BIP 39 wallet, like Trust wallet
1715193626
Hero Member
*
Offline Offline

Posts: 1715193626

View Profile Personal Message (Offline)

Ignore
1715193626
Reply with quote  #2

1715193626
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.
1715193626
Hero Member
*
Offline Offline

Posts: 1715193626

View Profile Personal Message (Offline)

Ignore
1715193626
Reply with quote  #2

1715193626
Report to moderator
1715193626
Hero Member
*
Offline Offline

Posts: 1715193626

View Profile Personal Message (Offline)

Ignore
1715193626
Reply with quote  #2

1715193626
Report to moderator
1715193626
Hero Member
*
Offline Offline

Posts: 1715193626

View Profile Personal Message (Offline)

Ignore
1715193626
Reply with quote  #2

1715193626
Report to moderator
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10555



View Profile
March 09, 2022, 06:22:42 AM
Merited by hugeblack (3), OmegaStarScream (2), Pmalek (2), BlackHatCoiner (2), mocacinno (1), hosseinimr93 (1), Charles-Tim (1)
 #2

You should never share a wallet between multiple different software like Electrum and TrustWallet. Specially if one of them is closed source which TrustWallet is. In fact I'd advise not using closed source wallets at all.

Hello, please advise how to access electrum wallet using another BIP 39 wallet, like Trust wallet
Electrum is not a "BIP39 wallet" although it supports importing BIP39 mnemonics. In other words Electrum uses a different algorithm to generate the mnemonic (12 words) that can not be recognized by other wallets.

If you insist on using TrustWallet you should create a new (separate) wallet there and send your coins from Electrum to that new wallet with an on-chain transaction.
You could also do the reverse, meaning create a wallet in TrustWallet, fund it, then copy the BIP39 seed phrase there with its corresponding derivation path and enter it in Electrum to get the same wallet.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pmalek
Legendary
*
Offline Offline

Activity: 2758
Merit: 7136



View Profile
March 09, 2022, 08:46:20 AM
Merited by pooya87 (2)
 #3

The only other wallet that supports Electrum seeds is the Blue Wallet. A native Electrum seed can be imported into Blue Wallet but only if the Electrum wallet was funded in the past. If the wallet is brand-new or empty, importing the seed into Blue Wallet won't work.

Can you tell us why you want to do that in the first place?
Is there a reason you can't use Electrum any longer?

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
newmining (OP)
Copper Member
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 09, 2022, 10:13:16 AM
 #4

Hello, thanks

Please advise whether it is possible to export BIP39 mnemonics from Electrum

Denis


You should never share a wallet between multiple different software like Electrum and TrustWallet. Specially if one of them is closed source which TrustWallet is. In fact I'd advise not using closed source wallets at all.

Hello, please advise how to access electrum wallet using another BIP 39 wallet, like Trust wallet
Electrum is not a "BIP39 wallet" although it supports importing BIP39 mnemonics. In other words Electrum uses a different algorithm to generate the mnemonic (12 words) that can not be recognized by other wallets.

If you insist on using TrustWallet you should create a new (separate) wallet there and send your coins from Electrum to that new wallet with an on-chain transaction.
You could also do the reverse, meaning create a wallet in TrustWallet, fund it, then copy the BIP39 seed phrase there with its corresponding derivation path and enter it in Electrum to get the same wallet.
mocacinno
Legendary
*
Offline Offline

Activity: 3388
Merit: 4922


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
March 09, 2022, 10:23:13 AM
 #5

Hello, thanks

Please advise whether it is possible to export BIP39 mnemonics from Electrum

Denis

No, you cannot create a wallet with an electrum seed, and afterwards export a bip39 seed.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NeuroticFish
Legendary
*
Offline Offline

Activity: 3668
Merit: 6382


Looking for campaign manager? Contact icopress!


View Profile
March 09, 2022, 10:28:05 AM
Merited by OmegaStarScream (2)
 #6

Hello, thanks

Please advise whether it is possible to export BIP39 mnemonics from Electrum

Denis

As said, Electrum seed is not a standard BIP 39 seed, it's an Electrum seed. It looks like a BIP 39, it has the same word list, but if you try to use it as a BIP 39 seed will either not work, either return different addresses.

To obtain the Electrum seed, from what I know:

* On PC there's on bottom-right a greenish button for the seed.
* On Android you have to tap the wallet name on the center of the screen and from there "show seed". (source: a Reddit post)

However, it may be safer/better to simply create a new wallet with the new software, especially if it can create a pure BIP 39 seed, backup (and verify/restore!) that new seed, then transfer the funds to the new wallet, using a small enough fee (I usually recommend 1 sat/vByte and RBF on).

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
hosseinimr93
Legendary
*
Online Online

Activity: 2394
Merit: 5235



View Profile
March 09, 2022, 12:01:16 PM
Merited by OmegaStarScream (2), pooya87 (2), NeuroticFish (1)
 #7

It looks like a BIP 39, it has the same word list, but if you try to use it as a BIP 39 seed will either not work, either return different addresses.
To add to NeuroticFish's reply:

If a seed phrase is generated by electrum 4.1.2 and versions older than that, there's 1/16 probability that it's a valid BIP39 seed phrase. Of course, it will generate different addresses if it's used as a BIP39 seed phrase.
If a seed phrase is genereted by electrum 4.1.3 and versions newer than that, it's impossible that it's a valid BIP39 seed phrase.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5591


Self-proclaimed Genius


View Profile
March 09, 2022, 01:06:12 PM
 #8

Please advise whether it is possible to export BIP39 mnemonics from Electrum

Denis
Is your goal to be able to simultaneously use the same wallet in Electrum and Trustwallet?
If so, you can do pooya's suggestion to do the "reverse".
If it's just to restore your Electrum wallet to Trustwallet, then sending the funds normally is the best option.

Anyway, the post that you replied to already has the answer to your question, language barrier perhaps?
Try the local boards: https://bitcointalk.org/index.php#5

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Cricktor
Hero Member
*****
Offline Offline

Activity: 756
Merit: 1118


Crypto Swap Exchange


View Profile
April 29, 2022, 04:03:18 PM
 #9

I don't recommend closed-source wallets like TrustWallet either, but in the end it's the user's decission which software wallet to trust and use.

As I haven't used TrustWallet ever: does it support importing a wallet via the Master Private Key (xprv..., yprv..., zprv...)? Hm, looks like it doesn't.
If yes, it should be possible to export the Master Private Key from an Electrum Wallet (which requires some awkward procedure: temporarily saving your Electrum wallet unencrypted and without a password; I couldn't find any UI option for that) and import that wallet anywhere with proper Derivation Path setting (standard native segwit Electrum wallet has usually a derivation path of m/0' ). "Anywhere" would be any trustworthy and "good" wallet which supports importing a HD wallet's Master Private Key.

Messing with a completely unencrypted Electrum wallet file, private keys and particularly with a wallet's Master Private Key has to be done on a secure computer, preferably from an airgapped and agnostic live Linux like TAILS. You should know and understand what you're doing as a Master Private Key exposes all past and future private keys of a wallet! I don't recommend this for newbies (brush up your knowledge e.g. on https://learnmeabitcoin.com).

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18510


View Profile
April 30, 2022, 02:53:54 PM
 #10

If yes, it should be possible to export the Master Private Key from an Electrum Wallet (which requires some awkward procedure: temporarily saving your Electrum wallet unencrypted and without a password; I couldn't find any UI option for that)
Go to the console and enter the following command: getmasterprivate()
It will prompt you for your password if you have one set, and then display your zprv.

and import that wallet anywhere with proper Derivation Path setting (standard native segwit Electrum wallet has usually a derivation path of m/0' )
Note that Electrum's derivation paths can be a little confusing. The master private key and master public key it gives you are not really the master keys at all, which would be at derivation path m, but rather the extended keys at the derivation path it displays in Wallet -> Information, which as you say for segwit Electrum wallets is m/0'. This means that if you are using these extended keys to try to generate the same addresses, then you only need to add on the usual /0/0 for change and index to obtain the first address at m/0/0, and not m/0'/0/0 as you would expect.
Cricktor
Hero Member
*****
Offline Offline

Activity: 756
Merit: 1118


Crypto Swap Exchange


View Profile
May 01, 2022, 12:32:56 AM
Merited by o_e_l_e_o (4)
 #11

Note that Electrum's derivation paths can be a little confusing. The master private key and master public key it gives you are not really the master keys at all, which would be at derivation path m, but rather the extended keys at the derivation path it displays in Wallet -> Information, which as you say for segwit Electrum wallets is m/0'. This means that if you are using these extended keys to try to generate the same addresses, then you only need to add on the usual /0/0 for change and index to obtain the first address at m/0/0, and not m/0'/0/0 as you would expect.
With the iancoleman.io/bip39 script I was able to recreate Electrum wallet addresses with the zprv... key from Electrum console getmasterprivate() in the form's field "BIP32 Root Key", selected Derivation Path tab "BIP141" with m/0 for receive addresses or m/1 for change addresses in field "BIP32 Derivation Path" and P2WPKH in field "Script Semantics" for native segwit addresses.

I want to test a recovery in some other suitable wallet, maybe Sparrow or some other that supports to import a x/y/zprv master private key. You're very right that the derivation path necessary for the Electrum getmasterprivate() key is a bit confusing.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18510


View Profile
May 01, 2022, 08:23:34 AM
 #12

With the iancoleman.io/bip39 script I was able to recreate Electrum wallet addresses with the zprv... key from Electrum console getmasterprivate() in the form's field "BIP32 Root Key", selected Derivation Path tab "BIP141" with m/0 for receive addresses or m/1 for change addresses in field "BIP32 Derivation Path" and P2WPKH in field "Script Semantics" for native segwit addresses.
Yes, this is correct. This takes the extended key from Electrum, which is already at m/0', and derives at /0/0 (or /1/0 for change) to reach the same addresses Electrum generates.

I want to test a recovery in some other suitable wallet, maybe Sparrow or some other that supports to import a x/y/zprv master private key.
This is where things get confusing, partly because of the terminology used and partly because of BIP39 and Electrum following different standard derivation paths. Technically speaking, master keys are the keys at m (or M for public keys). Any child key at a level below that which contains the chain code necessary for generation of further child keys is an extended key, but Electrum calls the extended keys at m/0' the master keys. Some BIP39 wallets will call the keys at m the master keys, while others will call the keys at m/84'/0'/0' (for segwit) the master keys. Importing a zprv derived at one level in to a wallet which treats it as from a different level can result in different addresses being generated.

Better to just stick with seed phrases. Tongue
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!