In this guide you will learn how to setup a single or multiples masternode. We will use TransferCoin to accomplish our guide since they help us in the process.

You may need to forward all your port on your router for your masternode(s) to work properly.

To build your Wallet on Linux, consult this guide

Content

Terminology

Controller Wallet : A wallet with all of your TX that can remotely start masternodes. This wallet does not have to be online after the masternodes have started.

Remote Masternode : This is a masternode with a new empty wallet. It’s used only to process transactions and act as a masternode. All funds generated by this wallet are send the controller wallet.

General Setup

From the Controller Wallet Setup

You will need to send a 10k TX transaction to a new address on the same controller wallet for each node, to do that follow these steps Create a new address – in console type “getnewaddress”. Go to “Receive” tab, then right click the new address to give it a suitable label for your first node Enable “Coin Control” features in Settings. Settings > Options > Check Display Coin Control Features Goto “Receive” Tab, right click and copy the address you created Goto “Send” tab, click inputs, check the address you want to send the 10k from, making sure it’s not a previously used 10k for a node. When it’s done, click Ok Paste in the copied address from step 3 into the Pay to field and type 10000 into amount and send it Create/edit transfer.conf For a single masternode, insert those lines in your transfer.conf. Add your IP before the 17170 port and copy your Masternode private key.

For multiple masternode, do not put masternode=1 in transfer.conf this will disable the use of masternode.conf. Use this : Create/edit masternode.conf (If you have multiple masternode only!!) In the base directory where transfer.conf is located, create a text file called masternode.conf. The layout of masternode.conf is as follows :

Alias IP:Port PrivKey OutputsHash OutputsIndexEach item has 1 space between. Each line in the masternode.conf is a new masternode The Alias is any name you choose. Make it easy and put it to the same label as the address you assigned your masternode so you know where your TX is being mined from. IP:Port is your external IP and the port you designate for the masternode’s remote wallet. PrivKey is created by typing “masternode genkey” in your master wallet’s console. Each masternode will have a unique key. OutputsHash : Go to your master wallet and type “masternode outputs”. This shows transactions that are eligible to become masternodes. The first set of Hex is your OutputsHash OutputsIndex : This is the number that appears after the outputshash. It’s either a 1 or a 0.

Remote Masternode Setup

Create multiple wallet and data directories Transfer Wallet creates its data directory in

C:\Users\”usernamehere”\AppData\Roaming\Transfer (Windows)

/home/<user>/.transfer (Linux)

You will need a clean install of an updated blockchain on an unused wallet. Delete the wallet.dat file (make sure this one is unused) and copy all of the contents of this directory. Start pasting those contents into directories for each masternode. EX: Roaming\Transfer1, Roaming\Transfer2 etc. or .transfer, .transfer2 Edit Transfer.conf for each directory Note that the rpcport may need to be different for each wallet too Create Bat file to start the daemons (Windows Only) Right-click on the desktop and create a text file. Rename it to “your really creative name”.bat make sure the extension is correct to make it executable. Right-click the file and click “edit”. This should open your default text editor, usually notepad.exe. Type in the location of the daemon and the corresponding data directory for each node. Example on next slide. Example Bat file. Each C:\ and -datadir are one line. C:\Users\grego\AppData\Roaming\Transfer1\transferd.exe -datadir=C:\Users\grego\AppData\Roaming\Transfer1 C:\Users\grego\AppData\Roaming\Transfer2\transferd.exe -datadir=C:\Users\grego\AppData\Roaming\Transfer2 Double click it to run your daemons. It will sit on the cmd window when running. If you have issues, add a new line with “pause” on it to stop it from closing on errors. Start multiple GUI (Linux) In terminal, type the following command

cd Transfercoin

./transfer-qt //This will start your first wallet (usually controller)

./transfer-qt –datadir=../.transfer2 //This will start the second wallet. Restart this step as many time you need by changing the 2 by it’s following. Ex : ../.transfer2, ../.transfer3, etc.

Credits :

Thanks to Lethax for this guide

TX donation to him: TeSkRCz2YEBAXiuxuVDkbW5QxB1x9n6Lyn

BTC donation : 1G2c2yuuERvhPfjrgCwcXQrwfujA1n88uQ