PAWS coin masternode – Build from source on Centos 7

Spread the love

PAWS coin masternode
Build latest version from source on Centos 7

First of all you have to  update your centos system and install dependencies for centos 7 .You can find it at below link

How to install dependencies for setup masternode on Centos 7

Don’t start here without doing ” install dependencies for centos 7 ” step.If you did it before you can skip it. Lets Begin .

Download, Build and Install PAWS daemon from source

Connect to your centos 7 system with putty or any other terminal screen and login. Write or copy/paste below commands to run on your terminal .

cd /usr/src

sudo git clone https://github.com/pawsfund/PAWS-Core.git

cd PAWS-Core

sudo chmod +x share/genbuild.sh

sudo chmod +x autogen.sh

chmod +x configure.ac

chmod +x configure

sudo chmod 755 src/leveldb/build_detect_platform

./autogen.sh

./configure --prefix=/opt/paws PKG_CONFIG_PATH=/opt/openssl/lib/pkgconfig LIBS=-Wl,-rpath,/opt/openssl/lib --without-gui --disable-tests --disable-bench

make

make install
  1. After make install finished , your builded daemon files will be copied to /opt/paws/bin/  directory. You can see the files with commands below;
cd /opt/paws/bin/

ls

If you dont want to use ” make install ” , you can find builded daemon files on this path;

/usr/src/PAWS-Core/src/pawsd
/usr/src/PAWS-Core/src/paws-cli
/usr/src/PAWS-Core/src/paws-tx

Copy your daemon files before cleanout your system !!!!!

Clean out unrequired files from system

We builded and installed paws masternode daemon to our centos 7 system. Now we can delete unrequired files from system, you don’t need them anymore. These are the cleaning commands;

cd /usr/src/

rm -rfd PAWS-Core

Open required port on firewall

Commands below are for open required port on firewall for communication. If you don’t open the port, your wallet doesn’t sync and doesn’t work !!!

firewall-cmd --zone=public --add-port=34120/tcp --permanent

firewall-cmd --reload

First run

When you first run your paws daemon it asks you to add rpcname and rpcpassword to paws.conf file.
First run the daemon and get the error. This creates required files on your user directory.And then run the commands below. Don’t forget to change rpcusername and password after = sign with your own !!! Here are the commands for it;

echo "rpcuser=change-this-username" >> ~/.paws/paws.conf

echo "rpcpassword=change-this-password" >> ~/.paws/paws.conf

Most used daemon commands:

./pawsd-daemon   // starts the masternode daemon
./paws-cli stop   // stops the masternode daemon
./paws-cli getinfo   // get general info
./paws-cli getblockcounts  // shows last block number
./paws-cli masternode status   // shows masternode status
./paws-cli mnsync status   // shows maternode syncronisation  status

Links :

Required coin to run a masternode :  1000 PAWS

Website

Github :

Explorer :

Masternode setup 1 :

Masternode setup 2

Coinmarketcap :

Exchanges :