Various scripts for setting up a Shroudnode.
=============================================================
Open your notepad or any text editor application on your pc and write this down as your Cheat Sheet
1. SHROUDNODE NAME = SN1
2. COLLATERAL = 50000
3. SHROUDX ADDRESS = SZRnGyyPv1FVGgMGn7JXbuHCGbsgiBRprq
4. SHROUDNODE GENKEY = 84qRmqujiRqJ1vepSacScUz1EuBTYoaPM3cD5n1211THemaRWms
5. SHROUDNODE OUTPUTS = 4873d0c50c6ddc623bedcf0684dafc107809f9434b8426b728634f7c8c455615 1
6. UNIQUE IP OF THE VPS = 201.47.23.109:42998
Set up your VPS, we recommend VULTR, and select DEPLOY INSTANCE
then select the following
- Cloud compute
- Location -any
- Server type: Ubuntu 18.04
- Server size: 1GB $5/month
- Add your desired hostname and label
- Click DEPLOY Note: The server will take a few minutes to deploy and will then shows as "running" in your "instances" section.
-
Open your
QT WALLET
. -
Open your
debug console
then type the following comamndshroudnode genkey
-
Copy the generated key from your
debug console
and open yourCheat Sheet
then paste the generated key on4. SHROUDNODE GENKEY
(84qRmqujiRqJ1vepSacScUz1EuBTYoaPM3cD5n1211THemaRWms) -
Copy your stealth address under the
Receive
tab (for example: SZRnGyyPv1FVGgMGn7JXbuHCGbsgiBRprq ) and paste it on yourCheat Sheet
on3. SHROUDX ADDRESS
-
Copy the stealth address again from your
Cheat Sheet
under3. SHROUDX ADDRESS
and head over to yourSend
tab then paste theSHROUDX ADDRESS
on theEnter a ShroudX address
area on theSend
tab and input the2. SHROUDNODE COLLATERAL
which is50000
SHRX on theAmount
area then clickSend
and wait for6
confirmations. -
Then click go to your Transactions tab and right click the transaction when you send the
SHROUDNODE COLLATERAL
then clickCopy transaction ID
when a windows pops-up and head over to yourdebug console
then typeshroudnode outputs
then pressenter
copy thetxhash
and paste it on yourCheat Sheet
under5. SHROUDNODE OUTPUTS
( 4873d0c50c6ddc623bedcf0684dafc107809f9434b8426b728634f7c8c455615 ) and also don't forget to copy theoutputidx
( 1 ) and paste it next to thetxhash
. -
Then head over to your
Cheat Sheet
- input your
VPS
ip address ( 201.47.23.109 ) under6. UNIQUE IP OF THE VPS
- input your
Shroudnode Name
( SN1 )under1. SHROUDNODE NAME
- input your
-
-
Head over to your
shroud
directory- Windows: %APPDATA%/shroud
- Linux: ~/.shroud
- Mac: ~/Library/Application Support/shroud
-
Open and edit
shroudnode.conf
file with your preferred Text Editor- Inside
shroudnode.conf
file is this lines of text
# Shroudnode config file # Format: alias IP:port shroudnode_privatekey collateral_output_txid collateral_output_index # Example: sn1 127.0.0.1:42998 7Cqyr4U7GU7qVo5TE1nrfA8XPVqh7GXBuEBPYzaWxEhiRRDLZ5c 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 1
- Inside
-
UNIQUE IP OF THE VPS = 201.47.23.109:42998
-
On line 4 add your
1. SHROUDNODE NAME
which isSN1
, next is add your6. UNIQUE IP OF THE VPS
which is56.56.65.20
and add the respective default port ofshroud
which is42998
,next is add your4. SHROUDNODE GENKEY
which is84qRmqujiRqJ1vepSacScUz1EuBTYoaPM3cD5n1211THemaRWms
, and lastly add your5. SHROUDNODE OUTPUTS
which is4873d0c50c6ddc623bedcf0684dafc107809f9434b8426b728634f7c8c455615
then add youroutputidx
which is1
next to your5. SHROUDNODE OUTPUTS
. -
It will look like this on the
shroudnode.conf
file
# Shroudnode config file # Format: alias IP:port shroudnode_privatekey collateral_output_txid collateral_output_index # Example: sn1 127.0.0.1:42998 7Cqyr4U7GU7qVo5TE1nrfA8XPVqh7GXBuEBPYzaWxEhiRRDLZ5c 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 1 SN1 201.47.23.109:42998 84qRmqujiRqJ1vepSacScUz1EuBTYoaPM3cD5n1211THemaRWms 4873d0c50c6ddc623bedcf0684dafc107809f9434b8426b728634f7c8c455615 1
-
- Download a SSH Application Client (you can choose one below)
- PuTTY (https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html)
- Bitvise (https://www.bitvise.com/ssh-client-download) [RECOMMENDED]
- Open Bitvise
- Enter your VPS
ip address
underHost
on the Server area - Enter the port number which is
22
underPort
- Enter your VPS
username
underUsername
on the Authentication area - Check the
Store encrypted password in profile
checkbox and enter your VPSpassword
underPassword
- Then click
Log in
- Enter your VPS
On your SSH Terminal type this lines below one at a time
git clone https://github.com/ShroudProtocol/ShroudX
chmod -R 0755 ShroudX
cd ShroudX/contrib/masternode-setup-scripts/shell-scripts
./Install.sh
Note: The script allows you to automatically install ShroudX
from the ShroudX
repository.
rpcuser=username
rpcpassword=password
rpcallowip=127.0.0.1
debug=1
txindex=1
daemon=1
server=1
listen=1
maxconnections=24
shroudnode=1
shroudnodeprivkey=XXXXXXXXXXXXXXXXX ## Replace with your shroudnode private key
externalip=XXX.XXX.XXX.XXX:42998 ## Replace with your node external IP
- Change these following lines on the bash file named
Config.sh
by following steps below viavim
vi Config.sh
then
- change the
username
value to your own - change the
password
value to your own - change the
XXX.XXX.XXX.XXX:42998
value to your own which is located on yourCheat Sheet
(e.g. 201.47.23.109:42998) - change the
yourmasternodeprivkeyhere
value to your own which is also located on yourCheat Sheet
(e.g. 84qRmqujiRqJ1vepSacScUz1EuBTYoaPM3cD5n1211THemaRWms this is yourSHROUDNODE GENKEY
) (To save and exit the editor pressCtrl + C
then type:wq!
then press Enter)
- Then open
Config.sh
file by typing./Config.sh
.
Note: It will automatically change your shroud.conf
file located on the shroud
directory inputting all the text above.
-
OPEN YOUR QT WALLET ON YOUR LOCAL MACHINE
-
HEAD OVER TO
Shroudnodes
tab on your wallet -
YOU CAN CLICK
Start all
to start your shroudnode
Note: Shroudnodes that are enabled will appear on your Shroudnodes
tab
Run first the Sourceupdate.sh
shell file. On your SSH Terminal type this line below
cd
cd ShroudX/contrib/masternode-setup-scripts/shell-scripts
./Sourceupdate.sh
When finish updating the source using Sourceupdate.sh
then you can run the Update.sh
shell file. On your SSH Terminal type this line below
cd
cd ShroudX/contrib/masternode-setup-scripts/shell-scripts
./Update.sh
Note: It will automatically update your daemon
if you have question regarding to the scripts feel free to head over to ShroudX Discord Channel
(https://discord.gg/fj8KDYd)