Run a Node

Guideline to run a full node on DERA chain

Dependencies

Build the Node binary

  1. Clone the AvalancheGo repository

git clone https://github.com/ava-labs/avalanchego.git
  1. Compile binary

cd avalanchego
./scripts/build.sh
  1. Create AvalancheGo service directory

sudo mkdir /var/lib/avalanchego
  1. Copy executable to binary directory

sudo cp avalanchego/build/avalanchego /usr/local/bin/
sudo chmod 755 /usr/local/bin/avalanchego
  1. Create AvalancheGo working directory

  1. Download the subnet EVM from official repository

  1. Copy subnet EVM to AvalancheGo working directory

mDVK6hF1rcPB2e7ftmYbMQgnYMnQSnnk7cUfu8dENAYqH9XJA is the VMID of DERA chain.

  1. Create chainConfigs directory

2XCTEc8CfNK9MtQWYMfgNt32QjZsZqq92LH7eTV5xY8YjY44du is blockchain ID of DERA chain.

  1. Create chain config.json

with content.

  1. Create config.json for AvalancheGo

with content.

  1. Create systemd startup scripts

with content.

  1. Load the systemd service

  1. Start and enable the AvalancheGo service

  1. Tracking the bootstrap process, until the node is fully bootstrapped

  1. Verify node is fully bootstrapped

  • DERA chain

  • P-chain

Ensure that both requests response are

Then your node is ready to work to secure DERA chain consensus.

Last updated