Setup Process

To run the K2 node, first, you have to install the Koii command-line tools.

Download the Latest Release

K2 Releases are published on our github. Click the link below to get the latest version.

Configure Koii CLI

The Koii CLI includes get and set configuration commands to automatically set the --url argument for CLI commands. For example:

Next, set the koii configuration to use your validator keypair:

Example:

You should see an output similar to this:

Airdrop & Check Validator Balance

Airdrop yourself some KOII to get started:

To view your current balance:

Create an Authorized Withdrawer Account

If you haven't created one before now, create an authorized-withdrawer keypair to be used as the ultimate authority over your validator. This keypair will be able to withdraw from your vote account and will have additional permission to change all other aspects of your vote account.

This is a very important keypair since anyone in possession of it has the ability to permanently take control of your vote account and make any changes they please. Therefore, it's crucial to store your authorized-withdrawer keypair in a secure location.

It doesn't have to be stored on your validator, and it shouldn't be stored anywhere where unauthorized people could access it. To create your authorized-withdrawer keypair:

Create Vote Account

Create a vote-account keypair and create the vote account on the network.

To create a vote-account keypair:

To create a vote account:

Example:

The command above will create your vote account on the blockchain with all the default options.

Remember to move your authorized withdrawer keypair into a very secure location after running the create-vote-account command.

Connect Your Validator

Connect to the cluster by running:

Last updated