DENTNet Documentation
  • Introduction
  • Why DENTNet
  • Overview
    • Difference vs. Other Blockchains
    • Core Concepts
      • Accounts
      • Transactions
      • Events
      • Fees
      • DENTX
      • Proof of Stake
        • Staking
        • Validators
        • Nomination Pool
      • Treasury
    • Advanced Concepts
      • Telecommunication Assets
        • Mobile Data
        • Voice Minutes
      • DENT Token
      • Operator Sponsorship
      • Telco Asset Usage
      • Telco Asset Expiry
      • Technical Committee
    • Start with DENTX
      • Uniswap
        • DENTX on Ethereum
      • Swap on DENTNet
        • Swap DENT on DENTNet
      • Buy on DENTNet
  • Technical Foundation
    • Polkadot SDK
    • WebAssembly (Wasm)
  • Tools
    • Explorer
    • Bridge
      • Move DENTs from Ethereum to DENTNet
      • Move DENTX from Ethereum to DENTNet
    • Dashboard
    • Validator UI
    • Wallets
      • Polkadot Ledger App
      • SubWallet
      • Vault App
      • PolkadotJS
      • [Deprecated] DENTNet Ledger App
  • Technical Documentation
    • Node API
    • Operating a Node
    • Operating a Validator
      • How to set up a DENTNet Validator?
      • Validator Monitoring
      • Pause Validation
      • Upgrade or move a validator
    • Changelog
Powered by GitBook

Copyright DENT Wireless Limited, 2024

On this page
  • Install docker
  • Adjust Power Management
  • Set up Installation
  • Pull the Binary Image
  • Start the DENTNet Node
  • Get Your Node ID
  • Hardware
  1. Technical Documentation

Operating a Node

PreviousNode APINextOperating a Validator

Last updated 1 year ago

This section contains information on how to set up a DENTNet node. DENT Wireless will provide these values for setup to chosen DENTNet node and Validator operators:

  • SPEC_URL_PROVIDED_BY_DENT

  • DOCKER_URL_PROVIDED_BY_DENT

  • SYNC_URL_PROVIDED_BY_DENT

  • DOCKER_PW_PROVIDED_BY_DENT

Install docker

First, go to , choose your platform, and follow the instructions to install Docker on your computer or server.

If you are unfamiliar with Docker, please check the documentation and available videos, e.g., on .

Adjust Power Management

If you are set up on a personal computer, make sure to disable sleep and automatic shutdown.

Set up Installation

Create a directory for all DENTNet files and download the DENTNet spec file and docker compose yaml file you received from DENT.

mkdir dentnet-mainnet
cd dentnet-mainnet

curl -o docker-compose.yml <DOCKER_URL_PROVIDED_BY_DENT>
curl -o dentnet_live_spec_raw.json <SPEC_URL_PROVIDED_BY_DENT>

Open port 30333 on your firewall and forward it to your docker server. The DENTNet Node allows connections from other nodes to build the peer-to-peer network through this port.

Only open port 30333 to the public. Only access your node locally using RPC on port 19944.

Create a directory for the chain data.

mkdir -p ./data1/chains/dentnet/

To get synced up faster download the snapshot provided by DENT. This step can be skipped if you want to let the node sync by itself. Depending on the network speed full sync from 0 might take a few days.

curl -o - -L <SYNC_URL_PROVIDED_BY_DENT> | tar -xvf - -C ./data1/chains/dentnet/

On Linux machines, please update the access rights for the downloaded data.

chown -R 101:101 ./data1

Pull the Binary Image

docker login -u dentnet

Paste the password provided by DENT (DOCKER_PW_PROVIDED_BY_DENT).

docker compose pull

Start the DENTNet Node

docker compose up -d

To view the logs of your node you can use this command:

docker compose logs -f 

or

docker compose logs -f --tail=20

to avoid scrolling through all the logs.

A usual output looks like

If your node is synced, you see this output normally.

Get Your Node ID

curl -H "Content-Type: application/json" -d \
'{"id":1, "jsonrpc":"2.0", "method": "system_localPeerId"}' \
http://localhost:19944/

Hardware

The minimum recommended hardware for running a node is

  • Intel i5 or AMD equivalent

  • 16GB RAM

  • 1TB disk space

  • Intel i7 (or AMD equivalent) or higher

  • 4 physical cores @ 3.4GHz or faster

  • 32 GB RAM

  • 1 TB SSD

Check the port number from the ports mapping in the docker-compose.yml. You should be able to see your node in the web interface: .

If you intend to on this node, please use:

https://docs.docker.com/engine/install/
https://docs.docker.com/
https://rpc.dentnet.io/apps/#/explorer/node
operate a Validator