Skip to main content

celocli account

Manage your account, keys, and metadata

celocli account:authorize

Keep your locked Gold more secure by authorizing alternative keys to be used for signing attestations, voting, or validating. By doing so, you can continue to participate in the protocol while keeping the key with access to your locked Gold in cold storage. You must include a “proof-of-possession” of the key being authorized, which can be generated with the “account:proof-of-possession” command.
See code: src/commands/account/authorize.ts

celocli account:balance ARG1

View Celo Stables and CELO balances for an address
See code: src/commands/account/balance.ts

celocli account:claim-account ARG1

Claim another account, and optionally its public key, and add the claim to a local metadata file
See code: src/commands/account/claim-account.ts

celocli account:claim-domain ARG1

Claim a domain and add the claim to a local metadata file
See code: src/commands/account/claim-domain.ts

celocli account:claim-keybase ARG1

Claim a keybase username and add the claim to a local metadata file
See code: src/commands/account/claim-keybase.ts

celocli account:claim-name ARG1

Claim a name and add the claim to a local metadata file
See code: src/commands/account/claim-name.ts

celocli account:claim-rpc-url ARG1

Claim a RPC URL and add the claim to a local metadata file
See code: src/commands/account/claim-rpc-url.ts

celocli account:claim-storage ARG1

Claim a storage root and add the claim to a local metadata file
See code: src/commands/account/claim-storage.ts

celocli account:create-metadata ARG1

Create an empty identity metadata file. Use this metadata file to store claims attesting to ownership of off-chain resources. Claims can be generated with the account:claim-* commands.
See code: src/commands/account/create-metadata.ts

celocli account:deauthorize

Remove an account’s authorized attestation signer role.
See code: src/commands/account/deauthorize.ts

celocli account:delete-payment-delegation

Removes a validator’s payment delegation by setting beneficiary and fraction to 0.
See code: src/commands/account/delete-payment-delegation.ts

celocli account:get-metadata ARG1

Show information about an address. Retrieves the metadata URL for an account from the on-chain, then fetches the metadata file off-chain and verifies proofs as able.
See code: src/commands/account/get-metadata.ts

celocli account:get-payment-delegation

Get the payment delegation account beneficiary and fraction allocated from a validator’s payment each epoch. The fraction cannot be greater than 1.
See code: src/commands/account/get-payment-delegation.ts

celocli account:list

List the addresses from the node and the local instance
See code: src/commands/account/list.ts

celocli account:lock ARG1

Lock an account which was previously unlocked
See code: src/commands/account/lock.ts

celocli account:new

Creates a new account locally using the —derivationPath if passed or the one set with config:set (defaults to m/44’/60’/0’) and print out the key information. Save this information for local transaction signing or import into a Celo node. Ledger: this command has been tested swapping mnemonics with the Ledger successfully (only supports english)
See code: src/commands/account/new.ts

celocli account:proof-of-possession

Generate proof-of-possession to be used to authorize a signer. See the “account:authorize” command for more details.
See code: src/commands/account/proof-of-possession.ts

celocli account:register

Register an account on-chain. This allows you to lock Gold, which is a pre-requisite for registering a Validator or Group, participating in Validator elections and on-chain Governance, and earning epoch rewards.
See code: src/commands/account/register.ts

celocli account:register-data-encryption-key

Register a data encryption key for an account on chain. This key can be used to encrypt data to you such as offchain metadata or transaction comments
See code: src/commands/account/register-data-encryption-key.ts

celocli account:register-metadata

Register metadata URL for an account where users will be able to retrieve the metadata file and verify your claims
See code: src/commands/account/register-metadata.ts

celocli account:set-name

Sets the name of a registered account on-chain. An account’s name is an optional human readable identifier
See code: src/commands/account/set-name.ts

celocli account:set-payment-delegation

Sets a payment delegation beneficiary, an account address to receive a fraction of the validator’s payment every epoch. The fraction must not be greater than 1.
See code: src/commands/account/set-payment-delegation.ts

celocli account:set-wallet

Sets the wallet of a registered account on-chain. An account’s wallet is an optional wallet associated with an account. Can be set by the account or an account’s signer.
See code: src/commands/account/set-wallet.ts

celocli account:show ARG1

Show information for an account, including name, authorized vote, validator, and attestation signers, the URL at which account metadata is hosted, the address the account is using with the mobile wallet, and a public key that can be used to encrypt information for the account.
See code: src/commands/account/show.ts

celocli account:show-claimed-accounts ARG1

Show information about claimed accounts
See code: src/commands/account/show-claimed-accounts.ts

celocli account:show-metadata ARG1

Show the data in a local metadata file
See code: src/commands/account/show-metadata.ts

celocli account:unlock ARG1

Unlock an account address to send transactions or validate blocks
See code: src/commands/account/unlock.ts

celocli account:verify-proof-of-possession

Verify a proof-of-possession. See the “account:proof-of-possession” command for more details.
See code: src/commands/account/verify-proof-of-possession.ts