-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
64 lines (52 loc) · 2.47 KB
/
.env.example
File metadata and controls
64 lines (52 loc) · 2.47 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
# Remora Agent Configuration
# Copy this file to .env and fill in your values
# NEVER commit .env to git!
# =============================================================================
# Blockchain Configuration
# =============================================================================
# RPC endpoint
# Free options (no API key needed):
# Ethereum: https://eth.llamarpc.com
# Sepolia: https://rpc.sepolia.org
# Base: https://mainnet.base.org
# Base Sepolia: https://sepolia.base.org
RPC_URL=https://sepolia.base.org
# Chain ID (1=mainnet, 11155111=sepolia, 8453=base, 84532=base-sepolia)
CHAIN_ID=84532
# =============================================================================
# Agent Wallet
# =============================================================================
# Private key (64 hex characters, without 0x prefix)
# Export from MetaMask: Account Details > Export Private Key
# WARNING: Keep this secret! Anyone with this key can control your funds.
AGENT_PRIVATE_KEY=your_private_key_here_without_0x_prefix
# =============================================================================
# Rebalance Agent
# =============================================================================
# Rebalance cron schedule (standard cron format)
# Examples:
# */5 * * * * - every 5 minutes
# 0 * * * * - every hour
# */30 * * * * - every 30 minutes
REBALANCE_SCHEDULE=*/5 * * * *
# =============================================================================
# Protection & Safety
# =============================================================================
# Maximum gas price allowed for transactions (in Gwei)
# For L2s like Base, 0.1 to 1.0 is common.
MAX_GAS_PRICE_GWEI=1.0
# Swap slippage tolerance in basis points (1 bps = 0.01%)
# 50 = 0.5%, 100 = 1.0%
SWAP_SLIPPAGE_BPS=50
# Rebalance threshold (0.1 = 10% deviation)
# Rebalance only triggers if the current portfolio distribution deviates from target by more than this.
DEVIATION_THRESHOLD=0.1
# StateView contract address (used to fetch position liquidity)
# Mainnet: 0x7ffe42c4a5deea5b0fec41c94c136cf115597227
# Sepolia: 0xe1dd9c3fa50edb962e442f60dfbc432e24537e4c
# Base Sepolia: 0x571291b572ed32ce6751a2cb2486ebee8defb9b4
STATEVIEW_CONTRACT_ADDR=0x7ffe42c4a5deea5b0fec41c94c136cf115597227
# Comma-separated vault addresses (e.g. 0xabc...,0xdef...)
# Used by the rebalance agent to know which vaults factory to process.
FACTORY_ADDRESS=0x0Ba7b52Ab46AF21F723B29b49f952B115F9fc075
TICK_RANGE_AROUND_CURRENT=6000