HIP-413: MPC CRD. Status Active. Hanzo's own standard — read this before implementing against it.
The MPC CRD describes a Multi-Party Computation cluster (luxfi/mpc). It runs an n-of-m threshold signing network for cross-chain wallets and operator-controlled keys. The reconciler emits a StatefulSet of replicas peers and a headless Service for peer discovery; optionally adds a dashboard Deployment and a cache Deployment.
hanzo.ai/v1, plural mpcs, shortname hmpc.
| Field | Type | Description | |---|---|---| | image | ImageSpec | luxfi/mpc (or hanzo-vendored equivalent) | | replicas | int | total peers (n) | | threshold | int | signing threshold (m, where m ≤ n) | | p2pPort | int | peer-to-peer port | | apiPort | int | API port | | resources | ResourceRequirements | requests/limits | | dashboard | MPCDashboardSpec | optional dashboard Deployment | | cache | MPCCacheSpec | optional cache Deployment | | ingress | IngressSpec | optional Ingress |
apiVersion: hanzo.ai/v1
kind: MPC
metadata:
name: hanzo-mpc
namespace: hanzo
spec:
image:
repository: ghcr.io/hanzoai/mpc
tag: 1.2.9
replicas: 5
threshold: 3
p2pPort: 7000
apiPort: 8080
dashboard:
enabled: true
image: ghcr.io/luxfi/mpc-dashboard:1.1.3
~/work/hanzo/operator/src/controllers/mpc.rs.
Implemented in hanzoai/operator v0.3.0+. CR hanzo-mpc active with 5 replicas, threshold 3.