Create a N1PC node
This guide provides a straightforward approach to setting up and running an N1PC node on your system. Follow these steps to get started:
Prerequisites
A server or local machine with a recent version of Linux (Ubuntu 20.04 LTS recommended).
A user with sudo privileges.
Basic knowledge of terminal and command line.
Install git
First, ensure Git is installed on your system to clone the N1PC repository:
Setup firewall
Configure your firewall to secure the node:
Clone n1pc repository
Clone the repository to obtain the necessary files:
Initialize the Node
Navigate to the N1PC directory and initialize your node with a unique name and the network's chain ID:
Running the init command will create a ~/.n1pc
folder with config files. In the next steps, we will configure our node so it can connect to other nodes.
Make n1pcd Executable System-wide
To ensure n1pcd
can be run from anywhere:
Add the following line at the end of the file:
Save and exit, then apply the changes:
Configure node
Adjust the node's configuration to connect to the network:
Copy the Genesis file
Ensure the node is configured with the correct genesis file:
Run the Node
Start your node to begin syncing with the network:
Once you start the node, it will begin syncing with other nodes. It takes some time to sync all blocks.
Last updated