In-repo documentation for the Guardian server, its clients, and the AWS deployment that runs it.
If you only read one thing first, read Concepts — it explains what Guardian is, the custody model, and the state/delta lifecycle that informs every other doc here.
You are an SDK consumer or integrator.
- Concepts — primitives, lifecycle, trust model, client verification checklist.
- Quickstart — Guardian running locally in 60 seconds.
- Multisig SDK guide — Rust + TypeScript multisig client: account creation, proposal lifecycle, offline signing.
spec/api.md— wire-level API contract (auth headers, request signing, data shapes).- OpenAPI specification — machine-readable OpenAPI 3.1
spec (
docs/openapi.json) for Swagger UI / ReDoc / client generators. - Troubleshooting — error code reference for anything your SDK surfaces.
You are an operator / SRE / DevOps.
- Concepts — same starting point; you need the trust model to make good ops decisions.
- Production guide — supported production shape, readiness checklist, and links to the detailed runbooks.
- Miden compatibility: which Miden version each Guardian release targets, what broke between lines, and which upgrades reset stored data.
- Guides — task-oriented, end-to-end walkthroughs for running Guardian in a specific mode (e.g. self-hosted Compose with AWS-managed signers).
- Deploying Guardian Server to AWS ECS —
end-to-end deploy via
scripts/aws-deploy.sh, stage profiles. - AWS deployment architecture — runtime
topology, AWS resource inventory mapped to each
.tffile. - Configuration reference — every env var in one place.
- Observability — enabling and scraping Prometheus metrics, with a one-command Grafana dashboard stack.
- Secrets and key management — bootstrap, replacement, and compromise response for production secrets.
- Operator dashboard — what it is, enrolling operators, permission vocabulary, multi-task caveats.
- Troubleshooting — symptoms, error codes, recovery procedures.
You are a contributor.
CONTRIBUTING.md— picking work, branching, commit style, cross-layer change rules, testing, docs, CLA.- Concepts — the system you are about to change.
- Service architecture — module-level decomposition, storage modes, dashboard subsystem, consumer surfaces.
- Local development — four launch paths, feature flags, example harnesses, test invocations.
- Configuration reference — what each env var does and which Cargo feature reads it.
AGENTS.md— the contract-change workflow and operational guide. Mandatory reading before touching the wire contract.- Troubleshooting — when your local server misbehaves.
spec/— the formal protocol spec: definitions, components, per-RPC processes.- Qualification — the black-box end-to-end suite: what it covers, how to run either profile, and what a run may claim.
- Concepts — the trust model the dashboard sits inside.
- Operator dashboard — auth domain, permission vocabulary, allowlist payload shapes.
examples/operator-smoke-web— reference harness.- Guides → Miden Dashboard UI — run the real dashboard UI against a local server with Docker Compose.
Start here
Architecture
Reference
- Configuration (env vars)
- Qualification — end-to-end qualification suite
- OpenAPI specification — HTTP API spec (
openapi.json) spec/— protocol specificationinfra/README.md— Terraform variables
Operations
- Production guide
- Observability — Prometheus metrics + Grafana dashboard stack
- Guides — per-mode end-to-end walkthroughs
- Deploying to AWS ECS
- Secrets and key management
- Enabling verified database TLS
- Database backup and restore
- Horizontal scaling
- GitHub OIDC deploy roles — IAM behind the AWS Deploy workflow (off by default)
- Operator dashboard
SDKs
Contributing
crates/server/proto/guardian.proto— authoritative wire contract for the gRPC API.examples/— runnable harnesses (demo,smoke-web,operator-smoke-web,evm-smoke-web,web) that exercise each SDK end-to-end.infra/— Terraform configuration for the AWS stack.scripts/aws-deploy.sh— deploy entry point that wires env vars into Terraform.