OriginTrail
  • Get started with OriginTrail
  • OriginTrail Ecosystem — Call for Papers (Coming Soon)
  • Key Concepts
    • Decentralized Knowledge Graph (DKG)
    • DKG key concepts
  • Build with DKG
    • Quickstart (test drive the DKG in 5 mins)
      • Quickstart with Node.js
      • Quickstart with Python
    • ChatDKG builder toolkit
      • DKG SDK
        • Development environment setup
        • DKG Javascript SDK (dkg.js)
          • Interact with DKG paranets
          • Knowledge submission & curation
          • Paranet's incentives pool implementation
        • DKG Python SDK (dkg.py)
      • DKG paranets
        • Deploying a DKG paranet
        • Building with DKG paranets
        • Syncing a DKG Paranet
        • Initial Paranet Offerings (IPOs)
          • IPO specification
          • Launching your IPO
          • Paranet's incentives pool
          • IPO voting
      • AI agents
        • ElizaOS DKG agent
        • Custom DKG Python agent
        • Custom DKG JavaScript agent
    • DKG Edge Node
      • DKG Edge Node architecture
      • Get started with the Edge Node boilerplate
        • Automated setup with the installer
        • Manual setup
        • Usage example
      • Customize & build with the Edge Node
      • Knowledge Mining and dRAG examples
      • Deploy your Edge Node based project
        • Automated deployment with installer
      • DKG Edge Node inception program
      • DKG Edge Node API documentation
    • DKG Core Node
      • Run a V8 Core Node on testnet
        • Preparation for V8 DKG Core Node deployment
        • V8 DKG Core Node installation
      • Run a V8 Core Node on mainnet
        • Preparation for V8 DKG Core Node deployment
        • V8 DKG Core Node installation
  • Delegated staking
    • Delegated staking—Introduction
      • Step-by-step staking
      • Redelegating stake
  • Integrated Blockchains
    • Base blockchain
      • Connect to Base
    • Gnosis chain
      • Connect to Gnosis
    • NeuroWeb
    • Teleport instructions - NeuroWeb
    • Bridging to Moonbeam
    • Deployed smart contracts
  • Bounties & rewards
    • General bug bounty
    • Code contributions & V8 bug bounty
  • Whitepapers & RFCs
    • OriginTrail whitepaper
    • OriginTrail RFCs
  • Useful Resources
    • What's new with OriginTrail V8
    • DKG V8 guidebook
      • Protocol updates
      • Feature roadmap
      • How to upgrade to V8?
    • Public nodes
    • Tutorials
    • Test token faucet
    • Development principles
    • Community created resources
    • Linked data & knowledge graphs
    • Available networks, network details and RPCs
    • OT Node Engine implementation details
      • Modules
      • Command Executor
    • Contribution guidelines
      • Guidelines for automated test contributions
    • Explore the OriginTrail ecosystem
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Build with DKG
  2. ChatDKG builder toolkit

DKG SDK

Decentralized Knowledge Graph V8 client

PreviousChatDKG builder toolkitNextDevelopment environment setup

Last updated 1 month ago

Was this helpful?

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. They enable you to create and manage Knowledge Assets through your apps and perform network queries (such as search or SPARQL queries), as illustrated below.

The OriginTrail SDK currently comes in two forms:

Try out the SDK

You can try out the SDK in two different ways:

1. Using Public DKG Nodes

2. Development Environment Setup

Set up a development environment using one of the following options:

SDKs for other programming languages would be welcome contributions to the project. The core development team is also considering including them in the roadmap.

Interested in building a DKG SDK in a particular programming language? We'd love to support you.

Javascript SDK -

Python SDK - .

Try the SDK with public DKG nodes by following the guide.

Deploy your node on the DKG testnet (recommended): This option allows you to quickly experiment with the SDK on a testnet of your choice. Follow the for setup instructions.

Deploy your node on a local DKG network: Use this option for a fully localized development environment by following the .

Create an on our GitHub, and let's get the conversation started!

dkg.js
dkg.py
Quickstart: Test Drive the DKG in 5 Minutes
Edge Node Deployment Guide
Developoment Environment Setup Guide
issue
OriginTrail dev tutorial: SDK walkthrough
The interplay between your app, DKG and blockchains