Deploying a DKG paranet
A guide for developers and paranet operators on launching their paranet on the DKG
Last updated
Was this helpful?
A guide for developers and paranet operators on launching their paranet on the DKG
Last updated
Was this helpful?
To successfully deploy a paranet, you will have to create a knowledge collection on the DKG and execute paranet registration transactions on the blockchain. This guide assumes you already have a good idea of what purpose you are deploying your DKG paranet for and will focus only on the technical steps.
Below is the input you will need:
Decide which blockchain to deploy your paranet on. This is the blockchain on which knowledge mining will take place. All DKG-integrated blockchains can be used. However, initially, only the NeuroWeb and Base blockchains support .
Pick a paranet name and create a short description (which will be stored on-chain).
Decide what kind of permissions the paranet will have.
Prepare a paranet profile Knowledge Asset to represent your paranet as its profile on the DKG. It can be as minimal or as rich in content as you'd like.
A paranet profile is a Knowledge Asset that will uniquely identify your paranet and you as the paranet operator. As long as you own this Knowledge Asset, you will be able to manage paranet operator functions in the DKG paranet smart contracts.
An example paranet profile Knowledge Asset could look like this:
Paranet Knowledge Assets UAL looks like this:
Once you create your paranet profile Knowledge Asset, save the Knowledge Asset UALs that are contained within the knowledge collection UAL, as you will need them for the next step.
You can use DKG.js or execute the paranet transaction directly on the smart contracts.
Here's a code snippet using dkg.js (from the above example)
That's it, you have successfully performed a minimal paranet deployment, and knowledge miners can now start mining knowledge via your paranet.
To proceed, we recommend setting up a DKG node that will continuously sync your paranet knowledge graph.
Here's a demo of paranets in action: .
Additionally, you might want to consider to incentivize knowledge miners.
If you have been running a paranet on the previous V6 version of the DKG, your paranet will not automatically update to the new system. If you need help updating, please contact the core developers in for assistance.