Skip to main content

Prerequisites

  • Go 1.21 or newer
  • Git, make, a C toolchain
  • Roughly 20 GB of free disk for a testnet full node

Build

The binary lands in build/bin/krnxd.

Initialize

A Kronex node is initialized from a genesis file, not from a network ID. The repository ships the testnet genesis and a matching node config:
--networkid overrides only the p2p network identifier. It does not select a genesis. Two nodes with the same --networkid and different genesis files will find each other and then refuse to sync.

Run

To expose RPC, add the HTTP flags and include krnx in the API list:
Bind to 127.0.0.1 unless the node sits behind a proxy you control. The krnx namespace contains submit methods, and krnxadmin should never be reachable from outside the host.

Verify

Then check that merged mining is arriving:
A null result means the head block carries no AuxPoW extension yet.

Private network

For an isolated network, write your own genesis and give every node the same one:
Pick a network ID that is not 42068 or 42069 so a misconfigured node cannot half-join a real network.