Run an Archive Node

Requirements

Linux Instance

OS - Ubuntu 18.04 or a higher version

Specifications

Specifications
Recommended

CPU

8 Core

RAM

32 GB

Disk

  • SSD 6 TB 8,000 IOPS

  • 250 MB/s throughput

Network

> 10 MB/s

Allowed Inbound and Outbound

  • Protocol - TCP and UDP

  • Port - 30303

  • Source IP - 0.0.0.0/0

Installation

Create a new directory for your validator node

mkdir -p kub-node && cd kub-node

Download the Genesis file and the configuration file using wget

wget https://raw.githubusercontent.com/kub-chain/bkc-node/main/mainnet/genesis.json
wget https://raw.githubusercontent.com/kub-chain/bkc-node/main/mainnet/config.toml

Download the latest release; the current version is v2.3.0

wget https://github.com/kub-chain/bkc/releases/download/v2.3.0-bkc/geth2.2.0.darwin-arm64.tar.gz

Extract the downloaded file

tar -xvf geth2.3.0.darwin-arm64.tar.gz

Set the password, replace YourPassword with your password

echo "YourPassword" > ./password.sec

Create a new validator account

./geth --datadir ./data account new --password ./password.sec

Your public address will be generated after creating the account. Please write it down, as you will need it in the later steps.

Initialize the Genesis file

./geth --datadir ./data init ./genesis.json

Run geth using the following command and replace 0xYourPublicAddress with your public address retrieved in the earlier steps

./geth --datadir ./data \
    --config ./config.toml --password ./password.sec \
    --syncmode snap \
    --mine \
    --unlock 0xYourPublicAddress --allow-insecure-unlock 

Please allow some time for your system to download and sync the network data.

Last updated

Was this helpful?