DCC Documents
  • Quickstart
  • Overview
    • Introduction
    • Features
    • Our Goal
    • Consensus Engine
    • Issue ERC20 Token
  • Developers
    • Network Endpoints
    • Deploy Smart Contract
      • Using Remix
      • Using Hardhat
    • Deploy NFTs
      • Create A Foundry Project
      • Create Your ERC721 Contract
      • Add Metadata
    • Run a Node
      • Hardware & System Requirements
      • Install DCC
      • Run A Full Node
      • Run A Validator Node
        • Block Rewards
        • Apply For Running A Validator
        • Manager Account And Validator Account
        • Run A Validator
      • Troubleshooting
    • Explorer
    • Dev Toolkit
  • Individuals
    • Wallet
      • Supported Wallet
      • Tutorial on how to set up wallet
    • Network Configuration
      • Configure Value
      • Tutorial on how to config DCC network in Metamask
  • FAQs
    • FAQs
      • General FAQs
      • Validator FAQs
  • Future Developments
    • Milestone
  • Community
    • Community
  • Disclosure
    • Disclaimers
    • Risk Statement
    • Media Kit
Powered by GitBook
On this page
  1. Developers
  2. Run a Node
  3. Run A Validator Node

Run A Validator

We assume you have already created the Keystore file for your validator account following the previous section. You can run your validator node with the following command:

geth --datadir /data/.dcc \
    --unlock 0x0000000000000000000000000000000000000000 \
    --password /data/.dcc/pass --mine 

The command is similar to what we have seen in "Run A Full Node", except with some extra options:

The address after --unlock should be the address of your validator account. So you should replace 0x0000000000000000000000000000000000000000 with your validator account.

The path /data/.dcc/pass after --password refers to a plain text file that contains the password of your Keystore file.

The --mine option tells the node try to validate and propose new blocks.

If you want to enable the HTTP and Websocket RPC servers on your validator node, you should never make them publicly accessible! Because that would make your validator account accessible through the RPC requests.

PreviousManager Account And Validator AccountNextTroubleshooting

Last updated 2 years ago