Autor Tema: ARC (Artic Coin) Masternode (tutorial inside)  (Leído 17 veces)

BitcoinHispano

  • Administrador
  • Usuario Completo
  • *****
  • Mensajes: 128
  • Karma: +1/-0
    • Ver Perfil
ARC (Artic Coin) Masternode (tutorial inside)
« en: 31 de Agosto de 2017, 04:59:55 pm »
Step 1
Run these commands:

adduser newUsername
usermod -aG sudo newUsername

Step 2:
Run these commands to make a swapfile (for small VPS) :

sudo dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
sudo mkswap /var/swap.img
sudo swapon /var/swap.img

Run free again to confirm you now have a swapfile. Note: If you chose a different server
option from Vultr, with less RAM, you’ll need a LARGER swapfile, i.e. set the count
parameter to something larger like 2048, 4096 etc. If the compilation steps fails partway
through this is usually the reason.

To make the swap file persist when the server is rebooted:

sudo chmod 0600 /var/swap.img
sudo chown root:root /var/swap.img
sudo nano /etc/fstab

Append the following line to the end of the file:

/var/swap.img none swap sw 0 0

Save the file and exit

Step 3: Firewall ( can do this step at anytime )

sudo ufw allow OpenSSH
sudo ufw allow 7209
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw enable

Step 4
sudo apt-get install -y build-essential software-properties-common autoconf libssl-dev libboost-dev libboost-chrono-dev libboost-filesystem-dev libboost-program-options-dev libboost-system-dev libboost-test-dev libboost-thread-dev sudo automake git
sudo add-apt-repository ppa:bitcoin/bitcoin -y

Step 5
sudo apt-get update
sudo apt-get install libdb4.8-dev bsdmainutils libdb4.8++-dev -y
mkdir ~/arc

Step 6

cd ~/arc
wget https://github.com/ArcticCore/arcticcoin/releases/download/v0.12.1.2/arcticcore-0.12.2-linux64.tar.gz
tar -xvf arcticcore-0.12.2-linux64.tar.gz
mv arcticcore-0.12.1/* ./
rm arcticcore-0.12.2-linux64.tar.gz
rm -r arcticcore-0.12.1/
sudo cp ~/arc/bin/arcticcoind /usr/local/bin/
sudo cp ~/arc/bin/arcticcoin-cli /usr/local/bin/
sudo cp ~/arc/bin/arcticcoin-tx /usr/local/bin/

Step 7 Create and edit conf

mkdir .arcticcore
nano .arcticcore/arcticcoin.conf

rpcuser=user
rpcpassword=ASecurePasswordThatYouDontNeedToRemember
server=
Save & Exit

Step 8

arcticcoind -daemon
arcticcoin-cli getinfo
arcticcoin-cli getnewaddress 0
=> address

Save the output of the last command, this is the address you'll send your ARC to.
Send EXACTLY 1000 ARC this address (1000.01 from cryptopia)

Then list transaction to make sure its there:
arcticcoin-cli listtransactions

and get the txid Save to a text file

Check to make sure your balance is there once synced all blocks and you have 15 Confirmations

arcticcoin-cli getbalance
=> 1000.00000000

Step 9

arcticcoin-cli goldminenode genkey
=><SAVE_THIS_GEN_PRIVATE_KEY_FOR_CONF>
arcticcoin-cli stop
nano .arcticcore/arcticcoin.conf

And edit the conf file again and copy the code below:

~~
server=1
listen=1
daemon=1
goldminenode=1
goldminenodeprivkey= genkey
externalip=<YOUR_SERVER_IP>
~~

Step 10

arcticcoind -daemon

arcticcoin-cli goldminenode outputs
=> {
"xxxx": "IDX"
}

Note the "IDX" value and open the file "nano ~/.arcticcore/goldminenode.conf".

Add the following line:
mn1 <YOUR_SERVER_IP> :7209 GENKEY TXID +1

Then save and start the masternode

Then arcticcoin-cli goldminenode start.

Check your goldmine is connected by doing:

arcticcoin-cli goldminenode list | grep 63ab96564e93c676e65f502f24fc254ef599eb051fe52e61f63632206c6f52fb
"TXID-IDX": "PRE_ENABLED"

After 20-30 min you should see:


arcticcoin-cli goldminenode list | grep txid
"AAAAA-B": "ENABLED"

 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28