I've wrote manual to setup masternode on VPS:
Step One: Prepearing data from local wallet1. Run your local wallet and send to your address 50000 coins using
Send tab. You can see your address in
Receive tab. Also you can add new address for masternode or use available.
2. Wait for 10 confirmations. You must seen green checkbox near transaction in
Transactions tab.
3. Go to the
Help -> Debug Window -> ConsoleWrite commands:
masternode genkey
masternode outputs
Keep your masternode private key, txhash and output index. It will be necessary later.
Step Two: Installing wallet on your VPS server1. First of all update your system and install dependences:
sudo apt-get update && sudo apt-get upgrade
sudo apt-get -y install libwww-perl build-essential libtool automake autotools-dev autoconf pkg-config libssl-dev libgmp3-dev libevent-dev bsdmainutils libdb++-dev libminiupnpc-dev libboost-all-dev libqrencode-dev unzip
2. Go to your home directory and download source from github:
cd
git clone https://github.com/legends420/OfficialReliefProject
3. Go to src folder and make binary file:
cd OfficialReliefProject/src
make -f makefile.unix
Wait, it will take some time.
4. After building, for more userful start copy binary to user/bin directory:
sudo cp reliefd /usr/bin/
5. Go to your home directory, make config directory, make and edit config file:
cd
mkdir .TGAO
nano .TGAO/ReliefProject.conf
Type next text:
listen=1
server=1
daemon=1
maxconnections=500
logtimestamps=1
rpcuser=some_username
rpcpassword=some_big_different_from_username_password
port=15549
rpcport=15550
rpcconnect=127.0.0.1
rpcallowip=127.0.0.1
addnode=138.197.44.71
masternode=1
masternodeprivkey=your_masternode_private_key
masternodeaddr=your_vps_ip_address:15549
Use Ctrl-X to exit and type Y to save changes
6. To add reliefd to startup edit your crontab:
Add to the end of file:
7. Start the wallet:
You must see:
Step Three: Starting masternode from your local walletGo to
Masternode tab and click
Create. Fill out data which you have saved earlier.
Alias - some name for alias
Address - your_vps_ip_address:15549
PrivKey - your masternode private key
TxHash - your masternode txhash
Output Index - "0" or "1"
Click
StartThat's all. Soon you will see
Masternode is Running status in your local wallet. If you want, you can see status at your VPS using command:
I have a problem. When i run reliefd, i am getting next error:
It's not first wallet, which i compiled on linux, but i got this error at first time.