Table of Contents
This installer provides an easy way to set up and run a DKG Edge Node on your system.
For more details on the DKG Edge Node, visit the official documentation here.
OriginTrail Decentralized Knowledge Graph (DKG), hosted on the OriginTrail Decentralized Network (ODN) as trusted knowledge infrastructure, is shared global Knowledge Graph of Knowledge Assets. Running on the basis of the permissionless multi-chain OriginTrail protocol, it combines blockchains and knowledge graph technology to enable trusted AI applications based on key W3C standards.
The OriginTrail DKG V8 network is comprised of two types of DKG nodes - Core Nodes, which form the DKG network core and host the DKG, and Edge Nodes, which run on edge devices and connect to the network core. The current beta version is designed to operate on edge devices running Linux and MacOS, with future support for a wide range of edge devices such as mobile phones, wearables, IoT devices, and generally enterprise environments. This enables large volumes of sensitive data to safely enter the AI age while maintaining privacy.
Before proceeding, ensure your system meets the following requirements:
-
OS: Linux (Ubuntu 24.04, Ubuntu 22.04 and Ubuntu 20.04 are currently supported)
-
RAM: At least 8 GB
-
CPU: 4 Cores
-
Storage: At least 20 GB of available space
-
Network: Stable internet connection
Ensure the following services are installed:
- Git
For detailed instructions on setting up the DKG Edge Node in an automated environment on Ubuntu, check out the official documentation here.
To begin, copy the following code:
git clone https://github.com/OriginTrail/edge-node-installer
Once you have cloned the repository, navigate to the directory and set the environment variables:
- Open the
.env.example
file:
nano .env.example
-
Fill in the required parameters.
-
After completing configuring the environment file, rename it to
.env
:
mv .env.example .env
To execute the installation, run the following command:
bash edge-node-installer.sh
Once the installation is complete, you can access the user interface by navigating to:
http://your-nodes-ip-address
The default login credentials are:
- Username: my_edge_node
- Password: edge_node_pass
Important: It is highly recommended to change the default credentials.
The OriginTrail SDKs are client libraries for your applications, used to interact and connect with the OriginTrail Decentralized Knowledge Graph. From an architectural standpoint, the SDK libraries are application interfaces into the DKG, enabling you to create and manage Knowledge Assets through your apps, as well as perform network queries (such as search, or SPARQL queries), as illustrated below.
The OriginTrail SDK libraries are being built in various languages by the team and the community, as listed below:
- dkg.js - V8 JavaScript SDK implementation
- dkg.py - V8 Python SDK implementation
Distributed under the Apache-2.0 License. See LICENSE
file for more information.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
By testing the DKG Edge Node, and the installer, and sharing your feedback, you help us refine the setup process and improve the overall experience. If you encounter any issues or have suggestions, please let us know! 🐛