Skip to content

Latest commit

 

History

History
145 lines (119 loc) · 6.17 KB

README.md

File metadata and controls

145 lines (119 loc) · 6.17 KB

Guardian Documentation

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.


Find your path

I want to use Guardian (build apps against it)

You are an SDK consumer or integrator.

  1. Concepts — primitives, lifecycle, trust model, client verification checklist.
  2. Quickstart — Guardian running locally in 60 seconds.
  3. Multisig SDK guide — Rust + TypeScript multisig client: account creation, proposal lifecycle, offline signing.
  4. spec/api.md — wire-level API contract (auth headers, request signing, data shapes).
  5. OpenAPI specification — machine-readable OpenAPI 3.1 spec (docs/openapi.json) for Swagger UI / ReDoc / client generators.
  6. Troubleshooting — error code reference for anything your SDK surfaces.

I want to run Guardian (deploy and operate)

You are an operator / SRE / DevOps.

  1. Concepts — same starting point; you need the trust model to make good ops decisions.
  2. Production guide — supported production shape, readiness checklist, and links to the detailed runbooks.
  3. Miden compatibility: which Miden version each Guardian release targets, what broke between lines, and which upgrades reset stored data.
  4. Guides — task-oriented, end-to-end walkthroughs for running Guardian in a specific mode (e.g. self-hosted Compose with AWS-managed signers).
  5. Deploying Guardian Server to AWS ECS — end-to-end deploy via scripts/aws-deploy.sh, stage profiles.
  6. AWS deployment architecture — runtime topology, AWS resource inventory mapped to each .tf file.
  7. Configuration reference — every env var in one place.
  8. Observability — enabling and scraping Prometheus metrics, with a one-command Grafana dashboard stack.
  9. Secrets and key management — bootstrap, replacement, and compromise response for production secrets.
  10. Operator dashboard — what it is, enrolling operators, permission vocabulary, multi-task caveats.
  11. Troubleshooting — symptoms, error codes, recovery procedures.

I want to develop on Guardian (work in this repo)

You are a contributor.

  1. CONTRIBUTING.md — picking work, branching, commit style, cross-layer change rules, testing, docs, CLA.
  2. Concepts — the system you are about to change.
  3. Service architecture — module-level decomposition, storage modes, dashboard subsystem, consumer surfaces.
  4. Local development — four launch paths, feature flags, example harnesses, test invocations.
  5. Configuration reference — what each env var does and which Cargo feature reads it.
  6. AGENTS.md — the contract-change workflow and operational guide. Mandatory reading before touching the wire contract.
  7. Troubleshooting — when your local server misbehaves.
  8. spec/ — the formal protocol spec: definitions, components, per-RPC processes.
  9. Qualification — the black-box end-to-end suite: what it covers, how to run either profile, and what a run may claim.

I want to integrate my own operator dashboard or harness

  1. Concepts — the trust model the dashboard sits inside.
  2. Operator dashboard — auth domain, permission vocabulary, allowlist payload shapes.
  3. examples/operator-smoke-web — reference harness.
  4. Guides → Miden Dashboard UI — run the real dashboard UI against a local server with Docker Compose.

Full index

Start here

Architecture

Reference

Operations

SDKs

Contributing


Beyond this directory