OriginTrail Software Development Kit


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.

Setting up SDK

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 here. Or other node runners need to provide access.

JavaScript Client - dkg.js

Full documentation on JavaScript client can be found here. Dkg.js is available on github and npm.

Python Client -

Full documentation on Python client can be found here. is available on github and pypi.

The OriginTrail SDK libraries are being built in various languages by the team and the community, expect more implementations in future to become available!

Last updated