Before moving further, make sure you have stopped your daemon from running with the command “./mnpcoin-cli stop” as we want to stop it before updating the binaries.
Deleting the binaries and “mnpcoin” folder. Some of you might not have the “mnpcoin” folder, so just remove the binaries with the command:
rm -rf mnpcoind mnpcoin-cli mnpcoin-tx
If you have the MNPCoin folder, remove it with the command:
rm -rf MNPCoin
Now we have to clone the repository from the git-hub that has the last commits. To do that, just do the command:
git clone https://github.com/MasterNodesPro/MNPCoin.git && cd MNPCoin
Now this step is optional. If you have already compiled the old wallet on this VPS you should already have all the dependencies installed, so just skip this step. If it’s the first time that you compile the wallet on this VPS, follow the commands below. Remember: You need at least 2 GB RAM to compile the wallet.
*sudo apt-get update & sudo apt-get upgrade
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get install libdb4.8-dev libdb4.8+±dev
sudo apt-get install libboost-all-dev
sudo apt-get install libminiupnpc-dev
sudo apt-get install libevent-dev
sudo apt-get install libtool
sudo apt-get update*
Now that we have all the dependencies, we can proceed with the compile of the wallet. You should be inside the /mnpcoin/ folder already, so just do the following 3 commands:
Check for errors, as you might still miss some things depending on your machine.
If everything is done correctly, and the “make” command didn’t return any error, you should find the compiled binaries inside the /MNPCoin/src/ folder.
The command above should put you inside the /src/ folder. From there you start the daemon with the command ./mnpcoind -daemon
To check if your MN is up and running, just do the command
./mnpcoin-cli masternode status
To check the version you are running is v220.127.116.11 just do the command
If you have questions or changes please contact me in Discord!
MNPCoin Discord: https://discord.gg/8memsN3