SDK
OriginTrail Software Development Kit
Last updated
OriginTrail Software Development Kit
Last updated
The OriginTrail SDK is a set of software development tools that allows you to interact with the OriginTrail Decentralized Knowledge Graph (DKG). The DKG is a network of nodes that store and exchange data using semantic web standards and blockchain technology. With the OriginTrail DKG SDK, you can create, manage, and query knowledge assets on the DKG, as well as integrate with existing web3 applications.
The OriginTrail SDK is available in two implementations: Javascript and Python. Each SDK library provides an easy-to-use interface to connect to a local or remote Origin Trail gateway node, which acts as a bridge between your application and the DKG network.
To configure both the JavaScript and Python clients, it's necessary to supply the private and public addresses of your wallet. These wallets play a crucial role in the Knowledge Mining process, as they are used to publish knowledge assets.
It's important to remember that only Knowledge Assets that are published on the NeuroWeb mainnet are eligible for Knowledge Mining. Therefore, clients should be set up with this in mind.
To use client access to DKG node is required, you can host the node yourself, more on node hosting can be found . Or other node runners need to provide access.
Full documentation on JavaScript client can be found . Dkg.js is available on and .
Full documentation on Python client can be found . Dkg.py is available on and .