Automated setup with the installer
This page will guide you through the DKG Edge Node installation process for MacOS and Linux
Last updated
Was this helpful?
This page will guide you through the DKG Edge Node installation process for MacOS and Linux
Last updated
Was this helpful?
macOS
Ubuntu 22.04 and Ubuntu 24.04
Edge node installer will detect your operating system automatically (MacOS or Linux) so no configuration related to this is required by the user.
Before getting started with the installation, there are a few important preparations to make. The process requires certain inputs such as wallet addresses and funds. The following sections will walk you through each of these prerequisites step by step.
(macOS)
The Edge Node uses three types of keys: a management key, an operational key, and a publishing key. The management and operational keys need a small amount of the utility token based on the blockchain you will be using (NEURO, Base ETH, xDai) to sign transactions for certain operations, while publishing key requires both the utility and TRAC tokens to perform publishing operations.
In order to fund your wallets, please refer to our faucet .
In order to receive TRAC to on Neuroweb, first acquire NEURO via faucet to initiate your wallet.
Once you have your wallets funded and ready, you may proceed with cloning, configuring and running the Edge node installer by following the instructions provided below.
The .env.example is used as a guide template, but is well documented and should help you understand what each of the variables mean.
Refer to the section below which will help you prepare your Edge node configuration.
DEPLOYMENT_MODE (defaults to development) - The installer differentiates between two modes of operation - development and production, controlled by the DEPLOYMENT_MODE variable. Production mode enables persistency, by enabling and starting services. Production mode is currently only supported for systems with systemd.
DB_USER - Set this to root
DB_PASSWORD - used to connect to existing MySQL instance, or setup an authenticated connection on fresh installs.
DEFAULT_PUBLISH_BLOCKCHAIN and BLOCKCHAIN_ENVIRONMENT - By default, the Edge Node publishes to the Neuroweb testnet blockchain. You can change this behaviour by editing the DEFAULT_PUBLISH_BLOCKCHAIN and BLOCKCHAIN_ENVIRONMENT variables.
PUBLISH_WALLET_01_PUBLIC_KEY and PUBLISH_WALLET_01_PRIVATE_KEY - Are keys used by the node to publish knowledge assets to the blockchain (using the default blockchain configuration mentioned above).
NODE ENGINE PARAMETERS - This section of the .env file is related to passing management and operational keys for your Edge node as well as RPC endpoints which your node engine will use to communicate with the selected blockchain.
OPEN_AI_KEY or ANTHROPIC_API_KEY - Edge Node components rely on LLMs to function properly. To ensure full functionality, at least one of the two external services is required.
Edge node supports multiple external services and tools which can be configured via .env
before running the installer. The list of supported ones is presented below in the form of parameters:
Once all the required parameters have been configured in the .env file, simply run the installer and wait for it to finish the Edge node setup.
Edge node installer will deploy each component within the edge_node directory: airflow, drag-api, edge-node-auth-service, ka-mining-api, ot-node.
Edge node services will be available and listening on the following local ports upon installation:
3001 - Authentication service
3002 - API (backend)
5002 - dRAG
5005 - Knowledge mining
8900 - OT Node
8080 - Airflow web-server
UI (Edge node interface) will be cloned and configured in the following paths:
MacOS - /var/www/edge-node-ui/
Linux - /opt/homebrew/etc/nginx/servers/edge-node-ui
The default login credentials for the Edge node UI are as follows:
username: my_edge_node
password: edge_node_pass
Follow our official channels for updates:
Note: To check your wallets funds on Neuroweb testnet, use .
UI will be available on
Once the Edge Node is up and running in your local environment, you’re ready to explore its features and capabilities. To get started, refer to the section to learn how to interact with the node and understand what it can do.
If you encounter any issues during the installation process or have questions about any of the topics above, jump into our official and ask for assistance.