Various scripts for setting up masternodes and staking.
Open your notepad or any text editor application on your pc and write this down as your Cheat Sheet
1. MASTERNODE NAME = MN1
2. COLLATERAL = 500000
3. STEALTH ADDRESS = 41jasVJqZKegd5pAWopYUrU61CJ4gdmdaUpWRCBnrRn9fFFeM2eP54vdgDEcF6zVF43U9CBjgFFywShiA8Lu1Mr91A7DL3L8vtQ
4. MASTERNODE GENKEY = 8799TqpXKkMkQ7Wyan7FueUk5pa2dydnhUYu5dpjeixvfh3k9No
5. MASTERNODE OUTPUTS = d9ab6b76b0b6596e0fe64c80dcb709bd68e070465f9b65af637c1e702c93c122 0
6. UNIQUE IP OF THE VPS = 56.56.65.20
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 WALLETand access it with your password. -
Open your
debug consoleor pressF1key on your keyboard and type the following comamndmasternode genkey-
Copy the generated key from your
debug consoleand open yourCheat Sheetthen paste the generated key on4. MASTERNODE GENKEY(8799TqpXKkMkQ7Wyan7FueUk5pa2dydnhUYu5dpjeixvfh3k9No) -
Copy your stealth address under the
Receivetab (for example: 41jasVJqZKegd5pAWopYUrU61CJ4gdmdaUpWRCBnrRn9fFFeM2eP54vdgDEcF6zVF43U9CBjgFFywShiA8Lu1Mr91A7DL3L8vtQ ) and paste it on yourCheat Sheeton3. STEALTH ADDRESS -
Copy the stealth address again from your
Cheat Sheetunder3. STEALTH ADDRESSand head over to yourSendtab then paste theSTEALTH ADDRESSon theWallet Addressarea on theSendtab and input the2. MASTERNODE COLLATERALwhich is500000XCX on theXCX Amountarea then clickSendand wait for6confirmations. -
Then click
Copywhen a windows pops-up and head over to yourdebug consoleor pressF1then typemasternode outputsthen pressentercopy thetxhashand paste it on yourCheat Sheetunder5. MASTERNODE OUTPUTS( d9ab6b76b0b6596e0fe64c80dcb709bd68e070465f9b65af637c1e702c93c122 ) and also don't forget to copy theoutputidx( 0 ) and paste it next to thetxhash. -
Then head over to your
Cheat Sheet- input your
VPSip address ( 56.56.65.20 ) under6. UNIQUE IP OF THE VPS - input your
Masternode Name( MN1 )under1. MASTERNODE NAME
- input your
-
-
Head over to your
encryptdirectory- Windows: %APPDATA%/encrypt
- Linux: ~/.encrypt
- Mac: ~/Library/Application Support/encrypt
-
Open and edit
masternode.conffile with your preferred Text Editor- Inside
masternode.conffile is this lines of text
# Masternode config file # Format: alias IP:port masternodeprivkey collateral_output_txid collateral_output_index # Example: mn1 127.0.0.2:2020 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0-
On line 4 add your
1. MASTERNODE NAMEwhich isMN1, next is add your6. UNIQUE IP OF THE VPSwhich is56.56.65.20and add the respective default port ofencryptwhich is2020,next is add your4. MASTERNODE GENKEYwhich is8799TqpXKkMkQ7Wyan7FueUk5pa2dydnhUYu5dpjeixvfh3k9No, and lastly add your5. MASTERNODE OUTPUTSwhich isd9ab6b76b0b6596e0fe64c80dcb709bd68e070465f9b65af637c1e702c93c122then add youroutputidxwhich is0next to your5. MASTERNODE OUTPUTS. -
It will look like this on the
masternode.conffile
# Masternode config file # Format: alias IP:port masternodeprivkey collateral_output_txid collateral_output_index # Example: mn1 127.0.0.2:2020 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0 MN1 56.56.65.20:2020 8799TqpXKkMkQ7Wyan7FueUk5pa2dydnhUYu5dpjeixvfh3k9No d9ab6b76b0b6596e0fe64c80dcb709bd68e070465f9b65af637c1e702c93c122 0 - Inside
- 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 addressunderHoston the Server area - Enter the port number which is
22underPort - Enter your VPS
usernameunderUsernameon the Authentication area - Check the
Store encrypted password in profilecheckbox and enter your VPSpasswordunderPassword - Then click
Log in
- Enter your VPS
On your SSH Terminal type this lines below one at a time
git clone https://github.com/getdzypher/EncryptNetwork-Scripts enscripts
chmod -R 755 enscripts
cd enscripts/Masternodes
./Install.sh
Note: The script allows you to automatically install Encrypt from the Encrypt Network repository.
rpcuser=someuserhere
rpcpassword=somepasswordhere
rpcallowip=127.0.0.1
server=1
daemon=1
listen=1
staking=0
logtimestamps=1
maxconnections=256
masternode=1
externalip=yourexternaliphere
masternodeprivkey=yourmasternodeprivkeyhere
- Change these following lines on the bash file named
Config.shby following steps below viavim
vi Config.sh
then
- change the
someuserherevalue to your own - change the
somepasswordherevalue to your own - change the
yourexternalipherevalue to your own which is located on yourCheat Sheet(e.g. 56.56.65.20:2020) - change the
yourmasternodeprivkeyherevalue to your own which is also located on yourCheat Sheet(e.g. 8799TqpXKkMkQ7Wyan7FueUk5pa2dydnhUYu5dpjeixvfh3k9No this is yourMASTERNODE GENKEY) (To save and exit the editor pressCtrl + Cthen type:wq!then press Enter)
- Then open
Config.shfile by typing./Config.sh. Note: It will automatically change yourencrypt.conffile located on theencryptdirectory inputting all the text above.
Just run the Update.sh shell file. On your SSH Terminal type this line below
./Update.sh
Note: I will automatically updates your daemon
if you have question regarding to the scripts feel free to head over to Encrypt Network Discord Channel (https://discord.gg/JhYe8z)