guardrail/.env.example
caelum0x 97700b39c4 feat(integrations): real TWAK execution+identity, x402 signing, CMC MCP
- twak-client CLI is the sole execution+identity layer: real swap quote,
  gated execute (autonomous+password), ERC-8004 identity show/mint,
  compete register; handles the {error,errorCode} envelope
- x402: real EIP-712/EIP-3009 signing via the BNB SDK X402Signer
  (integrations/x402-signer), mock fallback, gated by X402_SIGNER + WALLET_PASSWORD
- cmc-client: official MCP endpoint constants + X-CMC-MCP-API-KEY header
- .env.example: document TWAK_ACCESS_ID/HMAC/WALLET_PASSWORD (required for any twak call)
2026-06-17 00:28:19 +03:00

38 lines
973 B
Plaintext

# Runtime
APP_ENV=paper
RUST_LOG=info
DATABASE_URL=sqlite://data/guardrail_alpha.db
# CMC
CMC_API_KEY=
CMC_X402_ENABLED=true
CMC_MCP_URL=
# TWAK (Trust Wallet Agent Kit)
# Install: npm i -g @trustwallet/cli (binary: `twak`, verified v0.19.1)
# REQUIRED for every `twak` call (even read-only price/quote). Get them via
# `twak setup`. Without these, the CLI returns {"error","errorCode":"VALIDATION_ERROR"}.
TWAK_ACCESS_ID=
TWAK_HMAC_SECRET=
# Wallet password — only needed to SIGN/EXECUTE swaps (live money action).
# Leave empty in paper mode; the CLI execute path refuses to sign without it.
TWAK_WALLET_PASSWORD=
TWAK_MODE=local
TWAK_WALLET_NAME=guardrail-alpha
TWAK_MCP_URL=http://127.0.0.1:3000
TWAK_REST_URL=http://127.0.0.1:3001
# BSC
BSC_RPC_URL=
BSC_CHAIN_ID=56
COMPETITION_CONTRACT=0x212c61b9b72c95d95bf29cf032f5e5635629aed5
# Agent
AGENT_NAME=Guardrail Alpha
AGENT_METADATA_URL=
AGENT_POLICY_HASH=
# Dashboard
NEXT_PUBLIC_API_URL=http://localhost:8080