Files
universe/deploy.sh
T
Hanzo AI 67ab270897 feat: chain-native IAM/KMS/MPC — allvms build with I/K/T/B/Z chains
Replace external services with on-chain VMs running on every validator:

- I-Chain (IdentityVM): DIDs, verifiable credentials, ZK proofs
  Replaces: external Hanzo IAM (id.zoo.network)
- K-Chain (KeyVM): distributed KMS, ML-KEM, ML-DSA, threshold sharing
  Replaces: external Hanzo KMS (kms.zoo.network)
- T-Chain (ThresholdVM): MPC threshold signing, FHE GPU-accelerated
  Replaces: mpc-node StatefulSet (3 separate pods)
- B-Chain (BridgeVM): cross-chain with chain-native MPC signing
- Z-Chain (ZKVM): confidential transfers, ZK proofs

Validators stake ZOO and simultaneously participate in consensus,
key management, threshold signing, and identity verification.

Also adds: DEX, FHE chains to validator set, gateway routes for
all chain RPCs, updated deploy.sh for zoo-k8s context.
2026-04-06 12:09:08 -07:00

31 lines
807 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "$SCRIPT_DIR"
CTX=do-sfo3-zoo-k8s
ENV=${1:-devnet}
case $ENV in
system) NS=zoo-system ;;
devnet) NS=zoo-devnet ;;
testnet) NS=zoo-testnet ;;
mainnet) NS=zoo-mainnet ;;
all)
echo "Deploying all to $CTX..."
kubectl --context "$CTX" apply -f k8s/crds/
for e in system devnet testnet mainnet; do
echo "--- $e ---"
kubectl --context "$CTX" apply -k "k8s/zoo-$e/"
done
exit 0
;;
*) echo "Usage: $0 {system|devnet|testnet|mainnet|all}"; exit 1 ;;
esac
echo "Deploying Zoo $ENV to $CTX (namespace: $NS)..."
kubectl --context "$CTX" apply -f k8s/crds/
kubectl --context "$CTX" apply -k "k8s/zoo-$ENV/"
echo "Done. Check: kubectl --context $CTX -n $NS get pods"