Page cover

Connect to Base

Since 6.5.0 release, OriginTrail DKG nodes support Base blockchain (Mainnet). Learn more about how to use your node with Base below.

Mainnet node setup instructions (Base)

Since the 6.5.0 release, your OriginTrail DKG node can operate on Base network. In order to connect your node to Base, please refer to the instructions below.

1. Obtain Base Archival RPC Endpoint

Refer to the official Base documentation or search for the RPC providers that offer Base RPC's.

2. Acquire TRAC and ETH tokens

List of available exchanges is available on our website.

Instructions on how to bridge TRAC and ETH tokens to Base blockchains can be found here.

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.

"base:8453": {
  "enabled": true,
  "config": {
    "sharesTokenSymbol": "shares_token_symbol",
    "sharesTokenName": "shares_token_name",
    "operatorFee": <value_between_0_and_100>,
    "rpcEndpoints": [
      "<Your Base RPC endpoint>/"
    ],
    "operationalWallets": [
      {
        "evmAddress": "0x0bf...",
        "privateKey": "0x1e3..."
      }
    ],
    "evmManagementWalletPublicKey": "0xd09..."
   }
 }

After adding "base:8453", your "blockchain" object in the configuration file should look like the one below:

...
    "blockchain": {
      "defaultImplementation": "otp:2043",
      "implementation": {
        "otp:20430": {
          "enabled": true,
          "config": {
            "sharesTokenSymbol": "shares_token_symbol",
            "sharesTokenName": "shares_token_name",
            "operatorFee": <value_between_0_and_100>,
            "operationalWallets": [
              {
                "evmAddress": "0x0bf...",
                "privateKey": "0x1e3..."
              }
            ],
            "evmManagementWalletPublicKey": "0xd09..."
          }
        },
        "gnosis:100": {
          "enabled": true,
          "config": {
            "sharesTokenSymbol": "shares_token_symbol",
            "sharesTokenName": "shares_token_name",
            "operatorFee": <value_between_0_and_100>,
            "rpcEndpoints": [
              "https://archive-rpc.chiado.gnosischain.com/"
            ],
            "operationalWallets": [
              {
                "evmAddress": "0x0bf...",
                "privateKey": "0x1e3..."
              }
            ],
            "evmManagementWalletPublicKey": "0xd09..."
           }
         },
         "base:8453": {
           "enabled": true,
           "config": {
           "sharesTokenSymbol": "shares_token_symbol",
           "sharesTokenName": "shares_token_name",
           "operatorFee": <value_between_0_and_100>,
           "rpcEndpoints": [
              "<Your Base RPC endpoint>"
           ],
           "operationalWallets": [
            {
              "evmAddress": "0x0bf...",
              "privateKey": "0x1e3..."
            }
          ],
          "evmManagementWalletPublicKey": "0xd09..."
         }
       }
      }
    },
...

4. Restart your node

You can proceed and restart your node to confirm that it will start communicating with Base.

otnode-restart && otnode-logs

If you added everything successfully, your node will show the log that says “blockchain module initialized with implementation: base:8453”.

If you have come this far and your node logs are not showing any errors, you're node is successfully set up!

Testnet node setup instructions (Base Sepolia)

Since the 6.5.0 release, your OriginTrail DKG node can operate on Base Sepolia network. In order to connect your node to Base Sepolia, please refer to the instructions below.

1. Obtain Base Sepolia Archival RPC Endpoint

Refer to the official Base documentation or search for the RPC providers that offer Base RPC's.

2. Acquire TRAC and Sepolia ETH test tokens

Please refer to Base official documentation to see the list of available faucet providers. In order to obtain TRAC tokens on Base Sepolia, please contact [email protected].

TRAC faucet will be enabled soon via Discord bot, same as for the other networks and the usage instructions will be provided here.

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.

"base:84532": {
  "enabled": true,
  "config": {
    "sharesTokenSymbol": "shares_token_symbol",
    "sharesTokenName": "shares_token_name",
    "operatorFee": <value between 0 and 100>,
    "rpcEndpoints": [
      "<Your Base Sepolia RPC endpoint>/"
    ],
    "operationalWallets": [
      {
        "evmAddress": "0x0bf...",
        "privateKey": "0x1e3..."
      }
    ],
    "evmManagementWalletPublicKey": "0xd09..."
   }
 }

After adding "base:84532", your "blockchain" object in the configuration file should look like the one below:

...
    "blockchain": {
      "defaultImplementation": "otp:20430",
      "implementation": {
        "otp:20430": {
          "enabled": true,
          "config": {
            "sharesTokenSymbol": "shares_token_symbol",
            "sharesTokenName": "shares_token_name",
            "operatorFee": 5,
            "operationalWallets": [
              {
                "evmAddress": "0x0bf...",
                "privateKey": "0x1e3..."
              }
            ],
            "evmManagementWalletPublicKey": "0xd09..."
          }
        },
        "gnosis:10200": {
          "enabled": true,
          "config": {
            "sharesTokenSymbol": "shares_token_symbol",
            "sharesTokenName": "shares_token_name",
            "operatorFee": 5,
            "rpcEndpoints": [
              "https://archive-rpc.chiado.gnosischain.com/"
            ],
            "operationalWallets": [
              {
                "evmAddress": "0x0bf...",
                "privateKey": "0x1e3..."
              }
            ],
            "evmManagementWalletPublicKey": "0xd09..."
           }
         },
         "base:84532": {
           "enabled": true,
           "config": {
           "sharesTokenSymbol": "shares_token_symbol",
           "sharesTokenName": "shares_token_name",
           "operatorFee": <value_between_0_and_100>,
           "rpcEndpoints": [
              "<Your Base Sepolia RPC endpoint>"
           ],
           "operationalWallets": [
            {
              "evmAddress": "0x0bf...",
              "privateKey": "0x1e3..."
            }
          ],
          "evmManagementWalletPublicKey": "0xd09..."
         }
       }
      }
    },
...

4. Restart your node

You can proceed and restart your node to confirm that it will start communicating with Base Sepolia.

otnode-restart && otnode-logs

If you added everything successfully, your node will show the log that says “blockchain module initialized with implementation: base:84532”.

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

Was this helpful?