Migrate from Eleos Wallet to Zclassic Electrum

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@givanse·
0.000 HBD
Migrate from Eleos Wallet to Zclassic Electrum
[Original guide is here](https://www.reddit.com/r/ZClassic/comments/7vk41c/upvote_to_the_top_solution_for_zclassic_eleos/), this one is an attempt to make it clearer.

For this you'll need:

 - Eleos Wallet
 - [Zclassic Electrum](https://github.com/BTCP-community/electrum-zcl/releases)
 - Python 2.7.0

From the Eleos Wallet export your wallet file. To do this got to **File / Backup  Wallet** and click **Save**.

Even if an error window appears, the specified path now has the backup.

> A JavaScript error occurred in the main process
> Uncaugh Exception: Error: EACCES: permission denied

Ignore that error. You can check your back up is complete with:

```bash
ls ~/eleos-wallet.tar
```

Use [walletaid](https://github.com/z-classic/walletaid) to extract the private keys from the wallet backup:

```bash
#download walletaid
wget https://github.com/z-classic/walletaid/archive/master.zip
unzip master.zip
cd walletaid-master/

# bring in the wallet backup
mv ~/eleos-wallet.tar .
tar -xvf eleos-wallet.tar
mv zcl-wallet.dat wallet.dat
```

Edit the `config.ini` file so that it looks like this:

```
[settings]
pubkeyprefix = 1cb8
privkeyprefix = 80
compressed = yes

#pubkeyprefix list
#Bitcoin: 00
#Dogecoin: 1e
#Garlicoin: 26
#Litecoin: 30
#Reddcoin: 3d
ZCash/ZClassic: 1cb8

#privkeyprefix list 
#Bitcoin: 80
#Dogecoin: 9e
#Garlicoin: b0
#Litecoin: b0
#Reddcoin: bd
ZCash/ZClassic: 80

```

Now execute walletaid like this:

```
python walletaid.py
```

At this prompt just type enter.

> Paste address to search with CTRL+V. Leave blank to get all!
> Address:

Now you can use any editor to open the generated file `foundkeys.txt`. Modify the file so that it only lists the private keys.

If you are using `vim` you can use these replacements:

```
:%s/Private key: //g
:%s/Address.*\n//g
```

Now in Zclassic electrum you can load the file with all the private keys.
👍