-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy path.env.example
More file actions
115 lines (91 loc) · 4.66 KB
/
Copy path.env.example
File metadata and controls
115 lines (91 loc) · 4.66 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# OmniClaw environment template
#
# Copy to `.env` for local development. Never commit real secrets.
# Pick the sections that match your deployment role.
# =============================================================================
# Shared Network Configuration
# =============================================================================
# Supported examples: ETH-SEPOLIA, BASE-SEPOLIA, ARC-TESTNET
OMNICLAW_NETWORK=BASE-SEPOLIA
OMNICLAW_RPC_URL=https://sepolia.base.org
# development, test, or production
OMNICLAW_ENV=development
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
OMNICLAW_LOG_LEVEL=INFO
# =============================================================================
# Buyer Signing Key
# =============================================================================
# Private key used by the SDK or Financial Policy Engine for allowed buyer actions.
# In production, use restricted infrastructure and secret management.
OMNICLAW_PRIVATE_KEY=0x...
# =============================================================================
# Financial Policy Engine
# =============================================================================
# Use this when an agent, worker, or partner integration should not hold raw key
# authority. The policy engine exposes the controlled payment API.
OMNICLAW_AGENT_TOKEN=replace-with-agent-token
OMNICLAW_AGENT_POLICY_PATH=./policy.json
OMNICLAW_AGENT_STATE_PATH=./wallet-state.json
OMNICLAW_OWNER_TOKEN=replace-with-owner-token
# Buyer server rail profile.
# hybrid = Circle direct transfer + x402 paid APIs
# circle = Circle direct transfer only
# x402 = x402 paid APIs only
OMNICLAW_BUYER_MODE=hybrid
# Credential requirements by mode:
# hybrid: CIRCLE_API_KEY + ENTITY_SECRET + OMNICLAW_PRIVATE_KEY + OMNICLAW_RPC_URL
# circle: CIRCLE_API_KEY + ENTITY_SECRET
# x402: OMNICLAW_PRIVATE_KEY + OMNICLAW_RPC_URL
# x402 Gateway nanopayments also require funded Gateway balance. They do not
# require CIRCLE_API_KEY when the seller provides GatewayWalletBatched metadata.
# Optional explicit rail overrides. Leave unset to use OMNICLAW_BUYER_MODE.
# OMNICLAW_ENABLE_CIRCLE_TRANSFER=true
# OMNICLAW_ENABLE_X402=true
# Policy hot reload interval in seconds. Use a larger value or disable reload in
# production if policies are deployed immutably.
OMNICLAW_POLICY_RELOAD_INTERVAL=5
# Optional persistence backend.
# Values: memory, redis
OMNICLAW_STORAGE_BACKEND=memory
OMNICLAW_REDIS_URL=redis://localhost:6379/0
# =============================================================================
# Agent CLI Runtime
# =============================================================================
# Used by `omniclaw-cli` when acting as an agent execution layer.
OMNICLAW_SERVER_URL=http://127.0.0.1:9091
OMNICLAW_TOKEN=replace-with-agent-token
# Optional human-readable CLI output. Default output is agent-friendly JSON.
OMNICLAW_CLI_HUMAN=0
# =============================================================================
# x402 Nanopayment Funding (Circle Gateway)
# =============================================================================
# Required for Circle direct transfers and optional Circle Gateway API helper
# operations. For OMNICLAW_BUYER_MODE=x402, leave this blank unless you have
# a real Circle API key for helper operations.
CIRCLE_API_KEY=
# Entity secret for Circle Developer Wallet encryption. Required only when the
# Circle direct transfer rail is enabled.
# If your Circle account/API key already has an Entity Secret, set it here.
# Circle only allows one active Entity Secret per account/API key, so OmniClaw
# only auto-generates/registers a new one when no existing secret is provided or
# found in the managed local credential store.
ENTITY_SECRET=
# Nanopayment knobs below tune Gateway behavior when x402 uses GatewayWalletBatched.
# Gateway API environment is derived from OMNICLAW_ENV:
# production/prod/mainnet -> mainnet; all other values -> testnet.
OMNICLAW_NANOPAYMENTS_AUTO_TOPUP=false
OMNICLAW_NANOPAYMENTS_TOPUP_THRESHOLD=1.00
OMNICLAW_NANOPAYMENTS_TOPUP_AMOUNT=10.00
OMNICLAW_NANOPAYMENTS_MICRO_THRESHOLD=1.00
# Optional Gateway contract overrides. OmniClaw has defaults for supported EVM
# networks; set these only when a network's Gateway metadata changes.
CIRCLE_GATEWAY_CONTRACT=
CIRCLE_GATEWAY_USDC_ADDRESS=
# =============================================================================
# Production Hardening
# =============================================================================
# Strict settlement should remain enabled for production buyer x402 payments.
OMNICLAW_STRICT_SETTLEMENT=true
# Webhook verification and deduplication.
OMNICLAW_WEBHOOK_VERIFICATION_KEY=
OMNICLAW_WEBHOOK_DEDUP_DB_PATH=/var/lib/omniclaw/webhook_dedup.sqlite3