58 lines
2.2 KiB
Plaintext
58 lines
2.2 KiB
Plaintext
# Natural Language Agreement Oracle Configuration
|
|
|
|
# ================================
|
|
# DEPLOYMENT CONFIGURATION
|
|
# ================================
|
|
|
|
# Deployer's private key (used for contract deployment)
|
|
# IMPORTANT: This should be a funded account with enough ETH for gas
|
|
# NEVER commit your real private key!
|
|
# The key below is from Anvil's default accounts - DO NOT USE IN PRODUCTION
|
|
DEPLOYER_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
|
|
|
|
# ================================
|
|
# ORACLE CONFIGURATION
|
|
# ================================
|
|
|
|
# Blockchain RPC URL (required for oracle)
|
|
# Examples:
|
|
# Local: http://localhost:8545
|
|
# Sepolia: https://sepolia.infura.io/v3/YOUR-INFURA-KEY
|
|
# Mainnet: https://mainnet.infura.io/v3/YOUR-INFURA-KEY
|
|
RPC_URL=http://localhost:8545
|
|
|
|
# Oracle operator's private key (required for oracle)
|
|
# This account submits arbitration decisions on-chain
|
|
# IMPORTANT: Ensure this account has sufficient ETH for gas!
|
|
# The key below is from Anvil's default accounts - DO NOT USE IN PRODUCTION
|
|
ORACLE_PRIVATE_KEY=0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d
|
|
|
|
# EAS (Ethereum Attestation Service) Contract Address (optional)
|
|
# If you used the deploy script, get this from deployments/<network>.json
|
|
# EAS_CONTRACT_ADDRESS=0x...
|
|
|
|
# ================================
|
|
# AI CONFIGURATION
|
|
# ================================
|
|
# At least ONE of the following API keys is required for the oracle to function
|
|
|
|
# OpenAI API Key (optional)
|
|
# Get your API key from https://platform.openai.com/api-keys
|
|
# Supports models: gpt-4o, gpt-4o-mini, gpt-4-turbo, gpt-3.5-turbo
|
|
OPENAI_API_KEY=sk-proj...
|
|
|
|
# Anthropic API Key (optional)
|
|
# Get your API key from https://console.anthropic.com/
|
|
# Supports models: claude-3-5-sonnet-20241022, claude-3-opus-20240229, claude-3-sonnet-20240229
|
|
# ANTHROPIC_API_KEY=sk-ant-...
|
|
|
|
# OpenRouter API Key (optional)
|
|
# Get your API key from https://openrouter.ai/keys
|
|
# Supports any model available on OpenRouter (e.g., openai/gpt-4, anthropic/claude-3-opus)
|
|
# OPENROUTER_API_KEY=sk-or-...
|
|
|
|
# Perplexity API Key (optional)
|
|
# Get your API key from https://www.perplexity.ai/settings/api
|
|
# Used for enhanced search capabilities with LLM providers
|
|
# PERPLEXITY_API_KEY=pplx-...
|