I have written a quick guide to how I set up a MOJO masternode. This worked for me but may not be the only method:
MN local controller wallet w/ 200k collateral / remote MN daemon methodI am using a Vultr 768MB Ram 1 CPU VPS with Ubuntu 14.04 for the MOJO Linux daemon
Log onto your VPS / remote server running Linux
I installed the dependencies for the MOJO Linux daemon as follows:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libgmp-dev libevent-dev libminiupnpc-dev libssl-dev
sudo add-apt-repository -y ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install -y libdb4.8-dev libdb4.8++-dev
That is 6 different commands.
I uploaded the MOJO Linux daemon 'mojocoind' to /root/ at my VPS using FTP
Run the following command to make 'mojocoind' executable:
Then start a “fresh” MOJO v.2.1 wallet locally in Windows with a “clean” wallet.dat not used before.
You can run several MOJO wallets with different data directories using the -datadir= switch.
Sync the wallet and name the default deposit address whatever you want.
Exit your wallet.
have the following in your
local mojocoin.conf file:
server=1
rpcuser=dshdkhasldhalskhdlkajhdljslkdhjlsajwhatever
rpcpassword=sldhakjhdakjshdfka5d6a6d6as7dfjajswhatevernotthesame
rpcport=22255
listen=0
staking=0
logtimestamps=1
mnconflock=0
addnode=mojonode01.mojocoin.org
addnode=mojonode02.mojocoin.org
IT IS VITAL IT SEEMS TO SET THE
staking=0 in the
local mojocoin.conf
Send
EXACTLY 200,000 MOJO to the local controller wallets address that you named as above. Wait for 10 confirmations.
Go to the console in your local controller wallet and run the command:
This will give you your masternode private key which a long string (copy and keep it safe)
Then run the command:
This should give you a transaction hash for your 200k MOJO and an index number 0 or 1 (copy and keep safe)
exit your local controller wallet and make / edit the local masternode.conf file like this:
alias<space>IP:port<space>masternodeprivkey<space>transaction-hash<space>index
The IP is the IP of your remote VPS and port is 22255
save and exit
on your remote VPS create or edit your
remote mojocoin.conf file in /root/.Mojocoin.conf
It should contain the following only:
rpcuser=slkafhjlasfjmojojsrandom
rpcpassword=randomasdkd123344589dhfjf7jfdkdkkslkd7
masternode=1
masternodeprivkey=6xxxxxxxxxxxxxxxxxxxxxxxxxxxxc
(your masternode private key)
Go back to /root and start the 'mojocoind' with the command:
It should say that the daemon is starting (you may have to hit enter if you don’t see the prompt again)
Check that the daemon is running with the command:
and look for something like:
root 16578 1 0 10:43 ? 00:03:30 ./mojocoind -daemon
This means the daemon is running and has loaded your masternode private key from the conf file
Then start the
local MOJO wallet and let it sync (as long as you have update both the
local mojocoin.conf and masternode.conf as above)
Go to console and issue the command:
this should hopefully give you this:
masternode start-many
{
"overall" : "Successfully started 1 masternodes, failed to start 0, total 1",
"detail" : {
"status" : {
"alias" : "alias",
"result" : "succesful"
}
}
}
This means that you have sent a start command to your remote server.
On your
remote server you can issue the command:
./mojocoind masternode debug
and you should get:
root@mojomn01:~# ./mojocoind masternode debug
masternode started remotely
root@mojomn01:~#
This means that your remote masternode is now running.
Following this method I have managed to start a MN that is still running after more than 9 hours and has given 4 stake rewards. There may be other methods. Download the daemon from the OP.