How to become a validator on KleverChain

Hello KleverChain enthusiasts, want to know what you need to become a validator and what you can do?

So, to become a KleverChain validator node you will need 10M KLV staked, from that, at least 1.5M must be self-staked, the remaining amount can be from delegation.

How to register a validator using CLI

Registering a validator is done in this way:

docker run -it --rm --user "$(id -u):$(id -g)" \
    -v $(pwd)/wallet:/opt/klever-blockchain \
    --network=host \
    --entrypoint=/usr/local/bin/operator \
    kleverapp/klever-go:latest \
    --key-file=./walletKey.pem \
    --node=https://node.mainnet.klever.finance \
    validator create \
    klv1h7vx629mwuv4pnecn0k9clxp9rt7rquat3kvydgu8npt20e0ntjq3jhd40 \
    --bls=ce3aa977d1028e2a91730259c4b66cd862b77c63253fa12932012288108a0b7f110da4a2e3e1c15cc94802a79afef418f9a724a1ebe1423c0fa897bae669f1735b082ff3f19b3e00acc76a2bb0f31b1856e3e55952655386fbedad9c55322b81 \
    --rewards=klv1h7vx629mwuv4pnecn0k9clxp9rt7rquat3kvydgu8npt20e0ntjq3jhd40 \
    --name=MyValidatorName \
    --logo="https://klever.finance/wp-content/uploads/2021/09/logo.svg" \
    --commission=5 \
    --maxDelegation=12000000 \
    --uris="github=github.com/klever-io"

The command follows this pattern:[OWNER_ADDR]. where:

--bls is the BLS key
--rewards is the address to whom the rewards are given.
--name represents the Node name.
--logo is the URL for the validator’s image.
--commission is the commission of the validator.
--maxDelegation is the max amount of delegation the validator can receive.
--uris is a key=value list of URIS.

  • Make sure you have entered the correct BLS pub key
  • One can also use public node to send the transaction

How to freeze KLV for staking

In order to freeze KLV, you should type the following code:

docker run -it --rm --user "$(id -u):$(id -g)" \
    -v $(pwd)/wallet:/opt/klever-blockchain \
    --network=host \
    --entrypoint=/usr/local/bin/operator \
    kleverapp/klever-go:latest \
    --key-file=./walletKey.pem \
    --node=https://node.mainnet.klever.finance account freeze 10000000

After the “freeze” instruction, there is this structure: [AMOUNT].

[AMOUNT] for how much is being frozen.

–kda is the Asset ID.

The minimum amount allowed to stake KLV is 1000 KLV.

How to Delegate frozen KLV to node

Delegate to an address [TO], pointing to the bucket [BUCKET_ID] where the frozen KLV is located.

docker run -it --rm --user "$(id -u):$(id -g)" \
    -v $(pwd)/wallet:/opt/klever-blockchain \
    --network=host \
    --entrypoint=/usr/local/bin/operator \
    kleverapp/klever-go:latest \
    --key-file=./walletKey.pem \
    --node=https://node.mainnet.klever.finance \
    account delegate \
    klv186vg5k3pqetmfuy04620htcvz3krugu7hqe4ukczdy48r222j78q9y8vm5 \
    --bucketID=db0748c562c413a68b21a75249e1b936339fc03513e0bf076d3850b7a81113d2

It’s important to know that there’s a minimum self-staking amount for the validator. The structure for delegate command is:

[DELEGATE TO ADDRESS].

[DELEGATE TO ADDRESS] is the address you want to delegate the frozen bucket power (in this case your validator address)

--bucketID is the bucket hash, which can be found in the frozen TX ID or in Klever testnet explorer.

WIth the operator CLI, you can check the bucket ID with the command tx-by-id followed by the hash of the freeze transaction:

docker run -it --rm --user "$(id -u):$(id -g)" \
    -v $(pwd)/wallet:/opt/klever-blockchain \
    --network=host \
    --entrypoint=/usr/local/bin/operator \
    kleverapp/klever-go-testnet:latest \
    --key-file=./walletKey.pem \
    tx-by-id \
    45db3a993b64323df2d9841c0ac9a78c8a1760804557a65ca866163e64138bbf

The Bucket ID can be found in the TX Receipt.

Edit the validator settings (change node BLS Pubkey and commission)

You can change the validator configuration using this command:

docker run -it --rm --user "$(id -u):$(id -g)" \
    -v $(pwd)/wallet:/opt/klever-blockchain \
    --network=host \
    --entrypoint=/usr/local/bin/operator \
    kleverapp/klever-go:latest \
    --key-file=./walletKey.pem \
    --node=https://node.mainnet.klever.finance \
    validator config \
    klv1h7vx629mwuv4pnecn0k9clxp9rt7rquat3kvydgu8npt20e0ntjq3jhd40 \
    --bls=ce3aa977d1028e2a91730259c4b66cd862b77c63253fa12932012288108a0b7f110da4a2e3e1c15cc94802a79afef418f9a724a1ebe1423c0fa897bae669f1735b082ff3f19b3e00acc76a2bb0f31b1856e3e55952655386fbedad9c55322b81 \
    --rewards=klv1h7vx629mwuv4pnecn0k9clxp9rt7rquat3kvydgu8npt20e0ntjq3jhd40 \
    --name=MyValidatorName \
    --logo="https://klever.finance/wp-content/uploads/2021/09/logo.svg" \
    --commission=5 \
    --maxDelegation=12000000 \
    --uris="github=github.com/klever-io"

Here’s the structure: [OWNER_ADDRESS], where:

--bls is the BLS key
--rewards is the address to whom the rewards are given.
--name represents the Node name.
--logo is the URL for the validator’s image.
--commission is the commission of the validator.
--maxDelegation is the max amount of delegation the validator can receive.
--uris is a key=value list of URIS.

We hope you found this post helpful and informative. We are here to support you on your journey as a KleverChain validator. If you still have any questions or suggestions, please feel free to share them with us. We are eager to hear about your experiences and assist you in achieving maximum success as a validator. Together, we can build a strong and thriving community. We look forward to your questions and suggestions! :rocket:

13 Likes

The above process is regarding registering a validator either via KleverScan Explorer (no code - GUI) or via Command Line.

But what then ?
Am I supposed to run a server (24x7x365 Days) ? If yes then how, which client software or what is the whole process from step 0 - Final stage ?

We are looking to start out Validators Node on KleverChain, Please Guide us.
We have already accumulated more than reuired KLV to start a Validator Node.

5 Likes

sure, you must run your own server at home or at a data center 24/7
just use whatever Linux you like, Debian for example and follow the docs to run the node

you should have basic Linux knowledge

4 Likes

I have Mac & Windows (would prefer Windows), 100 TB Hard Drive to store data (ledger), & required min. assets to become a validator.

Now could you please guide me step by step from zero to run a node, register as validator & start securing, & earning from the network & passive income simultaneously on KleverChain !

3 Likes

Just read the documentation for testnet:

Mainnet got already described at the beginning of this topic, just scroll up.

And like already mentioned:

  • Linux (debian, ubuntu, etc.) / MacOS
  • Docker
  • 24/7 Internet
  • Basic Linux system knowledge to setup and maintain your server (this you must learn by yourself)

You MUST read these docs, everything is described - if you are stuck, feel free to ask.

5 Likes

I have a very little knowledge about tech stuff.
Thai is the reason I am asking it.
Brother Maik, Can you teach me ?

3 Likes

I have created a topic about Linux: https://forum.klever.org/t/how-to-start-with-linux/1601

Just read it, learn and ask Linux based questions there.
Please keep this topic here for validator questions - thanks.

3 Likes

This document is of great help, thank you for sharing.

3 Likes