-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
77 lines (64 loc) · 2.88 KB
/
Copy path.env.example
File metadata and controls
77 lines (64 loc) · 2.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# =============================================
# Mina MCP Server - Environment Configuration
# =============================================
# Copy to .env and adjust as needed.
# --- MCP Server Mode ---
# "snapshot" = frozen archive DB (read-only tools only, runs locally)
# "tutorial" = live lightnet (read + write tools, all APIs)
# "live" = read-only proxy to a public Mina network (no local infra)
MINA_MCP_MODE=snapshot
# --- Live mode: which public Mina network to talk to ---
# Required when MINA_MCP_MODE=live. Stable: devnet, mainnet. Preflight: mesa.
# Preflight networks are not guaranteed to persist (may be reset/renamed without notice).
# MINA_MCP_NETWORK=devnet
# --- Lightnet Docker Image ---
# From https://hub.docker.com/r/o1labs/mina-local-network
# Tags: compatible-latest-lightnet, develop-latest-lightnet, master-latest-lightnet
LIGHTNET_IMAGE=o1labs/mina-local-network:compatible-latest-lightnet
# --- Lightnet Runtime ---
NETWORK_TYPE=single-node
PROOF_LEVEL=none
LOG_LEVEL=Info
SLOT_TIME=20000
# --- Postgres (Archive DB) ---
POSTGRES_DB=archive
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_PORT=5432
# --- Archive DB connection (used by MCP server) ---
ARCHIVE_DB_HOST=localhost
ARCHIVE_DB_PORT=5432
ARCHIVE_DB_NAME=archive
ARCHIVE_DB_USER=postgres
ARCHIVE_DB_PASSWORD=postgres
# --- Daemon GraphQL (tutorial mode) ---
# Direct daemon port (3085) or via NGINX proxy (8080)
MINA_GRAPHQL_ENDPOINT=http://localhost:3085/graphql
# --- Archive-Node-API GraphQL (tutorial mode) ---
# Events, actions, blocks from the archive
ARCHIVE_API_ENDPOINT=http://localhost:8282
# --- Accounts Manager REST API (tutorial mode) ---
# Pre-funded test account management (1000+ accounts, 1550 MINA each)
ACCOUNTS_MANAGER_ENDPOINT=http://localhost:8181
# --- Ports ---
MINA_REST_PORT=3085
NGINX_PORT=8080
ACCOUNTS_MANAGER_PORT=8181
ARCHIVE_API_PORT=8282
# --- Snapshot: download from GCS (used with --profile download) ---
# Public bucket — no auth needed. Dump filename layout:
# <ARCHIVE_DUMP_BASE_URL>/<ARCHIVE_DUMP_PREFIX>-<YYYY-MM-DD>_<HOUR>.sql.tar.gz
#
# Per-network prefixes (override ARCHIVE_DUMP_PREFIX):
# devnet = devnet-archive-dump (daily, _0000 UTC) ~370 MB
# mainnet = mainnet-archive-dump (daily, _0000 UTC) ~1.5 GB
# mesa = hetzner-pre-mesa-1-archive-dump (twice daily, _0000/_1200) ~32 MB
# ^ PREFLIGHT — internal ops naming, may change without notice
ARCHIVE_DUMP_BASE_URL=https://storage.googleapis.com/mina-archive-dumps
ARCHIVE_DUMP_PREFIX=devnet-archive-dump
# Hour suffix to fetch (0000 = midnight UTC, 1200 = noon UTC — mesa only).
ARCHIVE_DUMP_HOUR=0000
# --- Snapshot: local dump directory ---
SNAPSHOT_DIR=./snapshots/devnet-latest
# --- Snapshot: Docker images for download profile ---
MINA_ARCHIVE_IMAGE=europe-west3-docker.pkg.dev/o1labs-192920/euro-docker-repo/mina-archive:7f964f7-noble-devnet