If you want to get into a masternode coin, Arctic Coin is a great coin. Not only is it very affordable to buy a masternode, it has a strong community, and a decent ROI. With Arctic coin, the masternodes are called "goldmine nodes". Here is a quick guide on how to install and configure an Arctic Goldmine Node on Ubuntu16.
**Note: This tutorial does not cover the basics of setting up a VPS, it only covers what to do once you've already setup your Ubuntu 16 server.
Alright let's get started.
sudo apt-get install build-essential libtool automake autotools-dev autoconf pkg-config libssl-dev libgmp3-dev libevent-dev bsdmainutils software-properties-common git
sudo apt-get install libboost-all-dev
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
Since we will be compiling the Arctic coin core command line daemon, we will need a swapfile, or the compile process will run out of memory. This example will create a 2G sized swapfile which is optimal for a 1G VPS, but will also work for a 512MB VPS as well. This is how we create one:
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
Now let's make this permanent so that if your VPS restarts, the swap will turn on automatically:
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
cd ~/
git clone https://github.com/ArcticCore/arcticcoin
cd arcticcoin
./autogen.sh
./configure
make
make install
arcticcoind -daemon
This will take 1-2 hours to sync depending on your connection and proximity to other peers.
You can check on the progress of it by typing:
arcticcoin-cli getinfo
And look for the "blocks" line. The latest block at the time of writing this was:
"blocks" : 213072,
arcticcoin-cli getaccountaddress 0
Wait for 15 confirmations
arcticcoin-cli goldminenode genkey
arcticcoin-cli encryptwallet "your password"
DO NOT LOSE THIS PASSWORD
This step will automatically stop your Arctic coin daemon.
~/.arcticcore/arcticcoin.conf
Your config should be edited to look like this:
server=1
listen=1
daemon=1
goldminenode=1
goldminenodeprivkey=put-your-goldminenode-key-that-you-generated-here
externalip=put-your-ip-address-of-vps-or-server-here
sudo apt-get install ufw
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow ssh
sudo ufw allow 7209
sudo ufw enable
A warning will prompt you saying that your SSH connection will be disrupted. Since we allowed ssh above, you don't have to worry, but DO NOT forget to allow ssh or you will lock yourself out of your VM.
**For added security, you can whitelist your home/work IP address so that only you are allowed to connect to the server with SSH. You can accomplish this by replacing the sudo ufw allow ssh with this line:
sudo ufw allow from your-ip-address to any port 22
Example:
sudo ufw allow from 15.15.15.15 to any port 22
arcticcoind -daemon
arcticcoin-cli walletpassphrase "your password" 600
**The number 600 above represents how long to leave the wallet unlocked before it locks again. 600 seconds is 10 minutes, so you'll have 10 minutes to start up your goldmine node before the wallet is locked again. Adjust that number as you see fit.
arcticcoin-cli listtransactions
Look for the line that starts with "confirmations":. In addition, you'll also want to make a note of the transaction id for this transaction. Look for the line that starts with "txid":. This transaction id will help you search for your goldemine node once it starts.
arcticcoin-cli goldminenode start
You can check to make sure your goldmine node is enabled:
arcticcoin-cli goldminenode list|grep your-txid-that-you-copied-above
If you see this:
"your-txid-1" : "PRE_ENABLED"
Then you successfully installed your new Arctic coin Goldmine node on Ubuntu 16 Linux. The PRE_ENABLED status will change to ENABLED after about 30 minutes.
Congrats!
Use any SFTP or SCP program to connect to your VPS, and backup your wallet.dat file to your local desktop or laptop. That file is located here:
~/.arcticcore/wallet.dat
If you feel like you got any value from this, consider supporting my efforts:
Thank you!