veritas/.env.example
caelum0x dd069746b9 chore(repo): flatten project to repository root
The whole project lived under a redundant veritas/ subdirectory with only a
stub README.md at the repo root, so GitHub showed caelum0x/veritas as
veritas/<everything>. Move all files up to the root and drop the stub.
History is preserved (git detects renames). Build unaffected: 0 type errors
across packages + all 31 apps, 49 tests passing from the new root.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 15:05:43 +03:00

55 lines
2.9 KiB
Plaintext

# ===========================================================================
# Veritas CAP provider (apps/cap-agent) — environment
# These are read by @veritas/config (packages/config/src/load.ts) at startup
# and validated with Zod (fail-fast). Copy to .env and fill in.
# ===========================================================================
# ---------------------------------------------------------------------------
# CROO Agent Protocol (CAP) — on-chain settlement (required)
# Register the agent + a service on the CROO Agent Store, fund its wallet.
# ---------------------------------------------------------------------------
# Base JSON-RPC endpoint the agent uses for on-chain reads/settlement.
CROO_RPC_URL=https://mainnet.base.org
# USDC token contract on Base (mainnet USDC shown).
CROO_USDC_ADDRESS=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
# The agent wallet private key (0x + 64 hex). KEEP SECRET — never commit a real one.
CROO_AGENT_PRIVATE_KEY=0x0000000000000000000000000000000000000000000000000000000000000000
# On-chain agent identifier / ENS name for this agent.
CROO_AGENT_ID=veritas
# Target chain (8453 = Base mainnet).
CROO_CHAIN_ID=8453
# Dry-run without broadcasting real transactions (true for local/dev).
CROO_SIMULATE=true
# Optional settlement bounds / tuning (micro-USDC, 6 decimals).
# CROO_MIN_SETTLEMENT_USDC=1000000
# CROO_MAX_SETTLEMENT_USDC=100000000
# CROO_SETTLEMENT_TIMEOUT_MS=60000
# CROO_CONFIRMATIONS=2
# ---------------------------------------------------------------------------
# Anthropic — the verification "brain" (required for real verdicts)
# ---------------------------------------------------------------------------
ANTHROPIC_API_KEY=sk-ant-...
# ---------------------------------------------------------------------------
# Domain data sources
# Keyless sources (Crossref, arXiv, PubMed, Retraction Watch, openFDA, SEC EDGAR,
# CourtListener, CoinGecko, Sourcify, NLM ICD, public EVM RPC) need NO key.
# The keys below only enable keyed domains or raise rate limits — all optional.
# ---------------------------------------------------------------------------
# MARKET_DATA_API_KEY= # financial: live market data
# FUNDAMENTALS_API_KEY= # financial: fundamentals
# NEWS_API_KEY= # news domain (required to enable the 4 news sources)
# OPENFDA_API_KEY= # raises openFDA rate limits
# COURTLISTENER_API_TOKEN= # raises CourtListener rate limits
# COINGECKO_API_KEY= # CoinGecko Pro (raises rate limits)
# ---------------------------------------------------------------------------
# Platform infrastructure (only needed when running the full platform apps,
# not the standalone cap-agent). Optional for the agent itself.
# ---------------------------------------------------------------------------
# DATABASE_URL=postgres://user:pass@localhost:5432/veritas
# REDIS_URL=redis://localhost:6379
# OTLP_ENDPOINT=