githubEdit

Installation

Before following the steps below, first set up a node. Instructions are available here.arrow-up-right

circle-info

To resume typing while your node is running, press ctrl-c.

Step 1: Verify that your node is fully synced.

cascadiad status

If catching_up returns false, your node is fully synced.

If catching_up returns true, your node is still catching up.

circle-info

Wait until your node has fully synced (catching_up returns false) before proceeding. This may take some time--grab some coffee!

Step 2: Generate and store your validator's address and keys.

Run the following command to create a new validator key pair:

cascadiad keys add <key_name>

Replace <key_name> with a name for your validator's key.

For example:

cascadiad keys add yourvalidator

This command will prompt you to generate a keyring passphrase and generate a new validator key pair, which consists of a Cascadia wallet address, a public key, and a mnemonic phrase. Keep the keyring passphrase and mnemonic phrase secret and securely stored. The public key will be used to identify your validator on the Cascadia network.

circle-info

To access your account, use the cascadiad keys add <key_name> --recover command. Enter your keyring passphrase and mnemonic when prompted, and make sure to override the existing name ''test.''

Step 3: Convert your Cascadia address to an EVM address.

After creating a public key, run the following command to convert your Cascadia wallet address from Step 2 to an EVM address:

cascadiad address-converter <your_wallet_address>

Replace <your_wallet_address> with your Cascadia wallet address from Step 2.

Step 4: Fund your validator's EVM address.

Transfer CC tokens to your validator's EVM address or utilize the faucetarrow-up-right.

circle-info

Enter your converted EVM address from Step 3 into the faucet. A properly formatted EVM address will begin with "0x" followed by a series of alphanumeric characters, such as "0x2e...4B9T".

Step 5: Confirm receipt of CC tokens.

Confirm that you have received CC tokens by entering your EVM address from Step 4 into Cascadia's block explorerarrow-up-right.

Step 6: Create your initial validator funding tx.

To create a validator tx, run the following command:

Fill in these parameters:

<key_name>: The name you inputted in Step 2.

<validator_name>: The name you want to give your validator.

<description>: Details about your validator node.

<email_address>: Your email address.

<your_website>: The URL of your website, if available.

<token_delegation>: The number of tokens you want to delegate. This is denominated in aCC, which is equivalent to 1e18 CC, i.e. 1 CC = 1,000,000,000,000,000,000 aCC.

circle-info

For gas prices, around 7 aCC is standard. However, you may need to adjust this amount if the tx is unsuccessful.

For example:

Enter the passphrase you created in step 2, then confirm the transaction.

circle-info

Verify your validator's status by checking your address on Cascadia's validator explorerarrow-up-right.

Congratulations, you're successfully running a Cascadia validator!

Last updated