How do I run multiple copies of BiblePay?

Why would you want to run multiple copies of BiblePay?

The steps below allow you to run multiple copies of any crypto QT wallet (e.g. Bitcoin, Dash, Litecoin, etc).

Perhaps you want to have:

  • a MainNet wallet and TestNet wallet separately
  • run different versions of the wallet for testing
  • one wallet for “heat” mining only and another for generic smart contract (GSC) campaigns.
  • strict accounting for the ins-and-outs because you work at a non-profit.

Whatever your reason, it is possible to run multiple copies of BiblePay on the same computer.

If you just want to have separate wallet files, but run the same version of the BiblePay QT wallet, you can just point a shortcut to a different data directory. Skip to the change data directory section below.

Instructions below are for Windows 10:

Download the wallet

http://www.biblepay.org/wallet/

For me, I’m going to download the 64-bit version using Chrome

Install BiblePay

If you see the SmartScreen warning1, click More info and click Run anyway

Many crypto wallet set off false positive due to mining function in the wallet

Say, yes to UAC

Change the default installation location to c:\bbp2

Change the Start Menu Folder name to be BiblePay Core #2

Click Install and let’s the Install continue

 

Uncheck Run BiblePay Core (64-bit)

Click Finish

Change data directory for BiblePay #2

We need to change the data directory for the BiblePay #2

Go to Start Menu, then right click on the shortcut then select Open file location

(If you only need a separate data directory, you can copy & paste the shortcut below, rename it, and change the settings in Properties)

Right click on the shortcut and select Properties

Add -datadir=c:\bbp2 to the end of target

Click OK

Quit any running copies of BiblePay

Run BiblePay #2 wallet

Click Allow Access when Windows Defender Firewall prompt comes up

The wallet should be created and the blockchain will try to sync

While it tries to sync, go to Tools, Open Wallet Configuration File

I’m using Notepad++ but you could use Notepad as well.

add port=40002

Save, then close biblepay.conf

Quit BiblePay (File > Exit, or Ctrl+Q)

Now, when BiblePay #2 runs, it will use a different port (40002) than the default. It will also use the datadir in c:\bbp2 instead of the default

Linux (Ubuntu 16/18 LTS)

For Linux server, you can select a custom data directory by adding to the end:

biblepayd --daemon -datadir=/bbp2

Symbolic Link

You could also set up a batch file where you link different wallet.dat (wallet1.dat and wallet1.dat) and use a symbolic link to point to the different wallet file before you start up the QT wallet. This way you can have one blockchain but multiple wallet files. In Bitcoin 0.16, they have a walletdir parameter, but this is not in the code base since BiblePay is currently based on DASH 0.13 or DASH 0.14 codebase. DASH is still a few versions behind Bitcoin.

 

 

 

  1. https://codedead.com/?p=2224 []