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:

15 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.

6 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

I have followed the setup guide and end with this error:
INFO [2025-03-08 06:39:27.687] waiting 5 seconds for network discovery…
WARN [2025-03-08 06:39:32.688] fast bootstrap is disabled
INFO [2025-03-08 06:39:32.799] bootstrap parameters epoch = 0
ERROR[2025-03-08 06:39:32.906] create meta store error = not supported cache type
ERROR[2025-03-08 06:39:32.907] not supported cache type

Running Ubuntu 22.04.5 LTS
Following node-operations - Klever Docs

I am currently syncing main net. I just can’t seem to figure out testnet.

The @Blockchain team is checking this case. We’ll circle back soon

Hello @Cryptolution,

Did you download the latest testnet-specific config files?
:link: Download Config Files

If not, please download it now, replace your current config, and let me know if the error persists.

1 Like

I just tried:
curl -k https://backup.testnet.klever.org/config.testnet.109.tar.gz
| tar -xz -C ./node

This link doesn’t work (In Ubuntu cli but I can download it manually.) It appears to work but no files are added to the node folder. Your new link in your comment gives a 403 Forbidden error. I did directly download it at (https://backup.testnet.klever.org/config.testnet.109.tar.gz ) , and I was able to get it to run. Although not correctly yet.


Nothing syncs and the program will exit automatically after 10-15 seconds.

After checking logs, I had a permissions issue. Odd that testnet had this issue but mainnet did not. Issue is resolved.

2 Likes

Yesterday my Testnet Node went offline. Upon restart, I could no longer sync. I tried deleting the db folder 109 database and I still cannot re-sync. My node shows only shows 1 peer - 0 validators - 1 node. I tried with a new install of everything including the config files. Any help is appreciated. Also a backup file for the 109 db would be helpful as the link does not work to download this… Mainnet link works testnet does not… https://backup.testnet.klever.finance/kleverchain.testnet.latest.tar.gz

I really need testnet to work so I can test the node and network to my satisfaction before spending actual money. Just normal stuff like backup/restore of node… Can someone help get me back in sync? I have tried everything I can think of to no avail.

Hello my friend, sorry for any inconvenient… The @Blockchain team is checking it to support you ASAP

1 Like

I will be on vacation until April 1st. It would be nice if we can get a working link for 109 chains backup. My issue seems to be not connecting to any peers/validators/nodes. Main-net syncs fine and I used to be in sync with test net. I am using the same config files as before when test-net synced. Thanks for the attention.

1 Like

Yo @Cryptolution we’ve been working on this. I circle back here when done.