Node
Step 1: Download a binary file.
curl -L https://github.com/CascadiaFoundation/cascadia/releases/download/v0.3.0/cascadiad -o cascadiadsudo chmod u+x cascadiadsudo cp cascadiad /usr/local/bin/cascadiadBelow, replace <username> with your own account name.
sudo chown <username> /usr/local/bin/cascadiadFor 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/cascadiadStep 2: To confirm that the installation has succeeded, run:
cascadiad versionStep 3: Initialize the chain.
Replace [moniker] with your own name and initialize cascadiad.
cascadiad init [moniker] --chain-id cascadia_11029-1Moniker 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:
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:
Step 10: Start your Node.
Last updated