Skip to main content

Ports and Secrets Contract

Production chain guides must document two public-safe contracts before deployment: host-network ports and runtime secret path conventions.

Port governance​

Cosmos-style validators in chain deployment repository use hostNetwork: true; port collisions happen at the node level, not only inside Kubernetes. The repo therefore uses a canonical base plus per-chain offset model.

ChainOffset / noteOperational implication
Sei productionOffset 0Uses the base Cosmos/Horcrux allocation.
Initia productionOffset 200Avoids collisions with other host-network validators.
Stable productionOffset 300Includes Cosmos API/gRPC plus Stable EVM RPC/WebSocket surfaces.
CantonExemptNot modeled as host-network validator ports in the same registry.
Walrus test environmentExemption note in registryTreat public exposure separately from validator host-port governance.

For every new chain guide, include a port table with: P2P, RPC, REST/API, gRPC, WebSocket, Prometheus, signer, cosigner, and any chain-specific EVM or service ports.

ExternalSecret contract​

Vault and External Secrets remain the default runtime secret-delivery pattern. Public docs may publish the path convention and secret class so operators know what must exist before rollout, but they must never publish secret values, private key material, live credential payloads, or unredacted secret exports.

Cosmos-style chains share the same public-safe secret classes:

Secret classUsed byRequired when
Node identity secretValidator/full nodeNode has persistent identity.
Local validator signing secret/stateValidatorsignerMode: local.
Distributed signer shard + recovery materialHorcrux-style signersignerMode: horcrux or signer overlay.
Sign-state recovery materialRecovery flowSign-state restoration/cutover.
JWT / client auth secretInternal service handoffConsensus/execution or gateway/API authentication is enabled.

The standardized Horcrux sign-state path format is:

<protocol>/<network>/horcrux/sign-state/<chain-id>/shards/<ordinal>

The signer-set ID format is:

<protocol>/<network>/<chain-id>/horcrux

Public guides may show path conventions and placeholder examples such as remoteKey=REPLACE_ME, but they must not publish actual secret values, live credential payloads, or unredacted backup material.

Fail-closed rules​

  • A missing Vault key should block rollout; do not generate placeholder signing material.
  • A signer or cosigner path mismatch is an incident, not a warning.
  • Ambiguous validator activity should result in no validator signing rather than two validators signing.
  • ExternalSecret deletion policy should retain backing secret material unless an explicit key-rotation runbook says otherwise.