Skip to main content

celocli validator

View and manage Validators

celocli validator:affiliate ARG1

Affiliate a Validator with a Validator Group. This allows the Validator Group to add that Validator as a member. If the Validator is already a member of a Validator Group, affiliating with a different Group will remove the Validator from the first group’s members.
See code: src/commands/validator/affiliate.ts

celocli validator:community-rpc-nodes

Displays a list of community RPC nodes for the currently elected validator groups

celocli validator:deaffiliate

Deaffiliate a Validator from a Validator Group, and remove it from the Group if it is also a member.
See code: src/commands/validator/deaffiliate.ts

celocli validator:deregister

Deregister a Validator. Wait the require lock period after the validator is no longer part of any group, then it will be possible to deregister the validator and start unlocking the CELO. If you wish to deregister your validator, you must first remove it from it’s group, such as by deaffiliating it, then wait the required days before running this command.
See code: src/commands/validator/deregister.ts

celocli validator:list

List registered Community Rpc Nodes (Formerly Validators), their name (if provided), affiliation, uptime score, and public keys. For rpc urls use “network:rpc-urls”
See code: src/commands/validator/list.ts

celocli validator:register

Register a new Validator
See code: src/commands/validator/register.ts

celocli validator:requirements

List the Locked Gold requirements for registering a Validator. This consists of a value, which is the amount of CELO that needs to be locked in order to register, and a duration, which is the amount of time that CELO must stay locked following the deregistration of the Validator.
See code: src/commands/validator/requirements.ts

celocli validator:rpc-urls

Displays a list of community RPC nodes for the currently elected validator groups

celocli validator:send-payment

Sends the allocated epoch payment to a validator, their group, and delegation beneficiary.

celocli validator:show ARG1

Show information about a registered Validator.
See code: src/commands/validator/show.ts

celocli validator:status

Shows the consensus status of a validator. This command will show whether a validator is currently elected, would be elected if an election were to be run right now, and the percentage of blocks signed and number of blocks successfully proposed within a given window.
See code: src/commands/validator/status.ts