Post
Topic
Board Announcements (Altcoins)
Re: [ANN][SYNX] SYNDICATE Coin | Masternodes, PoS, Business platform
by
Faust Roland
on 09/05/2018, 16:58:29 UTC
anyone managed to  edit masternode conf?  is there a sample template that is wworking notr the # one



MN IP:PORT masternodeprivkey txhash outputidx

MN - alias
IP - your IP
PORT - default is 25992
masternodeprivkey - output of "cli masternode genkey"
txhash and outputidx - outputs of "cli masternode outputs"

Also I would suggest to add to your .bashrc (if you are using linux, if not I cant help you :-) )
Quote
master()
{
echo -n "Enter password: "
read -s PASS; ./cli walletpassphrase "$PASS" 10; ~/cli startmasternode "alias" "0" MN
PASS=""
}

this unlocks your wallet for 10 seconds and starts the masternode

Also useful scripts are
Quote

stake()
{
echo -n "Enter password: "
read -s PASS; ./cli walletpassphrase "$PASS" 8640000 true
PASS=""
}

send()
{
ADDRESS=$1
AMOUNT=$2
echo "Sending $AMOUNT to $ADDRESS"
echo -n "Enter password: "
read -s PASS; ./cli walletpassphrase "$PASS" 5; ./cli sendtoaddress $ADDRESS $AMOUNT
PASS=""
}

usage
$ stake
$ send ADDRESS AMOUNT