Quickstart
Your journey as a node runner starts here. For recommendations for system setup, please visit Setup & Recommendations.
0. Prerequisites
Install necessary packages
Configure your DNS
Your validator needs a domain that points to your server's public IP address.
Create these two A records in your DNS provider:
The first record points your root domain to the server. The wildcard record points every subdomain to the same server. Some DNS providers show the root domain as @.
Domain propagation can take some time. Check it with the following command:
1. Clone the canopy node repo
The Canopy node repository is the official source for setting up and operating validator infrastructure.
It contains the configuration, scripts, and monitoring tools required to participate in the Canopy network.
Migrate an existing node (optional)
If you are migrating a validator from the deprecated deployments repository, copy validator_key.json and keystore.json into the new node configuration.
Otherwise, if you're migrating from another node repository. Copy the files from the same config path
you can also copy the .env from the node repository to be migrated to keep the same configuration
After copying these files, skip step 2. Continue with step 3 to verify the environment variables match the copied keys.
2. Generate a new private key
Run make gen-key, then enter a password and key name when prompted. The validator key is saved to /node/config/validator_key.json and the encrypted wallet key is saved to /node/config/keystore.json.
3. Configure environment variables
Copy the provided .env.example file into a new .env file.
Set the following .env fields to their required values:
DOMAIN: Your validator's public domain. Configure it as a wildcard domain to serve each service. For example, use
example.comorcanopy.example.com. Each value generates these endpoints:example.comexample.com: validator connection domain, used when stakingwallet.example.com: Wallet URLexplorer.example.com: Explorer URL
canopy.example.comcanopy.example.com: validator connection domain, used when stakingwallet.canopy.example.com: Wallet URLexplorer.canopy.example.com: Explorer URL
AUTH_USER: The basic-auth username for Wallet, Explorer, and Loki on the monitoring stack.
AUTH_PASSWORD: The basic-auth password for Wallet, Explorer, and Loki on the monitoring stack. Generate it with
make hash-password, then copy the command output into this environment variable.
Configure Grafana
Continuing the .env from the previous step, modify the following fields:
GF_ADMIN_USER: The Grafana admin user.
GF_ADMIN_PASSWORD: The Grafana admin password.
Set up alerting (optional)
The repository comes with a predefined set of alerts managed in the monitoring folder. To receive infrastructure and canopy alerts, configure the Discord and PagerDuty notification channel by modifying the following .env fields:
ALERTS_DISCORD_WEBHOOK: Discord Webhook URL to receive notifications on a discord channel.
ALERTS_PAGERDUTY_ROUTING_KEY: A Pagerduty Routing key to receive alerts on Pagerduty.
4. Run Canopy
Starting Canopy automatically pulls a snapshot of the latest blockchain.
5. Explore Setup
With Canopy running, it is recommended for you to familiarize yourself with the created endpoints:
Grafana: https://monitoring.<YOUR_DOMAIN>
Web wallet for CNPY: https://wallet.<YOUR_DOMAIN>
Block Explorer for CNPY: https://explorer.<YOUR_DOMAIN>
6. Sync the blockchain
While the snapshot is pretty close to the top of the blockchain, some syncing will be required in most cases.
Syncing status may be observed in the Monitoring tab of your web wallet as well as logs and rpc.

If there's any sign of corruption or 'stuck' node or if there's any doubt, contact the community in Discord.
7. Create an 'output' private key
Go to https://wallet.<YOUR_DOMAIN>/key-management

Press "Create New Key" and fill out the form:
This new key will later receive your validator rewards. It is recommended to download the keyfile.json and backup using the "Download Full Keystore" button.
8. Get CNPY
9. Stake CNPY
At https://wallet.<YOUR_DOMAIN>/staking: click the + Add Stake button to initiate a STAKE transaction.
On Step 1. Addresses fill out the following:
Staking (Operator) Address:
The address created on step 2.
Important: ⚠️ use the key from step 2 not step 8. ⚠️
This account should be the 'funded' account from step 2.
This is the operator address, where subsequent validator transactions like (
edit-stakeandunstake) should be sent from.
Reward Address: Is the address where the staking rewards would go to, can be the same as the Staking (Operator) Address but is recommended to be different.

On Step 2. Amount fill out the following:
Amount: Amount of CNPY to stake, the higher the amount the more likely the validator will be chosen to build the block.

On Step 3. Preferences fill out the following:
Stake Type: Choose Validation. Delegates are not active validators so is not applicable for this guide.
AutoCompound: Preferably select this to auto stake the block rewards, otherwise you may leave unselected to withdraw the block rewards automatically (comes with a penalty).

On Step 4. Committees fill out the following:
Committees:
Chain IDs where stake should be allocated, type
1.
Validator Address:
tcp://<DOMAIN>Validator's TCP address (the same
<DOMAIN>as defined in step 3).

The last step is to review the information, once reviewed, click on Stake. It will prompt for the Operator addreess's password in order to submit the transaction.

If successful, after the block is processed, you'll see the node validator in the Staking tab like the example:

10. Watch for 10 minutes
If
StatusremainsStakedthen it's a good sign that your Validator is online and healthy.
Last updated