-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
99 lines (77 loc) · 3.8 KB
/
.env.example
File metadata and controls
99 lines (77 loc) · 3.8 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
# OpenRouter configuration (for cloud models)
OPENROUTER_API_KEY=key
# Local model configuration (optional)
# Set USE_LOCAL_MODEL=true to use local models instead of OpenRouter
USE_LOCAL_MODEL=false
# For Ollama (default)
LOCAL_MODEL_URL=http://localhost:11434/v1
LOCAL_MODEL_NAME=llama3.2:latest
LOCAL_MODEL_API_KEY=ollama
# For LM Studio
# LOCAL_MODEL_URL=http://localhost:1234/v1
# LOCAL_MODEL_NAME=local-model
# LOCAL_MODEL_API_KEY=lm-studio
# For LocalAI
# LOCAL_MODEL_URL=http://localhost:8080/v1
# LOCAL_MODEL_NAME=gpt-3.5-turbo
# LOCAL_MODEL_API_KEY=localai
# For any OpenAI-compatible local server
# LOCAL_MODEL_URL=http://localhost:8000/v1
# LOCAL_MODEL_NAME=your-model-name
# LOCAL_MODEL_API_KEY=your-api-key
# === REAL TRADING API KEYS ===
# API Keys for Real Trading Functionality
# Add these to your .env.local file for actual trading
# 1inch DEX Aggregator API
# Get your API key from: https://portal.1inch.dev/
NEXT_PUBLIC_1INCH_API_KEY=your_1inch_api_key_here
# 0x API for DEX aggregation
# Get your API key from: https://0x.org/docs/introduction/getting-started
NEXT_PUBLIC_0X_API_KEY=your_0x_api_key_here
# WalletConnect Project ID (for wallet connections)
# Get from: https://cloud.walletconnect.com/
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=your_walletconnect_project_id
# Alchemy or Infura RPC URLs (for blockchain connections)
NEXT_PUBLIC_ETHEREUM_RPC_URL=https://eth-mainnet.g.alchemy.com/v2/your_key
NEXT_PUBLIC_POLYGON_RPC_URL=https://polygon-mainnet.g.alchemy.com/v2/your_key
NEXT_PUBLIC_AVALANCHE_RPC_URL=https://api.avax.network/ext/bc/C/rpc
NEXT_PUBLIC_ARBITRUM_RPC_URL=https://arb-mainnet.g.alchemy.com/v2/your_key
# Optional: Analytics and monitoring
NEXT_PUBLIC_MIXPANEL_TOKEN=your_mixpanel_token
NEXT_PUBLIC_SENTRY_DSN=your_sentry_dsn
# === BRIDGE AND CROSS-CHAIN CONFIGURATION ===
# Bridge Protocol Configuration for Hackathon Demo
# LayerZero Configuration (for cross-chain messaging)
# Get endpoints from: https://layerzero.gitbook.io/docs/technical-reference/mainnet/supported-chain-ids
NEXT_PUBLIC_LAYERZERO_ENDPOINT_FUJI=0x93f54D755A063cE7bB9e6Ac47Eccc8e33411d706
NEXT_PUBLIC_LAYERZERO_ENDPOINT_SEPOLIA=0xae92d5aD7583AD66E49A0c67BAd18F6ba52dDDc1
# Stargate Finance Bridge (Real working bridge - Updated Jan 2024)
# Fuji Testnet Router: 0x5C4948d523943090bd3AEbD06227272A6b581691
# Sepolia Testnet Router: 0x2836045A50744FB50D3d04a9C8D18aD7B5012102
NEXT_PUBLIC_STARGATE_ROUTER_FUJI=0x5C4948d523943090bd3AEbD06227272A6b581691
NEXT_PUBLIC_STARGATE_ROUTER_SEPOLIA=0x2836045A50744FB50D3d04a9C8D18aD7B5012102
# Axelar Network (for cross-chain messaging)
# Gateway addresses for testnet
NEXT_PUBLIC_AXELAR_GATEWAY_FUJI=0xC249632c2D40b9001FE907806902f63038B737Ab
NEXT_PUBLIC_AXELAR_GATEWAY_SEPOLIA=0xe432150cce91c13a887f7D836923d5597adD8E31
# Chainlink CCIP (Cross-Chain Interoperability Protocol)
# Router addresses for testnets
NEXT_PUBLIC_CCIP_ROUTER_FUJI=0xF694E193200268f9a4868e4Aa017A0118C9a8177
NEXT_PUBLIC_CCIP_ROUTER_SEPOLIA=0x0BF3dE8c5D3e8A2B34D2BEeB17ABfCeBaf363A59
# Test tokens for cross-chain bridging (Updated Jan 2024)
# Stargate USDC on Fuji Testnet
NEXT_PUBLIC_USDC_FUJI=0x89C1D24fFb34020a9Be5463bD2578fF966E9f303
# Stargate USDC on Sepolia Testnet (from testnet faucet)
NEXT_PUBLIC_USDC_SEPOLIA=0xd63Ce8C84BabC99DD7f8d5112d88793b77470125
# Private key for deployment and testing (TESTNET ONLY!)
# Generate a new wallet for testing: https://vanity-eth.tk/
PRIVATE_KEY=your_private_key_for_testnet_only
# Testnet faucets for getting test tokens
# Avalanche Fuji: https://faucet.avax.network/
# Ethereum Sepolia: https://sepoliafaucet.com/
# Get test USDC: https://faucet.circle.com/
# Block explorers for verification
NEXT_PUBLIC_SNOWTRACE_API_KEY=your_snowtrace_api_key
NEXT_PUBLIC_ETHERSCAN_API_KEY=your_etherscan_api_key
# Warning: Never commit actual API keys to version control
# Add .env.local to your .gitignore file