HOW TO START ARTICASH MASTERNODE
SETUP GUIDE
A- Setting up articash node on VPSIt's recomended to use ubuntu 18.04 1- Start by updating your vps:- sudo apt-get update
sudo apt-get upgrade
2- Install required deps.:- sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libboost-all-dev libboost-program-options-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler unzip software-properties-common
3- Install berkeleyDB:- sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
Now your vps is ready to setup articash node4- Download and install articash node:- -- Download files from
here +
here -- Extract downloaded files:-
tar -xzvf articash-daemon-linux.tar.gz
tar -xzvf articash-qt-linux.tar.gz
-- Install:-
sudo mv articashd articash-cli articash-tx /usr/bin/
5- Create configurations file:- mkdir $HOME/.articash
nano $HOME/.articash/articash.conf
and place the following inside it:-
rpcuser=rpc_user
rpcpassword=rpc_password
rpcallowip=127.0.0.1
listen=1
server=1
txindex=1
daemon=1
maxconnections=64
#masternode=1
#masternodeprivkey=
externalip=xx.xx.xx.xx
xx.xx.xx.xx = your vps ip
Now you can start your node using the following command :-
articashd
* To use rpc commands use
articash-cli command
B- Sending MN fees and getting key+address+outputs1- From your local GUI wallet go to >> Tools >> Debug console and type this command to
get new mn private key:-
createmasternodekey
2-
Get new MN address using this command:-
getaccountaddress "MN"
Transfer 5000 arti to the generated address and wait for your transaction to get 6 confirmations. 3- From your local GUI wallet go to >> Tools >> Debug console and type this command:-
getmasternodeoutputs
The outputs will look like this sample :-
"txhash": "1235c52e96c51226bac7250aa8eb0843c930a53d9234fff93e34caab7f658123f00cc", "outputidx": 0 },
4- From your local GUI wallet go to >> Tools >>
Open Masternode Configuration File and add this line to it:-
MN XX.XX.XX.XX:12692 1226bac7250aa8eb0843c930a53d9234fff93e34caab7f658123f00cc 506a242ccbfd2555bcd9cff5f4041752c911f39cb2905acc83ccfe0cf8808df9 0
MN = your masternode alias
XX.XX.XX.XX = your vps ip
12692 = Articash p2p port
1226bac7250aa8eb0843c930a53d9234fff93e34caab7f658123f00cc = Generated private key from step B>1
506a242ccbfd2555bcd9cff5f4041752c911f39cb2905acc83ccfe0cf8808df9 = Generated txhash from step B>3
0 = outputidx from step B>3
CTRL+S to save and close your wallet.C - Final steps + Starting your masternode 1-
Go to your vps and type this command :-
nano $HOME/.articash/articash.conf
After opening the file change
maxconnections=64
#masternode=1
#masternodeprivkey=
externalip=xx.xx.xx.xx
TO
maxconnections=64
masternode=1
masternodeprivkey=1226bac7250aa8eb0843c930a53d9234fff93e34caab7f658123f00cc
externalip=xx.xx.xx.xx
1226bac7250aa8eb0843c930a53d9234fff93e34caab7f658123f00cc= your masternode private key from step B>1
xx.xx.xx.xx = your vps ip
Now restart your wallet :-
articash-cli stop
articashd
2- Now from your local GUI wallet go to >> Tools >> Debug console and type the following command to
start your masternode :-
startmasternode alias false MN
MN = your masternode alias
You can check your masternode status from masternode tab in your wallet or using this command
articash-cli getmasternodestatus