Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
141 lines (92 sloc) 3.99 KB

It is advised that you get a VPS online that is running 27/7 and always online.

You can rent a Unix based VPS from Hetzner, Digital Ocean, Vultr or any provider. Use Ubunto 16.04 for example.

You may exchange your current ERNTC to the new ENTR at https://stinex.net/trading/entrentrc

You may buy ENTRC from any of the exchanges that appear in the currency's page on CoinMarketCap.com :

Check out ENTRC markets at CMC: https://coinmarketcap.com/currencies/entercoin/#markets

The number of ENTR required to run a MasterNode is 3000 ENTR

MAKE SURE YOU BACKUP UP YOUR WALLET, AND SAVING THE WALLET.DAT FILE IN A DIFFERENT LOCATION.

Basic Masternode guide Linux

first we will install Build dependencies:

Build requirements:

sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils git
sudo apt-get install libboost-all-dev
sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
sudo apt-get install libminiupnpc-dev

ZMQ dependencies: (provides ZMQ API 4.x)

sudo apt-get install libzmq3-dev

Now, let's create a SWAP file, or a virtual memory file, since the 1GB RAM may not be enough:
fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo “/swapfile swap swap sw 0 0” >> /etc/fstab
sudo sysctl vm.swappiness=10
echo “vm.swappiness = 10” >> /etc/sysctl.conf

NOTE: IF you want to run your MasterNode with a Desktop like Windows, which is much easier, then please click on this link
and follow the steps: https://github.com/bitstine/EnterCoin-ENTR/blob/master/doc/masternode-unix-gui.md
Or, if you want to run the wallet from a command line then continue with the steps below.

Now let's start:
Download ENTR github source:

git clone https://github.com/bitstine/EnterCoin-ENTR.git

Rename the direcory:
mv EnterCoin-ENTR entr
Now we are going to compile the Client:
chmod a+x+w -R entr/
cd entr
./autogen.sh
./configure
make
make install

Now let's run the entr daemon:
entrd &
press enter

We need to create our masternode Private Key.

entr-cli masternode genkey

copy the generated code to a text file

Now we need our entr address:

entr-cli getaccountaddress 0

copy the generated address to a text file

Send 3000 entr to "address 0"

go to entr.conf in

./root/.entr/

Paste this (dont forget to set rpcuser and password)


rpcuser=
rpcpassword=
maxconnections=256
listen=1
server=1
daemon=1
staking=0
masternode=1
masternodeprivkey=XXXXXXXXXXXXXXXXXX (paste the key you generated with the command masternode genkey)
masternodeaddr=xxx.xxx.xxx.xxx:45333

save and close config file.

Now open

/root/.entr/masternode.conf


# Format: alias IP:port masternodeprivkey collateral_output_txid collateral_output_index
# Example:
Quote
mn1 127.0.0.1:45333 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0

set up your ip, masternode privkey, and TXID (of the 3000 ENTR)

now shutdown ENTR process and restart it

lets list all proccesses:

ps ax

find the proccess number

kill (process number)

now restart entrd

and lets start it again:

entrd &

Now let check our masternode status. Remember that you need to wait for at least 15 confirmations for the transaction.

entr-cli masternode status

it will display if your wallet is masternode capable. if it does, just use command:

masternode start

wait 10 seconds and use the command : entr-cli masternode list (it should display a list of masternodes, check that your masternode is on the list).

You can’t perform that action at this time.