Connect to Gnosis
Since 6.2.0 release, OriginTrail DKG nodes support Gnosis blockchain. Learn more about how to use your node with Gnosis below.
Mainnet node instructions (Gnosis chain)
Since the 6.2.0 release, your OriginTrail DKG node supports the Gnosis blockchain. In order to connect your node to Gnosis, please refer to the instructions below.
1. Obtain Gnosis archival RPC Endpoint
Refer to the official Gnosis documentation and select an RPC provider to acquire the Archival RPC Endpoint.
Selecting an archival endpoint is a crucial requirement for the optimal functionality of your DKG node.
2. Acquire tokens
In order for your node to be able to create the profile on the Gnosis blockchain, it will require some xDai tokens on the operational wallet (at least one of the wallets in operationalWallets). Make sure that you acquire them before proceeding to update the configuration file; otherwise, your node will fail to connect to the Gnosis network.
If you are planning on running an OriginTrail Full node, make sure that you also acquire TRAC tokens on Gnosis network and have them ready on the management wallet (evmManagementWalletPublicKey). TRAC is required for the process of setting up stake on your node once it's successfully connected to Gnosis and created its profile.
As described in the "Acquiring tokens" instructions page, bridging TRAC tokens from Ethereum to Gnosis network is done via OmniBridge or any other bridging platform.
DKG Gateway nodes do not require TRAC stake.
3. Update DKG node configuration
Open .origintrail_noderc file of your DKG node located inside the ot-node directory. Inside the configuration file, locate the "blockchain" object, and add the following object to the "implementation" array, specifying your RPC endpoint and wallets. As operationalWallets
is an array, you can define multiple operational wallets, which is recommended.
After adding "gnosis:100", make sure to add the initial operatorFee
(range from 0% to 100%).
Initial operator fee (operatorFee) can only be set on the profile creation, so make sure not to forget about it. In order to change it later through Houston, you will need to wait for a delay of 28 days!
After these additions, your "blockchain" object in the configuration file should look similar to the example below:
4. Restart your node
You can proceed and restart your node to confirm that it will start communicating with Gnosis Chiado.
If you added everything successfully, your node will show the “blockchain module initialized with implementation: gnosis:10200” log.
Testnet node instructions (Gnosis Chiado)
Since the 6.1.0 release, your OriginTrail DKG node can operate on Gnosis Chiado network. In order to connect your node to Gnosis, please refer to the instructions below.
1. Obtain Gnosis Chiado Archival RPC Endpoint
Refer to the official Gnosis documentation and select an RPC provider to acquire the Archival RPC Endpoint.
Selecting an archival endpoint is a crucial requirement for the optimal functionality of your DKG node.
2. Acquire TRAC and Chiado test tokens
Go to DKG Testnet faucet to get test TRAC and xDAI tokens.
3. Update DKG node configuration
Open the .origintrail_noderc configuration file of your DKG node located inside the ot-node directory. Within the config, locate the "blockchain" object, and add the following object to the "implementation" array, specifying your RPC endpoint and wallets. As operationalWallets
is an array, you can define multiple operational wallets, which is recommended.
After adding "gnosis:10200", your "blockchain" object in the configuration file should look like the one below:
4. Restart your node
You can proceed and restart your node to confirm that it will start communicating with Gnosis Chiado.
Once again, make sure that your operational wallet has some Chiado in order for your OriginTrail DKG node to be able to create the profile on the new network.
If you added everything successfully, your node will show the log that says “blockchain module initialized with implementation: gnosis:10200”.
If you have come this far and your node logs are not showing any errors, you're node is successfully set up!
Node Stake and ask setup:
If you are running a Gateway node, setting up stake and ask is not required.
Please refer to "Running a full node" part of our documentation for more details regarding setting up stake and ask parameters.
Last updated