Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,23 @@ INDEXER_URL=https://analytics.indigoprotocol.io/api/v1
BLOCKFROST_API_KEY=

# ── x402 payment gating (optional — omit or leave blank to disable) ──────────
# EVM wallet address to receive USDC on Base (required to enable EVM payments)
X402_EVM_ADDRESS=
#
# Payment uses the split execution flow: signing happens locally, verification
# and settlement route through the openmm.io proxy (or your own PAYMENT_SERVER).
# Private keys never leave this process.
#
# To enable: set X402_PRIVATE_KEY to your EVM wallet private key.
# The wallet pays for tool calls; funds must be available in USDC on Base.

# Cardano address (optional) — NOTE: @qbtlabs/x402 v0.5.0 does not yet emit a
# Cardano entry in 402 accepts[] because USDC_CONTRACTS has no cardano: entry.
# Setting this enables Cardano payment *verification* but not advertisement.
# Leave blank until a future x402 release adds native Cardano token support.
X402_CARDANO_ADDRESS=
# EVM private key of the payer wallet (0x-prefixed). Enables auto-payment.
X402_PRIVATE_KEY=

# Set to "true" to use testnets (Base Sepolia = chainId 84532, Cardano preprod)
# Proxy / settlement worker URL. Override for self-hosted deployments.
PAYMENT_SERVER=https://mcp.openmm.io

# Set to "true" to use Base Sepolia testnet
X402_TESTNET=false

# Override default facilitator URL (defaults to https://x402.org/facilitator)
# Legacy: direct facilitator URL fallback (used only when PAYMENT_SERVER is unset
# and you want to bypass mcp.openmm.io). Defaults to https://mcp.openmm.io.
X402_FACILITATOR_URL=
Loading
Loading