Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.08 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.08 KB

Nimiq PoS Validator Registration Tool

This command-line tool works by sending 6 transactions to the Nimiq PoW blockchain in a specific format. For further information check the documentation.

Installation

Make sure you have Node.js >= v16.20.2 and Yarn Classic 1.x installed.

Then navigate to this repo and install the dependencies by running:

yarn

Basic usage

node validator-registration.js [options]

Options:
    --help             Display this help page
    --validator        Path to the validator specification file (JSONC)
    --network          "test" or "main" - The network that should be used to register a validator. 
                       If this argument is not provided, the tool connects to the "test" network by default

When run without any options, a new validator-keys.json file with random keys is securely generated.

Documentation

Documentation is available in the Nimiq developer center.