Build the core
Install required dependencies first
Last updated
Was this helpful?
Install required dependencies first
Last updated
Was this helpful?
First part of Klyntar is written using Go language, so you need to install it. Use this guide to install Golang for your platform & architecture
Or, check if you already have Go
Part of core is written on Node.js so you should to install it. If you already have installed, we recommend checking the version. The recommended version is v21.4.0
Use official guides to install Node.js for your platform (Windows/Linux/Mac)
As a package manager for Node.js we use pnpm. To install it globally, run:
PM2 is a production process manager for Node.js applications with a built-in load balancer. It allows you to keep applications alive forever, to reload them without downtime and to facilitate common system admin tasks.
You can install it globally using the command:
PM2 allows you to manage and monitor a node/validator in production mode. So, you can simply start the node/validator via PM2 to:
Run the node as a background service - so you can close the console, close the SSH connection to server and node will work on background
Have access to logs stream to monitor node status
Here are some useful commands