Guides
Log In

2: Stake to Cloud with Celo command line

If your CELO is held in a ReleaseGold contract...

1. Lock CELO gold
  • Ensure you have access to the beneficiary address on the contract
  • Execute this command on the Celo CLI:
celocli releasegold:locked-gold \
--contract $CELO_RG_ADDRESS \
--action lock \
--value $VALUE
2. Vote for the validator group

🚧

$ADDRESS represents a vote signer for a ReleaseGold contract. You will need to use a vote signing key.

  • Create and authorize a Vote Signing Key using the process detailed here
  • Cast your votes with this command on the Celo CLI:
celocli election:vote \
--from $ADDRESS \
--for $CELO_VALIDATOR_GROUP_ADDRESS \
--value $VALUE
3. Activate your votes
  • After one epoch passes (up to 24hrs) activate your votes with this command on the Celo CLI:
celocli election:activate --from $ADDRESS
4. View your votes
  • Execute this command on the Celo CLI:
celocli election:show $ADDRESS --voter

👍

Congratulations! You are now staked to a Coinbase Cloud validator.


If your CELO is in a standard account...

1. Lock CELO gold
  • Execute this command on the Celo CLI:
celocli lockedgold:lock --from $ADDRESS --value $VALUE
2. Vote for the validator group

🚧

$ADDRESS represents a vote signer for a ReleaseGold contract. You will need to use a vote signing key.

  • Cast your votes with this command on the Celo CLI:
celocli election:vote \
--from $ADDRESS \
--for $CELO_VALIDATOR_GROUP_ADDRESS \
--value $VALUE
3. Activate your votes
  • After one epoch passes (up to 24hrs) activate your votes with this command on the Celo CLI:
celocli election:activate --from $ADDRESS
4. View your votes
  • Execute this command on the Celo CLI:
celocli election:show $ADDRESS --voter

👍

Congratulations! You are now staked to a Coinbase Cloud validator.


What’s Next
Did this page help you?