Masternode Script Setup

  1. 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
  1. Download MoneyByte from Github
    sudo apt-get install git
    cd ~
    git clone https://github.com/MoneyByte/MoneyByte
  1. Get Dependencies
    cd
    cd MoneyByte/scripts
    bash install-dependencies.sh
  1. Compile wallet
    bash build-unix.sh
    Checks if there is enough memory, if not then build will create “swap” file.
  1. Move finished wallet
    cd
    cd MoneyByte/bin
    cp moneybyted /usr/local/bin/
    cd
  1. Start wallet
    moneybyted -daemon
  1. Wallet configuration
    cd
    nano ~/.MoneyByte/MoneyByte.conf

    Paste 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:7777

    Press Ctrl+O and Ctrl+X to save and close editor.

  1. 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)

 

Copyright 2018- MoneyByte.org | Privacy Policy