The Masternode can be set up with a ip v4/v6 address or with Tor addresses for extra anonymity.
All wallets can be found here: https://galilel.org/#wallets
Go to the "Receive" tab, enter a label name and click "Request payment"
Then select "Copy Address"
Go to the "Send" tab, paste the address and send exactly 15 000 Gali. Wait for at least 12 confirmations and then open the "Debug Console"
save the outputs in notepad. The first part of your wallet setup is done. We will know setup the VPS and come back to the wallet after to finish the setup
Login to your VPS (via putty, bitvise, terminal, etc...). If you do not know how to login, please refer to your VPS provider instructions
Enter the following command one at a time
chmod +x install_galilel.sh
The script will now install the masternode, the process can take up to 15 minutes. Once the installation is completed, you need to check different synchronisation status with the following commands
galilel-cli mnsync status
Open the Masternode Configuration File
the notepad will open with an example of the input required
You need to enter a new line following the example:
replace 'IP:port' with the IP of your VPS and add :36001 at the end of the IP
replace 'masternodeprivkey' with the genkey generated earlier
replace 'collateral_output_txid' with the outputs generated earlier
replace 'collateral_output_index' with the index generated earlier (0 or 1)
So your line will look like this (with each parameters matching your console outputs):
Save the file, close and re-open your wallet, then go to the '"Masternode" tab, highlight your masternode and select "Start Alias". You will get a pop-up saying '"asternode started successfully"
Back in your VPS, you just need to enter one line of code to confirm that your Masternode has started successfully
this should return
Now your node is up and running. First payout ist aprox. 3 times the regular masternode payout frequency
This guide is for Windows but should work with any platform, the purpose being you have easier control over your nodes and a quick setup without the need to know any linux or use remote access. It will also save you vps costs, the only drawback is that you have to have a computer running 24/7 online but if you stake then you are doing this already. You can run multiple Tor nodes or as many as you need on the one computer
The latest version of the Galilel coin wallet
The Tor Browser foryour system from here https://www.torproject.org
A computer suitable for running 24/7 online.
All wallets can be found here: https://galilel.org/#wallets
Create addresses for how many masternodes you will need and label them mn1, mn2, mn3, mn4 ect... Copy the address and paste them into a text document
Go to the debug window and generate the private keys for your masternodes. Type
to generate a private key for every masternode, then copy the private keys and paste them in the text document
Now send the exact collateral (15.000GALI) to each masternode address one at a time, start with mn1, wait for the coins to confirm then type
Masternode address you send coins to will create a transaction id like this "a97c835aae17ebde01155c48w8b73e5bd763fee5bb4ff1650c4479578f8e9ed6" : "1"
Now that we have all the info we need saved in the info text document, we now need to backup the wallet (https://galilel.gitbook.io/wiki-en/guides/wallet/backup)
Download the Tor Browser installation file from https://www.torproject.org and install. When the Tor browser has finished the install we need to edit a file called torrc, this file can be found in the folder Tor Browser\Browser\TorBrowser\Data\Tor. Open the torrc file in a text editor. Once open in the editor you will need to add the following lines of text, (If there is already text in the file, just start underneath it). Add a line for each masternodelike this
HiddenServiceDir \Tor Browser\GALInode1 HiddenServicePort 36001 127.0.0.1:9901 HiddenServiceDir \Tor Browser\GALInode2 HiddenServicePort36001 127.0.0.1:9902 HiddenServiceDir \Tor Browser\GALInode3 HiddenServicePort 36001 127.0.0.1:9903
Make sure your masternode port is 36001and the p2p forward local ports are correct for each node you add 127.0.0.1:990* ect. Save and close the torrc, you might want to make a shortcut to this file on your desktop for quick access later
Start tor browser. If you are not connected behind a proxy simply click connect or if you are add in your details. While connecting this box will popup
Once connected you will be faced with a screen like this below, you can click ‘Test Tor Network Settings’ to make sure it is working
Now you have run the Tor Browser, it has automatically created your onion IP addresses in the folders you used in the torrc config file. Close Tor Browser, then add # to all the command lines in the torrc file to deactivate and to keep a record, like this
# HiddenServiceDir C:\Program Files (x86)\Tor Browser\nodeGALI1# HiddenServicePort 36001 127.0.0.1:9901
Go to the Tor Browser folder and you will see the node folders you specified in the torrc file. In each of these node folders you will find a file called hostname. Open it with a text editor again and it will show you the .onion address. Copy each of the .onion addresses from node1, node2, ect..to the info text document you saved earlier. Save info text document. You should now have all the details needed to setup the masternodes
Now we need to setup the masternode wallet folders for node1, node2, node3...ect. Create a folder on a drive called TORMASTERNODE,example
C:\TORMASTERNODE then create 3 more folders inside TORMASTERNODE labeled DATA , EXE , SHORTCUT. Create the folders node1, node2, node3 ect.. In the DATA folder or drag and copy the node* folders from Tor Browser folder
Next copy the galilel-qt.exe file to the
\TORMASTERNODE\EXEfolder . You now need to to make copies of the galilel-qt.exe and namethem galilel-tor1.exe, galilel-tor2.exe, galilel-tor3.exe, ect.
Now create a shortcut to each galilel-tor*.exe in the SHORTCUTS folder like this
Next we have to edit the shortcuts so the wallets find the blockchain in the DATA/node* folders. Right click the first shortcut, click properties and add this line to the end of the target after 1 space
Make sure your location (drive letter) of the TORMASTERNODE is correct, above the example is located on C Drive
Now edit the next shortcuts but change the node number so the other wallets can find their own blockchain folder like this
Once all your shortcuts are edited copy them to your desktop or create a shortcut to the shortcut folder. We now need to open the info document saved earlier
First edit the control wallet galilel.conf & masternode.conf, go to C:\Users***\AppData\Roaming\Galilel folder and open both files in a texteditor
In the galilel.conf add the following without < > brackets
listen=1server=1daemon=1staking=1rpcuser=<user>rpcpassword=<password># rpcport=36002# port=9901rpcallowip=127.0.0.1# onion=127.0.0.1:9901maxconnections=256masternode=1externalip=<TOR NODE 1.onion>masternodeaddr=<TOR NODE 1.onion>:36001masternodeprivkey=<mn1 PRIVATEKEY>masternodeaddr=<TOR NODE 2.onion>:36001masternodeprivkey=<mn2 PKEY>masternodeaddr=<TOR NODE 3.onion>:36001masternodeprivkey=<mn3 PKEY>masternodeaddr=<TOR NODE 4.onion>:36001masternodeprivkey=<mn4 PKEY>
You need to add a rpc user & password, it can be anything except special characters, the MN port must be 36001
Next edit the masternode.conf and add the following lines
# Format: alias IP:port masternodeprivkey collateral_output_txid collateral_output_indexmn1 d3nyuybb775ht57hj4.onion:36001 7guk7k9guk7k64jfj8kgkky86ikssed3dsdf45544vfgv77gd5mkyt66hhy 0mn2 <TOR NODE 2>:<MN PORT> <masternodeprivkey NODE 2> <TXID mn2>mn3 <TOR NODE 3>:<MN PORT> <masternodeprivkey NODE 3> <TXID mn3>mn4 <TOR NODE 4>:<MN PORT> <masternodeprivkey NODE 4> <TXID mn4>
Now we have saved the galilel.conf & masternode.conf files for \AppData\Roaming\Galilel. We must now copy all files & folders to each\TORMASTERNODE\DATA\node# folder. Go to your main wallet folder C:\Users\***\AppData\Roaming\Galilel folder. Select and copy all the files and folders from
\AppData\Roaming\Galilel to all `\TORMASTERNODE\DATA\node* folders. Make sure you copy to all files & folders to node1, node2 node3, ect...
Once copied go to \TORMASTERNODE\DATA\nodeGALI1 and edit the galilel.conf with a text editor, remove lines that are for NODE2,NODE3, NODE4, ect..
listen=0 staking=0 remove the # before rpcport=9001 port=9901 onion=127.0.0.1:9901
listen=0server=0daemon=1staking=1rpcuser=<user>rpcpassword=<password>rpcport=36002port=9901rpcallowip=127.0.0.1onion=127.0.0.1:9901maxconnections=256masternode=1externalip=<TOR NODE 1.onion>masternodeaddr=<TOR NODE 1.onion>:36001masternodeprivkey=<mn1 PRIVATEKEY>
Repeat for all nodes to mach node number
Then open and edit the masternode.conf for \TORMASTERNODE\DATA\node1 and do the same, remove lines that are for mn2, mn3, mn4, ect
# Format: alias IP:port masternodeprivkey collateral_output_txid collateral_output_indexmn1 d3nyuybb775ht57hj4.onion:36001 7guk7k9guk7k64jfj8kgkky86ikssed3dsdf45544vfgv77gd5mkyt66hhy 0
Repeat for all nodes to mach node number
First run all the node wallets and then the main controller wallet from the shortcuts on your desktop, let them all fully sync. Now go to info and check the block number with the Galilel explorer https://explorer.galilel.org/#/ to see if they are correct. Once verified they are all on the correct block number we need to start each node. First node1 wallet go to the masternode tab and right click mn1 the click Start alias. Once mn1 says ENABLED go to node2, node3 wallet ect and repeat Start alias until all say ENABLED. Now they are ENABLED, go to the control wallet and repeat Start alias for mn1, 2, 3 , 4 etc. Once You have all your nodes ENABLED then you just need to restart the wallets after about 20 mins. It should show all your nodes ENABLED and the time the node has been online, if not wait another hour or two and check the masternodes time again
You must have the wallets for node1, node2, node3, 4 ect running 24/7. The control wallet only needs to be running 24/7 if you are staking your rewards. Adding a new masternode is simple just get a new .onion address and follow the rest of the steps to add it. An extra line is needed in the galilel.conf file for Tor icon in each node to work with the new Pivx 3 wallet. onion=127.0.0.1:port Example: If you set your port to 9501 for node1 in the torrc file, then the line would be onion=127.0.0.1:9501