Deploy your Edge-Node-based project
Last updated
Was this helpful?
Last updated
Was this helpful?
Following the steps bellow will allow you to clone and execute the automated installer, enabling you to easily set up the DKG Edge Node with minimal configuration.
The deployment involves a few simple steps:
Cloning the
Updating the installer with your forked repositories (URL's)
Running the installer
Configuring DKG Edge Node services
This process ensures a fast and efficient deployment, making it ideal for those who want to get hands-on with DKG Edge Node functionalities without extensive setup.
OS: Linux
RAM: At least 8 GB
CPU: 4
Storage: At least 20 GB of available space
Network: Stable internet connection
Ensure the following services are installed:
Git
In order to clone the Edge Node installer repository, simply run the commands below on your Linux server:
Open .env
file in the Edge node installer directory with nano
or any other file editor, and add your repositories URL's:
If your Github repositories are private, make sure to provide the installer with your Github credentials by passing them to the following .env
variables:
Since you are deploying your solution to Linux server we suggest that you configure the DEPLOYMENT_MODE=production
and the installer will enable and start all its services once installed since they run as systemd.
Simply run the installer with the command provided below:
All Edge node services will be configured to run as systemd
processes, which will be enabled and started automatically upon installation.
In order to configure and initialize your V8 DKG Runtime Node, you will have to populate a few important placeholders in .origintrail_noderc configuration file:
<SERVER_PUBLIC_IP> (to prevent issues with NAT)
<your_sharesTokenSymbol>
<your_sharesTokenName>
<RPC_ENDPOINT> (Base Sepolia)
<MANAGEMENT_KEY_PUBLIC_ADDRESS>
<OPERATIONAL_KEY_PUBLIC_ADDRESS>
<OPERATIONAL_KEY_PRIVATE_ADDRESS>
Whitelist your Linux server IP address on the V8 DKG Runtime node (see below):
Once the configuration files have been provided with all the required inputs, initiate your node with the otnode-start
command. Additionally, make sure that you check your V8 DKG Runtime Node logs by executing the otnode-logs
command, and wait for the "Node is up and running!" log to be printed.
This page is intended for developers who have already built and are looking to deploy their solution to a server. As such, instructions for configuring node keys (wallets) and other mandatory parameters in the .env
file are not included here. These parameters are still required for the Edge Node to function properly so the list of mandatory .env
parameters can be found under .
If you are not familiar with how wallets work on V8 DKG Runtime Node, please check the section related to wallets, .
If you encounter any issues during the installation process or have questions regarding any of the above topics, we kindly invite you to join our official and ask for assistance.