How to setup TrumpCoin patriotnode on Ubuntu

A patriotnode is a server on a decentralized network which are used for direct/private/instant transactions.
How to setup TrumpCoin patriotnode on Ubuntu

A patriotnode is a server on a decentralized network. It can be uses to complete unique functions which ordinary nodes can’t. It can be used for features like direct send/instant transactions or private transactions.

Because of their increased capabilities, patriotnodes typically require a sizable investment in order to run. But this is where incentivization comes into play, as patriotnode operators are rewarded by earning portions of block rewards in whatever given cryptocurrency they’re facilitating.

patriotnodes are nodes running the same wallet software on the same blockchain to provide extra services to the network. These services include:

Anonymization increased privacy of transactions
Instant transactions
A decentralized governance
A decentralized budgeting system
Immutable proposal and voting systems.
This particular guide will walk you through the process of setting up a TrumpCoin patriotnode in Ubuntu, either in a cloud server or your home computer.

Basic requirements to run TrumpCoin patriotnode

5,000 TRUMP How do I obtain TRUMP?
A main computer (Your everyday computer) – This will run the control wallet, hold your collateral 5,000 TRUMP and can be turned on and off without affecting the patriotnode.
Patriotnode Server (VPS – The computer that will be on 24/7)
A unique IP address for your VPS / Remote wallet
Set up Control wallet
1. Generate patriotnode private key
patriotnode genkey will create a private key for you

2. Generate address
getaccountaddress NAME_OF_patriotnode will create an address for you.

3. Fund the control wallet
Send 5,000 TRUMP to the address you generated in step 2 Be absolutely 100% sure that this is copied correctly. We cannot help you, if you send 5,000 TRUMP to an incorrect address.

4. Confirm sent
patriotnode outputs will give you proof of transaction of sending 5,000 TRUMP

5. Assign the wallet
Go to TrumpCoin data directory %Appdata%/TrumpCoin on Windows and ~ on Linux. Find patriotnode.conf and add the following line to it

<Name of patriotnode(Use the name you entered earlier for simplicity)> <Unique IP address>:15110 <The result of Step 1> <Result of Step 4> <The number after the long line in Step 4>
Substitute it with your own values and without the “<>”s

Install the wallet in Ubuntu
6. Install wallet on patriotnode Ubuntu
Install the latest version of the TrumpCoin wallet onto your patriotnode. The lastest version can be found here: https://github.com/trumpcoinsupport/TrumpCoin

Latest as of Oct 27, 2021 Download TrumpCoin Wallet v4.1.1.0

Execute the following commands one by one. Some VPS will unzip all the files in you the current folder you in. If so you can skip the 3rd step if you want to. This is for Ubuntu 18.04. You can change to Ubuntu 16.04 if needed.

Youll need to install some programs on your VPS.

cd ~ && sudo apt-get update && sudo apt-get install unzip nano build-essential -y

cd ~
wget https://github.com/trumpcoinsupport/TrumpCoin/releases/download/4.1.1.0/TrumpCoin.Ubuntu18.04.zip
unzip TrumpCoin.Ubuntu18.04.zip
cd ~/TrumpCoin.Ubuntu18.04
./trumpCoind
CTRL+C
cd ~/.trumpcoin <---folder name might be different.
vim trumpCoin.conf
then press i to go into insert mode and make the config look like this:

rpcuser=long random username 
rpcpassword=longer random password 
rpcallowip=127.0.0.1
server=1 
daemon=1 
logtimestamps=1 
maxconnections=256 
patriotnode=1 
externalip=your unique public ip address 
patriotnodeprivkey=Result of Step 1

Press esc and :wq

Start your patriotnode
cd ~/TrumpCoin <---folder name might be different.
./trumpCoind
From the Control wallet debug console startpatriotnode alias false <mymnalias>

The following should appear:

“overall” : “Successfully started 1 patriotnodes, failed to start 0, total 1”, “detail” : [ { “alias” : “”, “result” : “successful”, “error” : “” }

7. Start the patriotnode
./trumpCoin-cli startpatriotnode local false A message “patriotnode successfully started” should appear

8. check status
./trumpCoin-cli patriotnode status You should see something like:

{ “txhash” : “334545645643534534324238908f36ff4456454dfffff51311”, “outputidx” : 0, “netaddr” : “45.11.111.111:15110”, “addr” : “T6fujc45645645445645R7TiCwexx1LA1”, “status” : 4, “message” : “patriotnode successfully started” }

Congratulations! You have successfully created your patriotnode!

Now the patriotnode setup is complete, Don remove “enablezeromint=0” from the TrumpCoin.conf file of the control wallet.

Here's to other wiki setups that might also come in helpful to you.

https://github.com/trumpcoinsupport/TrumpCoin/wiki/Multi-Patriotnodes-on-VPS-Ubuntu-64bit-Setup-Guide

https://github.com/trumpcoinsupport/TrumpCoin/wiki/VPS-Ubuntu-64bit-Patriotnode-Setup-Guide

If you would like to tip me in TRUMP my TrumpCoin address is in my profile page. Also Join WehubSpace and have a look around. Freedom to express yourself!!