# Restoring Wasabi Wallet in Electrum
Potential privacy leak!
If you do not run your own Electrum server, you will leak all your addresses to random third-party servers, losing anonymity against those entities, so you must make a judgement call by being aware of this.
To gain some privacy by using Electrum you should set up Tor on Network preferences or by installing your own Electrum server via Electrum Personal Server (opens new window), ElectrumX (opens new window) or Electrs (opens new window).
# Restoring Wasabi Wallet via Electrum GUI
Launch Electrum.
If you don't have a wallet created on Electrum it should automatically display an Install Wizard. If it opens your default wallet then go to
File
->New/Restore
.Name your new Electrum wallet.
Choose
Standard wallet
.Choose
I already have a seed
orUse a master key
.Type your seed or paste your master private key.
Get your master private key inside Wasabi:
- Go to
Advanced
tab ->Wallet Info
. - Copy your
Extended Account zprv
.
- Go to
The next steps are only necessary if you have previously chosen the option I already have a seed
.
Click the
Options
button, then checkBIP39 seed
and if you created your Wasabi wallet with a password make sure to checkExtend this seed with custom words
and type your password in theSeed extension
window.On
Script type and Derivation path
window, choosenative SegWit (p2wpkh)
or manually insertm/84'/0'/0'
.Increase the gap limits by opening Electrum's
Console
and executing the following commands:wallet.change_gap_limit(100) wallet.gap_limit_for_change = 100 wallet.synchronize()
# Restoring Wasabi Wallet manually by creating a new wallet file
Create a new empty text file, this will be your Electrum wallet file.
Paste the following code:
{ "keystore": { "type": "bip32", "xprv": "vprv9DMUxX4ShgxMLku9TWoPTTt3ZKYhAHCuhULnR9Qmkv1naNQ4g1HfdURhfq65aJKk7zsmnoXbVryeLwtkj9LhuQoKFD5Fyus9kkiwA1S2pEU", "xpub": "vpub5ZPNxAuehdRrMpX7vQSQzAshpziQUZHnDkzPBZJ4GFbhn8mVxoyxJzCGq482a2BDHvfnMfX1u4hdX1XfS7ZdHJXffydLPHjCXBY86sG6tE1" }, "seed_type": "bip39", "seed_version": 18, "use_encryption": false, "wallet_type": "standard" }
Replace
xprv
andxpub
sections with your Wasabi wallet'sExtended Account zprv
andExtended Account zpub
.Get your master private and public keys inside Wasabi:
- Go to
Advanced
tab ->Wallet Info
. - Copy your
Extended Account zprv
. - Copy your
Extended Account zpub
.
- Go to
Open the wallet file you created in Electrum.
Increase the gap limits by opening Electrum's
Console
and executing the following commands:wallet.change_gap_limit(100) wallet.gap_limit_for_change = 100 wallet.synchronize()