Skip to content

Commit

Permalink
sed -i 's/celocli releasegold/celocli releasecelo/g' (celo-org#1297)
Browse files Browse the repository at this point in the history
  • Loading branch information
lvpeschke authored Apr 23, 2024
1 parent bf36e62 commit 86b5f97
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions docs/holder/manage/self-custody.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ celocli account:balance $CELO_BENEFICIARY_ADDRESS
Next, check the details of your `ReleaseGold` contract:

```bash
celocli releasegold:show --contract $CELO_RG_ADDRESS
celocli releasecelo:show --contract $CELO_RG_ADDRESS
```

Verify the configuration, balance, and beneficiary details. You can find an explanation of these parameters on the [ReleaseGold](/holder/manage/release-gold) page.
Expand Down Expand Up @@ -205,7 +205,7 @@ Next, register the `ReleaseGold` contract as a “Locked Gold” account:

```bash
# Using the Beneficiary Ledger
celocli releasegold:create-account --contract $CELO_RG_ADDRESS --useLedger
celocli releasecelo:create-account --contract $CELO_RG_ADDRESS --useLedger
```

You'll need to press right on the Ledger several times to review details of the transactions, then when the device says "Accept and send" press both buttons together.
Expand All @@ -220,7 +220,7 @@ Now, using the proof-of-possession you generated above, as the Locked Gold Accou

```bash
# Using the Beneficiary Ledger
celocli releasegold:authorize --contract $CELO_RG_ADDRESS --role=vote --signer $CELO_VOTE_SIGNER_ADDRESS --signature $CELO_VOTE_SIGNER_SIGNATURE --useLedger
celocli releasecelo:authorize --contract $CELO_RG_ADDRESS --role=vote --signer $CELO_VOTE_SIGNER_ADDRESS --signature $CELO_VOTE_SIGNER_SIGNATURE --useLedger
```

Finally, verify that your signer was correctly authorized:
Expand Down Expand Up @@ -257,7 +257,7 @@ Make sure to leave at least 1 CELO unlocked to pay for transaction fees.

```bash
# Using the Beneficiary Ledger
celocli releasegold:locked-gold --contract $CELO_RG_ADDRESS --action lock --useLedger --value <CELO-GOLD-AMOUNT>
celocli releasecelo:locked-gold --contract $CELO_RG_ADDRESS --action lock --useLedger --value <CELO-GOLD-AMOUNT>
```

Check that your CELO was successfully locked.
Expand Down Expand Up @@ -436,21 +436,21 @@ Assuming you have non-voting Locked Gold, you can initiate the process to unlock

```bash
# Using the Beneficiary Ledger
celocli releasegold:locked-gold --contract $CELO_RG_ADDRESS --action unlock --useLedger --value <CELO-GOLD-AMOUNT>
celocli releasecelo:locked-gold --contract $CELO_RG_ADDRESS --action unlock --useLedger --value <CELO-GOLD-AMOUNT>
```

After the 72 hour unlocking period has passed, withdraw the CELO back to the `ReleaseGold` contract:

```bash
# Using the Beneficiary Ledger
celocli releasegold:locked-gold --contract $CELO_RG_ADDRESS --action withdraw --useLedger --value <CELO-GOLD-AMOUNT>
celocli releasecelo:locked-gold --contract $CELO_RG_ADDRESS --action withdraw --useLedger --value <CELO-GOLD-AMOUNT>
```

Finally, request that the `ReleaseGold` contract transfer an amount to your beneficiary address:

```bash
# Using the Beneficiary Ledger
celocli releasegold:withdraw --contract $CELO_RG_ADDRESS --useLedger --value <CELO-GOLD-AMOUNT>
celocli releasecelo:withdraw --contract $CELO_RG_ADDRESS --useLedger --value <CELO-GOLD-AMOUNT>
```

To vote with any CELO in your beneficiary account, you'll want to register it as a Locked Gold Acccount, authorize a new vote signing key for it, then lock CELO.
2 changes: 1 addition & 1 deletion docs/validator/key-management/key-rotation.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ celocli account:authorize --from $VALIDATOR_ACCOUNT_ADDRESS --role validator --s

```bash
# From a node with access to the beneficiary key of VALIDATOR_ACCOUNT_ADDRESS
celocli releasegold:authorize --contract $VALIDATOR_ACCOUNT_ADDRESS --role validator --signer $SIGNER_TO_AUTHORIZE --signature 0x$SIGNER_PROOF_OF_POSSESSION --blsKey $BLS_PUBLIC_KEY --blsPop $BLS_PROOF_OF_POSSESSION
celocli releasecelo:authorize --contract $VALIDATOR_ACCOUNT_ADDRESS --role validator --signer $SIGNER_TO_AUTHORIZE --signature 0x$SIGNER_PROOF_OF_POSSESSION --blsKey $BLS_PUBLIC_KEY --blsPop $BLS_PROOF_OF_POSSESSION
```

:::warning
Expand Down
6 changes: 3 additions & 3 deletions docs/validator/validator-explorer.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Now we can set the group's name:

```bash
# On your local machine
celocli releasegold:set-account --contract $CELO_VALIDATOR_GROUP_RG_ADDRESS --property name --value Example.com
celocli releasecelo:set-account --contract $CELO_VALIDATOR_GROUP_RG_ADDRESS --property name --value Example.com
```

Now we can generate a claim for the domain associated with this name `example.com`:
Expand Down Expand Up @@ -94,8 +94,8 @@ Now we can register these URLs on each account:

```bash
# On your local machine
celocli releasegold:set-account --contract $CELO_VALIDATOR_GROUP_RG_ADDRESS --property metaURL --value <VALIDATOR_GROUP_METADATA_URL>
celocli releasegold:set-account --contract $CELO_VALIDATOR_RG_ADDRESS --property metaURL --value <VALIDATOR_METADATA_URL>
celocli releasecelo:set-account --contract $CELO_VALIDATOR_GROUP_RG_ADDRESS --property metaURL --value <VALIDATOR_GROUP_METADATA_URL>
celocli releasecelo:set-account --contract $CELO_VALIDATOR_RG_ADDRESS --property metaURL --value <VALIDATOR_METADATA_URL>
```

If everything goes well users should be able to see your claims by running:
Expand Down

0 comments on commit 86b5f97

Please sign in to comment.