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
      • 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
  • TRAC delegated staking mechanics
  • How do delegators earn TRAC fees?
  • Delegating if you run a Core Node
  • Have questions?

Was this helpful?

Edit on GitHub
  1. Delegated staking

Delegated staking—Introduction

PreviousV8 DKG Core Node installationNextStep-by-step staking

Last updated 2 months ago

Was this helpful?

As a decentralized system, the OriginTrail Decentralized Knowledge Graph (DKG) enables all ecosystem stakeholders owning TRAC to contribute their economic stake to the functioning of the network for utility. Delegated staking involves locking up TRAC for contributing to the DKG security on selected DKG Core Nodes. The DKG Core Node rewards are shared between the TRAC stake delegators.

TRAC delegated staking mechanics

For a DKG Core Node to be eligible to host a portion of the DKG and receive TRAC network rewards, its TRAC stake plays a crucial role. Set at a minimum of 50,000 TRAC on a particular blockchain, the stake has an important role in ensuring the security of the DKG. The DKG Core Node operators can contribute to the node stake on their own or by attracting more TRAC to their stake through delegated staking.

There are 2 roles involved in delegated staking: Core Node operators and TRAC delegators.

Core Node operators are network participants who choose to host and maintain core network nodes (specialized DKG software running servers). Core Nodes store, validate, and make knowledge available to AI systems. They receive $TRAC rewards for this service. All Core Nodes together form a permissionless market of DKG services, competing for their share of network TRAC rewards.

Delegators lock up their TRAC to contribute to the DKG security on selected DKG Core Nodes and increase their chance of capturing TRAC network rewards. The rewards that the DKG Core Node captures are then shared between the TRAC stake delegators. The delegated tokens are locked in a smart contract and are never accessible to the Core Node operators.

Note that Core Node operators and node delegators are not distinct - you can be both at the same time.

Contrary to inflationary systems, TRAC staking is strictly utility-based, and rewards are generated through DKG usage via knowledge publishing fees.

How do delegators earn TRAC fees?

As knowledge publishers create Knowledge Assets on the DKG, they lock an appropriate amount of TRAC tokens in the DKG smart contracts. The TRAC amount offered has to be high enough to ensure that enough DKG Core Nodes will store it for a specific amount of time. The nodes then commit to storing the Knowledge Assets for a specific amount of time, measured in 30-day periods called epochs.

At the end of each epoch, DKG nodes "prove" that they are providing DKG services to the DKG smart contracts, which in turn unlocks TRAC rewards initially locked by the knowledge publisher.

Many Core Nodes can compete for the same TRAC reward on the basis of their total stake, node ask, and publishing factor. Node rewards are a function of 4 parameters in order of importance:

  1. Node uptime & availability, in positive correlation, as nodes need to prove their commitment to hosting the DKG by submitting proofs to the blockchain (through the new V8 random sampling proof system);

  2. TRAC stake security factor, in positive correlation - the more stake a node attracts, the higher the security guarantees and, therefore, the higher chance of rewards;

  3. Publishing factor, in positive correlation - the more new knowledge has been published via a specific Core Node (measured in TRAC tokens), the higher the chance of rewards;

  4. Node ask, in negative correlation - the nodes with asks lower than the current network fee are positively impacting the system scalability and, therefore, have a higher chance of rewards.

After claiming the rewards, the rewards are automatically restaked, increasing the Core Node's overall stake by the amount of collected rewards.

In order to introduce a level of predictability of network operations, withdrawing tokens is subject to an unbonding period of 28 days.

Delegated staking is a non-custodial system, so the Core Node operator has no access to the locked TRAC tokens at any time.

Each Core Node operator can also set an “operator fee,” which is a percentage of the TRAC rewards deducted each time a node claims rewards from a Knowledge Asset. The remaining TRAC fee is then split proportionally to the share of staked tokens across all delegators.

Example: If a node accumulated 1,000 TRAC tokens in the previous period, and the node has two delegators, both with a 50% share, and the operator_fee is 10%:

  • the node operator will receive 100 TRAC (10%)

  • each delegator receives 450 TRAC (50% of the remaining 900 TRAC)

Delegating if you run a Core Node

If you are running a DKG Core Node, you can delegate TRAC tokens to your node in the same way as others. It is recommended that you also delegate TRAC tokens, signaling your commitment to the network via economic stake - this provides a trust signal to other delegators.

Have questions?

Happy staking! 🚀

More details are presented in

If you want to withdraw tokens in order to delegate to another node on the same network (blockchain), you do not have to wait 28 days!

To understand how to set up your operator fee, follow the instructions for . Note that changing your operator fee incurs a 28-day delay, balancing the 28-day delay that delegators experience when withdrawing stake from your node.

Drop by our or , and feel free to ask your questions there. Make sure to follow our official announcements, and stay safe!

OT-RFC-21
See here >
Core Node setup
Discord
Telegram group
Depiction of delegating and withdrawing of TRAC from DKG smart contracts