-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy path.env.example
More file actions
92 lines (75 loc) · 3.08 KB
/
.env.example
File metadata and controls
92 lines (75 loc) · 3.08 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
# SpoonAI Environment Configuration Example
# Copy this file to .env and fill in your actual values
# ======= LLM API Keys (at least one required) =======
OPENAI_API_KEY=sk-your-openai-api-key-here
ANTHROPIC_API_KEY=sk-ant-your-anthropic-api-key-here
DEEPSEEK_API_KEY=your-deepseek-api-key-here
GEMINI_API_KEY=your-gemini-api-key-here
# BASE_URL= # Optional: override provider endpoint when using custom gateways
# ======= Blockchain Configuration (only for crypto operations) =======
# Wallet private key (keep this secure!)
PRIVATE_KEY=your-wallet-private-key-here
# RPC and network configuration
# NeoX Testnet (recommended defaults)
RPC_URL=https://testnet.rpc.banelabs.org
SCAN_URL=https://xt4scan.ngd.network/
CHAIN_ID=12227332
# ERC-8004 / Spoon DID registries (NeoX Testnet)
NEOX_RPC_URL=https://testnet.rpc.banelabs.org
NEOX_CHAIN_ID=12227332
NEOX_IDENTITY_REGISTRY=0xaB5623F3DD66f2a52027FA06007C78c7b0E63508
NEOX_REPUTATION_REGISTRY=0x8bb086D12659D6e2c7220b07152255d10b2fB049
NEOX_VALIDATION_REGISTRY=0x18A9240c99c7283d9332B738f9C6972b5B59aEc2
# ======= Database Configuration =======
DATABASE_URL=sqlite:///./spoonai.db
# ======= Redis Configuration =======
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=your-redis-password
# ======= Social Media Integration =======
# Telegram
TELEGRAM_BOT_TOKEN=your-telegram-bot-token
TELEGRAM_CHAT_ID=your-telegram-chat-id
# ======= Third-Party Services =======
# GitHub
GITHUB_TOKEN=your-github-token
# GoPlus Labs
GO_PLUS_LABS_APP_KEY=your-goplus-labs-app-key
GO_PLUS_LABS_APP_SECRET=your-goplus-labs-app-secret
# Bitquery (for blockchain data analysis)
# Get these from https://bitquery.io/dashboard
BITQUERY_API_KEY=your-bitquery-api-key
BITQUERY_CLIENT_ID=your-bitquery-client-id
BITQUERY_CLIENT_SECRET=your-bitquery-client-secret
# Turnkey SDK - Required for spoon_ai.turnkey.Turnkey client
TURNKEY_BASE_URL=https://api.turnkey.com
TURNKEY_API_PUBLIC_KEY=your_turnkey_public_key_here
TURNKEY_API_PRIVATE_KEY=your_turnkey_private_key_hex_here
TURNKEY_ORG_ID=your_turnkey_organization_id_here
# NeoFS
NEOFS_BASE_URL=https://rest.fs.neo.org/
NEOFS_OWNER_ADDRESS=YourBase58NeoAddress
NEOFS_PRIVATE_KEY_WIF=YourNeoPrivateKeyWIF
# Optional overrides used in notebooks or tests
NEOFS_UPLOAD_TIMEOUT=180
NEOFS_TEST_CONTAINER_ID=
# ======= Logging Configuration =======
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# ======= Server Configuration =======
SERVER_HOST=0.0.0.0
SERVER_PORT=8000
# ======= x402 Payments =======
X402_FACILITATOR_URL=https://x402.org/facilitator
X402_DEFAULT_ASSET=0xa063B8d5ada3bE64A24Df594F96aB75F0fb78160
X402_RECEIVER_ADDRESS=0xYourAgentTreasuryAddress
X402_DEFAULT_NETWORK=base-sepolia
X402_DEFAULT_SCHEME=exact
# Default charge in USD (converted to atomic units automatically). The official x402 demo accepts 0.01.
X402_DEFAULT_AMOUNT_USDC=0.01
X402_PAYWALL_APP_NAME=SpoonOS Agent Services
X402_PAYWALL_APP_LOGO=https://your-domain.example/logo.png
X402_SESSION_TOKEN_ENDPOINT=
# Signatures reuse your existing PRIVATE_KEY / TURNKEY_* credentials—no extra keys required.
# Ollama (local)
OLLAMA_BASE_URL=http://localhost:11434