top of page
Search
  • CryptoCoinGB

How to import an existing wallet into the Terminal Miner


Ok, so you started out mining WebDollar in your browser - great! Then you decided you wanted to mine in your Windows or Linux terminal! Cool...


But now you're not sure how to get your wallet from the website into your terminal?



Don't panic - just follow this guide and you'll be mining in no time!



So before we go any further, here are the prerequisites to using this guide:

  • You already have a WebDollar wallet at webdollar.io

  • You have already set up your terminal miner on Linux or Windows (info here)

 
Step 1 - Exporting your wallet from the Website

Before you export your wallet from the website we highly recommend you encrypt it, so that if someone gets their hands on your wallet they can't do anything without knowing the password. If your wallet is already encrypted, skip to step 5:


  1. Click on the padlock symbol next to your wallet, a popup will appear

  2. Enter a password (12 individual words) or click ‘Random Password’

  3. Once you’re done, click on ‘Set Password’

  4. A text file containing your password will be automatically downloaded Please keep this in a very safe place, or do not forget your password, as without it you will not be able to access your wallet and you will lose all your coins!

  5. Next, click the download button next to your wallet (the down arrow) Again, please keep this file in a very safe place, but not with your password for security, as without it you will not be able to access your wallet and you will loose all your coins!

 
Step 2 - Copying the file into your terminal

So now we need to take the file that you exported and re-create that file in the terminal:


  1. Open the wallet file you just downloaded, it should look like this but will be across one single line:

  2. Copy the entire contents of the file including the { } and everything in between

  3. Next we need to make a new file in the terminal. Before you start make sure you are in the correct folder, usually Node-WebDollar1, where you normally start your miner from.

  • Use the following command to create a new file and save it:

cat > wallet.webd
  • Now paste the contents of the file you copied earlier

  • Use the keys 'CTRL + D' to exit the file editor (you may need to do this twice)

  • Check the file to make sure the contents match using the following command:

more wallet.webd
  • The output shown should match that of the file you exported from the website

  • If it does, great work!


 
Step 3 - Importing your wallet

Ok so you've got the file and you're ready to go! Just a few more things to do...


  • Now we need to import the file into the terminal miner using the following command from your folder:

npm run commands (wait for menu to load)
select menu option 4 + Enter
enter the filename: wallet.webd + Enter
  • At this point you will get confirmation that the wallet has been successfully imported as shown in this image:

  • Now we need to tell the miner to use the new wallet that we imported:

select menu option 7
  • At this point you will need to ascertain which wallet number is that of the one you imported then select that wallet, in this example number 1

select 1 + enter
  • Now would be a good time to check that everything is in order before you start mining, so let's view our wallets to check we're going to mine on the right one:

select 1 + enter
  • Now you can see that the imported address, ending Q1r$ is set as the mining address!


 
Step 4 - That's all folks

At this point everything carries on as normal. If you want to mine in a pool you would use menu option 10 and then paste in the URL of your favourite pool. Once you start mining you will see your wallet balance update (to be the same as on the website) after a few minutes, shown in the terminal output.


Just a quick word of caution - don't mine in the same wallet on both the website and in a terminal (or even multiple terminals). Now that Proof of Stake has been implemented, you may be penalised by the pools for staking the same coins twice.


Thanks for reading, we hope you found it useful!

If you did, throw a few WebD our way: WEBD$gD##@7S@F+ki$XiMX44GFLK7WcNpHu$W4T$

545 views0 comments
bottom of page