Setting Up DIY Tube Masternodes



How to set up a masternode and wallet



VPS (ubuntu 16.04 recommended)

Min 2G RAM, at least 10 GB free HDD space and 2 CPU cores

Note: higher powered servers may perform better

Get the binary files here on github: DIY Tube Wallets


1. Fund your masternode


First you need to get 40,000 DIYT in your wallet

Open DIY Tube wallet on your desktop computer and click on the Receive tab

Click on the label field and create a label, use MasterNode1, for example

Now click on "Request payment"

The generated address will now be labelled as MasterNode1

Once the address has been created send 40,000 DIYT to it

Ensure that you send exactly 40,000 DIYT and do it in a single transaction. Make sure you include the transaction fee

You can proceed to the next steps while the transaction is being confirmed


2. Generate your Masternode Private Key


In your wallet, open Tools -> Debug console and run the following command:

masternode genkey

(you will get masternodeprivkey)

View your Output (Also in the Debug console type):

masternode outputs

(you will get collateralTxID and outputID)

Now write that down and return to the VPS


3. Setup daemon on VPS


Log into your server console and enter the following lines, one by one.

sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libboost-all-dev

sudo add-apt-repository ppa:bitcoin/bitcoin

sudo apt-get update

sudo apt-get install libdb4.8-dev libdb4.8++-dev libminiupnpc-dev

sudo apt-get install libevent-dev

sudo apt-get install libzmq5-dev


Upload the binaries onto your VPS (filezilla is good for this)

Make them executable


cd [binaries directory]

./diytubed --daemon

./diytube-cli stop

cd ~/.diytube

Edit diytube.conf

Add these lines




externalip=[vps ip]

masternodeprivkey=[you got it on step 2]


Save it

./diytubed --daemon (start daemon again)


4. Go to wallet (cold wallet)


open up masternode.conf (Tools/Open Masternode Configuration File)

Insert as a new line the following:

masternodename ipaddress:62543 masternodeprivatekey collateralTxID outputID

(you got masternodeprivatekey collateralTxID outputID on step 2)


mn1 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0

masternodename is a name you choose, ipaddress is the public IP of your VPS, masternodeprivatekey is the output from masternode genkey, and collateralTxID & outputID come from masternode outputs

Please note that masternodename must not contain any spaces, and should not contain any special characters

Restart wallet, go to Masternode tabs and click “start alias”

You will see following text if your masternode was successfully started:

“Status”:4 “message”: “Masternode successfully started”

If everything has been done correctly, it will indicate that the masternode has been started correctly. Now wait for VPS to sync up with the blockchain