Skip to main content

1. Configure your Validator Node

Create / configure the validator node which you will use as your covalidating node. If creating a new node, follow the Canton Network Validator Onboarding Process.

2. Create GitHub App for Reading DAR Repository

Before deploying the service, first a GitHub App must be created within your organization’s GitHub account in order to access the shared DAR repository.
Important Note Creating a GitHub App requires GitHub Organization Owner permissions. A single GitHub App can be reused for multiple Covalidation Service deployments within the same organization.
The GitHub App setup process entails:

Create a GitHub App in your organization

Navigate to:
Organization Settings → Developer Settings → GitHub Apps
Select New GitHub App.

Configure the application

Use the following settings.

Repository Permissions

Configure the following permissions.

Installation Scope

Select:
Any account
Then create the application.

Record Required Information

After the application has been created, save the following values.

Generate Private Key

Generate a Private Key and store it as a Kubernetes Secret in the namespace where the chart will be installed. Example:

Share Your GitHub App Details with Primary Validator

After creating the GitHub App:
  1. Send the Public Link to the primary validator.
  2. Ask them to install the application into the DAR repository.
  3. Request the Installation ID from the primary validator.

Primary Validator installs GitHub App into Organization of DAR repository and Provides Installation ID

Once installed, the primary validator will provide you the Installation ID, which is required when configuring the Helm chart.

3. Exchange Details and Configure and Install Your Covalidation Service

  • Gather details from the Primary Validator and Covalidating operator on DAR repository, GitHub App installation ID and participant IDs so that each co-validator can be configured correctly.
  • Configure and Install the Covalidation Service Helm Chart

Install the Covalidation Service Helm Chart

Setup

Before installing Covalidation Service, ensure you have:

Prerequisites

  • Access to your GitHub organization
  • A primary validator willing to share DARs
  • A Kubernetes cluster
  • A Kubernetes namespace for the deployment
  • Helm 3.x
  • Kubernetes Secrets containing:
  • GitHub App private key
  • Participant OIDC client secret
Deploy the service using Helm.

Configuration

A minimal configuration looks like the following.

Configuration Reference

GitHub

DAR Repository

Participant

Replication

Monitoring

Log

Kubernetes Secrets
The chart expects existing Kubernetes Secrets.
GitHub Private Key
Participant Client Secret

Deployment Flow

Uninstall

Remove the deployment with Helm.
This removes the Kubernetes resources created by the chart but does not delete Kubernetes Secrets or the GitHub App.