Node

Step 1: Download a binary file.

curl -L https://github.com/CascadiaFoundation/cascadia/releases/download/v0.3.0/cascadiad -o cascadiad

The latest cascadiad binary release can also be found on GitHub.

sudo chmod u+x cascadiad
sudo cp cascadiad /usr/local/bin/cascadiad

Below, replace <username> with your own account name.

sudo chown <username> /usr/local/bin/cascadiad

For example, we use the name ubuntu. If you're using Google Cloud, replace the name ubuntu with your account name.

sudo chown ubuntu /usr/local/bin/cascadiad

Step 2: To confirm that the installation has succeeded, run:

cascadiad version

Step 3: Initialize the chain.

Replace [moniker] with your own name and initialize cascadiad.

cascadiad init [moniker] --chain-id cascadia_11029-1

Moniker will be the displayed id of your node when connected to Cascadia. When providing a moniker name, drop the square brackets.

For example:

Step 4: Download the genesis file.

Download and replace the Cascadia Testnet genesis.json by:

Step 5: Set persistent peers.

Persistent peers allow your node to connect to other nodes and join the network.

Step 6: Set minimum gas price.

In ~/.cascadiad/config/app.toml, update the min gas price to avoid transaction spam.

Step 7: Sync your node to the network.

There are three main ways to sync a node to the network:

  1. Upgrade your existing node.

After completing one of the above, continue with Step 8.

Step 8: Create systemd service file.

Step 9: Copy/paste the following configuration, save, and exit.

Replace <username> with your own account name.

In the following example, our <username> is ubuntu:

Press ctrl + s to save, then ctrl + x to exit.

Step 10: Start your Node.

Last updated