<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nexus-wiki.org/index.php?action=history&amp;feed=atom&amp;title=Dev%3ARun_a_Testnet_Node</id>
	<title>Dev:Run a Testnet Node - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nexus-wiki.org/index.php?action=history&amp;feed=atom&amp;title=Dev%3ARun_a_Testnet_Node"/>
	<link rel="alternate" type="text/html" href="https://nexus-wiki.org/index.php?title=Dev:Run_a_Testnet_Node&amp;action=history"/>
	<updated>2026-04-24T15:28:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://nexus-wiki.org/index.php?title=Dev:Run_a_Testnet_Node&amp;diff=80&amp;oldid=prev</id>
		<title>Nexus wiki: Nexus wiki moved page Run a Testnet Node to Dev:Run a Testnet Node without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://nexus-wiki.org/index.php?title=Dev:Run_a_Testnet_Node&amp;diff=80&amp;oldid=prev"/>
		<updated>2024-10-04T07:32:50Z</updated>

		<summary type="html">&lt;p&gt;Nexus wiki moved page &lt;a href=&quot;/index.php?title=Run_a_Testnet_Node&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Run a Testnet Node (page does not exist)&quot;&gt;Run a Testnet Node&lt;/a&gt; to &lt;a href=&quot;/index.php/Dev:Run_a_Testnet_Node&quot; title=&quot;Dev:Run a Testnet Node&quot;&gt;Dev:Run a Testnet Node&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:32, 4 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key nexus_wiki:diff:1.41:old-54:rev-80 --&gt;
&lt;/table&gt;</summary>
		<author><name>Nexus wiki</name></author>
	</entry>
	<entry>
		<id>https://nexus-wiki.org/index.php?title=Dev:Run_a_Testnet_Node&amp;diff=54&amp;oldid=prev</id>
		<title>Nexus wiki: Created page with &quot;This guide will help to set up a node on the nexus testnet. No permission is required to join the testnet and users have complete control of the dedicated node.  The node configuration will differ as per the individual application requirement or amount of transactions generated.  &#039;&#039;If you need any help on the node specifications for a particular application do contact developer support here.&#039;&#039;  == Prerequisites ==  * A computer with a minimum of 1 CPU, 1GB RAM, 20GB hard...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nexus-wiki.org/index.php?title=Dev:Run_a_Testnet_Node&amp;diff=54&amp;oldid=prev"/>
		<updated>2024-10-04T05:35:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This guide will help to set up a node on the nexus testnet. No permission is required to join the testnet and users have complete control of the dedicated node.  The node configuration will differ as per the individual application requirement or amount of transactions generated.  &amp;#039;&amp;#039;If you need any help on the node specifications for a particular application do contact developer support here.&amp;#039;&amp;#039;  == Prerequisites ==  * A computer with a minimum of 1 CPU, 1GB RAM, 20GB hard...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This guide will help to set up a node on the nexus testnet. No permission is required to join the testnet and users have complete control of the dedicated node.&lt;br /&gt;
&lt;br /&gt;
The node configuration will differ as per the individual application requirement or amount of transactions generated.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;If you need any help on the node specifications for a particular application do contact developer support here.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
* A computer with a minimum of 1 CPU, 1GB RAM, 20GB hard space, Raspberry Pi 4 with 2 GB RAM.&lt;br /&gt;
* VPS with 1GB RAM is sufficient for normal usage.&lt;br /&gt;
* Ubuntu server 20.04 LTS or Debian 11 for AMD/IA64 or Ubuntu IOT / Raspberry Pi OS 64 bit for Raspberry Pi. (Use any linux distribution of choice, but this guide is tailored for Debian /Ubuntu).&lt;br /&gt;
* USB drive or SD card to install ubuntu&lt;br /&gt;
* Etcher – To burn the OS image file to USB/SD card&lt;br /&gt;
* Putty if you are using ssh via windows&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Do not use Ubuntu 22.04 as it has the new version of openssl which breaks compatibility with core.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Testnet Mining Node Links ==&lt;br /&gt;
&lt;br /&gt;
The testnet mining nodes are listed below:&lt;br /&gt;
&lt;br /&gt;
* http://testnet1.nexus-interactions.io&lt;br /&gt;
* http://testnet2.nexus-interactions.io&lt;br /&gt;
* http://testnet3.nexus-interactions.io&lt;br /&gt;
&lt;br /&gt;
== Testnet Ports ==&lt;br /&gt;
&lt;br /&gt;
The testnet uses a different set of ports compared to the mainnet. If using a firewall, make sure to open the following ports. Legacy is disabled and the reason RPC port 8336 is not allowed:&lt;br /&gt;
&lt;br /&gt;
7080 - API port&lt;br /&gt;
8325 - Mining port, only enable if mining on testnet&lt;br /&gt;
8888 - Outgoing node connections&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Caption text&lt;br /&gt;
|-&lt;br /&gt;
! Port !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 7080 || API port&lt;br /&gt;
|-&lt;br /&gt;
| 8325 || Mining port, only enable if mining on testnet&lt;br /&gt;
|-&lt;br /&gt;
| 8888 || Outgoing node connections&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Prepare The Node ==&lt;br /&gt;
&lt;br /&gt;
Install Ubuntu server 20.04 LTS or distro of your choice, install open-ssh server during the install and once the installation is complete restart the node. SSH in your node and follow the below commands. You can copy the commands and paste it in the terminal using keys CTRL+SHIFT+v.&lt;br /&gt;
&lt;br /&gt;
Update your node:&lt;br /&gt;
&lt;br /&gt;
 sudo apt update&lt;br /&gt;
&lt;br /&gt;
Upgrade your node:&lt;br /&gt;
&lt;br /&gt;
 sudo apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
Open SSH port before you enable firewall:&lt;br /&gt;
&lt;br /&gt;
 sudo ufw allow ssh&lt;br /&gt;
&lt;br /&gt;
Allow API port 7080:&lt;br /&gt;
&lt;br /&gt;
 sudo ufw allow 7080/tcp&lt;br /&gt;
&lt;br /&gt;
Allow outgoing connections port 8888&lt;br /&gt;
&lt;br /&gt;
 sudo ufw allow 8888/tcp&lt;br /&gt;
&lt;br /&gt;
Allow mining port 8325, only if mining&lt;br /&gt;
 sudo ufw allow 8325/tcp&lt;br /&gt;
&lt;br /&gt;
Enable firewall:&lt;br /&gt;
&lt;br /&gt;
 sudo ufw enable&lt;br /&gt;
&lt;br /&gt;
Check firewall status:&lt;br /&gt;
&lt;br /&gt;
 sudo ufw status&lt;br /&gt;
&lt;br /&gt;
Set your timezone:&lt;br /&gt;
&lt;br /&gt;
 sudo dpkg-reconfigure tzdata&lt;br /&gt;
&lt;br /&gt;
If you need to change the hostname – Not compulsory if you already set it during the install:&lt;br /&gt;
&lt;br /&gt;
 sudo hostnamectl set-hostname &amp;lt;newhostname&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Reboot node:&lt;br /&gt;
&lt;br /&gt;
 sudo reboot&lt;br /&gt;
&lt;br /&gt;
We have our computer ready to install the nexus core!&lt;br /&gt;
&lt;br /&gt;
Compiling Nexus Core&lt;br /&gt;
Install the dependencies required for compiling nexus core CLI. It will take some time to complete depending on your internet speed:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install -y build-essential libssl-dev libdb-dev libdb++-dev libminiupnpc-dev git&lt;br /&gt;
&lt;br /&gt;
Download the latest nexus core source code, and should only take a few seconds to complete:&lt;br /&gt;
&lt;br /&gt;
 git clone --branch merging https://github.com/Nexusoft/LLL-TAO&lt;br /&gt;
&lt;br /&gt;
Change into the source code directory:&lt;br /&gt;
&lt;br /&gt;
 cd LLL-TAO&lt;br /&gt;
&lt;br /&gt;
Lastly, run this command to compile from source. This begins compiling the nexus core. Please be patient, as this can take a long time depending on your CPU. Replace the 1 in ‘j1’ to the number of cores / threads for compiling faster. To build on Raspberry Pi with 1 GB of ram you have to enable Swap memory. Proceed after setting up [https://rayanfer32.medium.com/enable-swap-memory-on-ubuntu-on-raspberry-pi-a0f873a65e74 swap]:&lt;br /&gt;
&lt;br /&gt;
 make -f makefile.cli clean&lt;br /&gt;
&lt;br /&gt;
For x86/IA64 computers use:&lt;br /&gt;
&lt;br /&gt;
 make -f makefile.cli -j1 AMD64=1 NO_WALLET=1&lt;br /&gt;
&lt;br /&gt;
For the raspberry pi use:&lt;br /&gt;
&lt;br /&gt;
 make -f makefile.cli -j4 ARM64=1 NO_WALLET=1&lt;br /&gt;
&lt;br /&gt;
The output will show “Finished building nexus” on a successful compile.&lt;br /&gt;
&lt;br /&gt;
== Testnet Node Configuration ==&lt;br /&gt;
&lt;br /&gt;
The nexus wallet configuration is kept in a nexus.conf file in ~/.Nexus which is the nexus core directory. Create Nexus core directory (it’s a hidden directory, if you have the directory you can skip this step.):&lt;br /&gt;
&lt;br /&gt;
 mkdir ~/.Nexus&lt;br /&gt;
&lt;br /&gt;
Create the nexus.conf file:&lt;br /&gt;
&lt;br /&gt;
 nano ~/.Nexus/nexus.conf&lt;br /&gt;
&lt;br /&gt;
Copy the below configuration in the nexus.conf file and change the values denoted by &amp;quot;&amp;lt; &amp;gt;&amp;quot; to suit your setup:&lt;br /&gt;
&lt;br /&gt;
 #Nexus testnet config- PLEASE CHANGE TO SUITABLE VALUES&lt;br /&gt;
 #Set API credentials&lt;br /&gt;
 apiuser=&amp;lt;username&amp;gt;&lt;br /&gt;
 apipassword=&amp;lt;password&amp;gt;&lt;br /&gt;
 #To enable API authentication for testing&lt;br /&gt;
 apiauth=1&lt;br /&gt;
 #To enable API remote access&lt;br /&gt;
 apiremote=1&lt;br /&gt;
 #To whitelist IP address for API access&lt;br /&gt;
 llpallowip=&amp;lt;ipaddress&amp;gt;:7080&lt;br /&gt;
 #To enable multiuser mode: enables more than one user to be logged into the node&lt;br /&gt;
 multiuser=1&lt;br /&gt;
 #To enable debug mode&lt;br /&gt;
 #debug=1&lt;br /&gt;
 #To enable the daemon mode&lt;br /&gt;
 daemon=1&lt;br /&gt;
 #To accept incoming JSON-RPC commands&lt;br /&gt;
 server=1&lt;br /&gt;
 #Enable mining&lt;br /&gt;
 #mining=1&lt;br /&gt;
 #Enable Staking&lt;br /&gt;
 #stake=1&lt;br /&gt;
 #The testnet flag defaults the API port to 7080, RPC to 8336 &amp;amp; mining port to 8325&lt;br /&gt;
 testnet=1&lt;br /&gt;
 #To connect to the Nexus public testnet. &lt;br /&gt;
 connect=testnet1.nexus-interactions.io&lt;br /&gt;
 connect=testnet2.nexus-interactions.io&lt;br /&gt;
 connect=testnet3.nexus-interactions.io&lt;br /&gt;
 #To disable mainet DNS nodes&lt;br /&gt;
 nodns=1&lt;br /&gt;
 #process notifications (incoming transactions) automatically in background&lt;br /&gt;
 processnotifications=1&lt;br /&gt;
 #To add a stop password to protect from accidental wallet exit&lt;br /&gt;
 system/stop=&amp;lt;password&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ctrl+s &amp;amp; ctrl+x to save and exit the nano text editor. The wallet configuration is now complete.&lt;br /&gt;
&lt;br /&gt;
== APIs to Control the Node ==&lt;br /&gt;
&lt;br /&gt;
To start, stop and check the node info you have to use APIs from the terminal. Change into the LLL-TAO directory to start nexus core (You have to be in the LLL-TAO folder to run all the following commands):&lt;br /&gt;
&lt;br /&gt;
 cd LLL-TAO&lt;br /&gt;
&lt;br /&gt;
To start the daemon:&lt;br /&gt;
&lt;br /&gt;
 ./nexus&lt;br /&gt;
&lt;br /&gt;
Nexus core will be running in the background as a daemon. It will connect to the mining nodes specified in the configuration and synchronize the blockchain. It will take a few minutes to find peers and synchronize the chain.&lt;br /&gt;
&lt;br /&gt;
To stop the daemon:&lt;br /&gt;
&lt;br /&gt;
 ./nexus system/stop&lt;br /&gt;
&lt;br /&gt;
 ./nexus system/stop password=&amp;lt;password&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To get the node info:&lt;br /&gt;
&lt;br /&gt;
 ./nexus system/get/info&lt;br /&gt;
&lt;br /&gt;
Now the testnet node is ready to be used for your application. Hope this guide was helpful!&lt;/div&gt;</summary>
		<author><name>Nexus wiki</name></author>
	</entry>
</feed>