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
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 .
sudo git clone https://github.com/pawsfund/PAWS-Core.git
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
./configure --prefix=/opt/paws PKG_CONFIG_PATH=/opt/openssl/lib/pkgconfig LIBS=-Wl,-rpath,/opt/openssl/lib --without-gui --disable-tests --disable-bench
- After make install finished , your builded daemon files will be copied to /opt/paws/bin/ directory. You can see the files with commands below;
If you dont want to use ” make install ” , you can find builded daemon files on this path;
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;
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
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
Required coin to run a masternode : 1000 PAWS