Quickstart Guide

This page contains step-by-step instructions for launching a Canto validator node.

Once you've set up your node, join the Canto Network Validator Announcements channel on Telegram to stay up-to-date with chain upgrades and other governance proposals.

Hardware Requirements

Minimum: 16GB RAM, 100GB NVME SSD, 3.2 GHz x 4 CPU

Recommended: 32GB RAM, 500GB NVME SSD, 4.2 GHz x 6 CPU

Operating System: Linux (x86_64 or amd64) e.g. Ubuntu or Arch Linux

1. Install Dependencies

Install dependencies (Ubuntu):

# Synchronize package index
sudo apt-get update

# Install packages
sudo snap install go --classic
sudo apt-get install git
sudo apt-get install gcc
sudo apt-get install make

2. Install cantod

Clone the official repo and install the current binary:

Generate and store keys:

To recover keys from an existing mnemonic, use the --recover flag.

3. Initialize Validator

Initialize the node and download the genesis file:

Replace <moniker> with whatever you'd like to name your validator.

4. Edit Config

5. Create systemd Service

Create the systemd service file:

Copy and paste the following configuration and save:

6. Start Node

You should then get several lines of log files, which may include an INVALIDARGUMENT error causing the service to exit. This is expected; Ctrl + C out and follow the next steps.

7. Sync Node

Unless you wish to run an archive node, you should sync your node to the current block using manual snapshots or state-sync snapshots.

To use state-sync:

8. Create Validator Transaction

Modify the following items below, removing the <>

  • <KEY_NAME> should be the same as <key_name> when you followed the steps above in creating or restoring your key.

  • <VALIDATOR_NAME> is whatever you'd like to name your node

  • <DESCRIPTION> is whatever you'd like in the description field for your node

  • <SECURITY_CONTACT_EMAIL> is the email you want to use in the event of a security incident

  • <YOUR_WEBSITE> the website you want associated with your node

  • <TOKEN_DELEGATION> is the amount of tokens staked by your node (minimum 1acanto)

Your validator wallet must contain a non-zero amount of native CANTO in order to send the validator transaction. To get some, follow these steps:

  1. Run cantod debug addr $(cantod keys show <key_name> -a) to see your validator's Bech32 and 0x addresses.

  2. Send funds from a Canto EVM wallet to the 0x address shown

  3. Alternatively, ask a validator who already has native CANTO to send funds to the Bech32 Acc address.

9. Update Binary

Once your validating node is up-and-running, join the Canto Network Validator Announcements channel on Telegram to stay up-to-date with chain upgrades and other governance proposals.

In case of a binary upgrade, you will need to re-fetch the Canto repository and install the new binary before restarting your node:

Last updated