NeuroWeb - official documentation
  • NeuroWeb Network
  • Roadmap
  • NEURO Token
    • Tokenomics
    • Exchanges
    • Bridges
  • Whitepapers
  • Knowledge Mining
    • Knowledge mining beta program
    • Knowledge Mining Kit
      • JSON-LD Tutorial
      • SDK
      • ChatDKG - X bot
  • NeuroWeb Technical information
    • Available networks
    • Block Explorers
    • NeuroWeb EVM
  • On-chain Governance
    • Voting on a referendum
    • Removing expired democracy locks
    • Submit a governance proposal
  • Polkadot
    • Crowdloan
Powered by GitBook
On this page
  • SDK
  • Setting up SDK
  • JavaScript Client - dkg.js
  • Python Client - dkg.py
  1. Knowledge Mining
  2. Knowledge Mining Kit

SDK

OriginTrail Software Development Kit

PreviousJSON-LD TutorialNextChatDKG - X bot

Last updated 1 year ago

SDK

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

JavaScript Client - dkg.js

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

Python Client - dkg.py

Full documentation on Python client can be found . Dkg.py is available on and .

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

here
here
github
npm
here
github
pypi