Usage
Flags
Description
Readsdokrypt.yaml, resolves dependencies, pulls required Docker images, creates networks, and starts all chains and services in the correct order.
The startup process:
- Parse configuration — Reads
dokrypt.yaml(with optional profile override) - Initialize engine — Creates the container runtime and engine
- Create networks — Sets up Docker networks for service communication
- Start chains — Launches blockchain nodes (Anvil, Hardhat, or Geth)
- Fund accounts — Creates and funds test accounts with the configured balance
- Start services — Launches services in dependency order (parallel where possible)
- Health checks — Waits for all services to report healthy
- Save state — Persists container IDs and ports to
~/.dokrypt/state/ - Display status — Shows running services, URLs, and funded accounts
Examples
Start everything
Start in background
Start only the blockchain
Start with a fresh state
Fork mainnet on startup
Restore from snapshot on startup
Use a configuration profile
dokrypt.yaml under profiles:.