Masternode Script Setup
- Install & configure firewall
sudo apt-get install ufw
sudo ufw allow ssh
sudo ufw limit ssh/tcp
sudo ufw allow 7777/tcp
sudo ufw default allow outgoing
sudo ufw enable
- Download MoneyByte from Github
sudo apt-get install git
cd ~
git clone https://github.com/MoneyByte/MoneyByte
- Get Dependencies
cd
cd MoneyByte/scripts
bash install-dependencies.sh
- Compile wallet
bash build-unix.sh
Checks if there is enough memory, if not then build will create “swap” file.
- Move finished wallet
cd
cd MoneyByte/bin
cp moneybyted /usr/local/bin/
cd
- Start wallet
moneybyted -daemon
- Wallet configuration
cd
nano ~/.MoneyByte/MoneyByte.confPaste following with your masternode privkey and ip:
rpcuser=rpcUser
rpcpassword=rpcPassword
rpcallowip=127.0.0.1
rpcport=7778
port=7777
daemon=1
server=1
promode=1
listen=1
staking=0
masternode=1
maxconnections=24
masternodeprivkey=masternode private key (in local wallet console: masternode genkey)
masternodeaddr=vps-ip-address:7777Press Ctrl+O and Ctrl+X to save and close editor.
- Start wallet after configuration
moneybyted -daemon
COMMANDS:
Start vps wallet: moneybyted -daemon
Stop vps wallet: moneybyted stop
Get wallet info: moneybyted getinfo
Check masternode status: moneybyted masternode status
Check masternode advanced: moneybyted masternodelist full XXX.XXX.XXX.XXX
(Replace XXX with ip or wallet address)