Skip to content

One command SPO onboarding #3617

Open
5 of 11 issues completed
Open

Description

@jpraynaud

Why

Setting up a Mithril signer as an SPO today is a manual, error-prone process that requires configuring 15 environment variables, understanding the era reader system, setting up a DMQ node, managing multiple systemd services, and cross-referencing a dense documentation page. There is no automated way to discover the Cardano node socket path, detect the active network, fetch the correct aggregator endpoint and DMQ parameters, or validate that KES keys and operational certificates are properly configured, every step must be done by hand.

This friction directly impacts Mithril's signer participation rate. Each SPO that abandons the setup or misconfigures their signer is a stake pool that does not contribute to the multi-signature protocol, weakening the security guarantees that Mithril provides to the ecosystem. Operators who do complete the setup still face ongoing maintenance burden when configuration requirements change across Mithril releases.

The goal of this feature is to deliver an interactive mithril-setup signer command, the signer sub-command of a dedicated mithril-setup binary shipped in the distribution next to the nodes, that auto-discovers the local Cardano node configuration, validates all prerequisites, sets up the Mithril signer and the DMQ node with correct values, and optionally creates their systemd services. The setup lives in its own binary so that the signer, a daemon running on the block producer with access to the KES key, gets neither the setup code nor its dependencies, and other nodes can get their own sub-command later. This would reduce SPO onboarding from a 30-60 minute manual process to a 5-minute guided experience. This includes auto-detecting the Cardano node socket path from running processes, identifying the active network from the node configuration, fetching aggregator, era reader and DMQ parameters from networks.json, validating KES key and operational certificate paths, running pre-flight connectivity checks against both the Cardano node and the aggregator, and providing interactive prompts for any decisions that require operator input.

Sub-issues

Sub-issues

5 of 11 Issues completed
Loading 11 sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions