Skip to main content

Overview

Services are additional infrastructure that runs alongside your blockchain nodes. They’re defined under services: in dokrypt.yaml and started automatically with dokrypt up.

Supported Service Types

IPFS

Access the IPFS API at http://localhost:5001 and the gateway at http://localhost:8080. Upload files via the API:

Block Explorers

Blockscout

Full-featured block explorer with transaction tracing, token tracking, and API.
Browse at http://localhost:4000.

Otterscan

Lightweight, fast block explorer.

Indexers

The Graph (Subgraph)

Run a local Graph Node for indexing blockchain data with subgraphs.

Ponder

Modern indexing framework.

Oracles

Simulated Chainlink price feeds with configurable prices and volatility.

Pyth Mock

Simulated Pyth oracle feeds.

Monitoring

Grafana

Pre-configured dashboards for chain metrics.
Access at http://localhost:3000 (default credentials: admin/admin).

Prometheus

Metrics collection for chain and service monitoring.

Faucet

Web-based test token faucet.

Mock Bridge

Cross-chain bridge simulator for multi-chain setups.
See Bridge for usage details.

Custom Services

Run any Docker image as a service:

Custom Build

Build from a local Dockerfile:

Dependencies

Use depends_on to control startup order:
Dokrypt resolves dependencies using topological sort (Kahn’s algorithm) and starts independent services in parallel.

Health Checks

Services support health checks to verify they’re ready: