-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.torpc.example
More file actions
32 lines (25 loc) · 1.02 KB
/
.env.torpc.example
File metadata and controls
32 lines (25 loc) · 1.02 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
# TorPC Configuration Example
# Copy this file to .env and configure as needed
# Core Services
# Geth node URL (defaults to local dev node)
GETH_URL=http://127.0.0.1:8545
# Bind address for TorPC proxy
BIND_ADDR=127.0.0.1:8080
# Logging level
RUST_LOG=info
# MEV Protection (Optional)
# To enable MEV protection via Flashbots, configure the following:
# Private key for signing Flashbots authentication
# Any Ethereum key can be used - it doesn't need to hold funds
# Format: 64 hex characters without 0x prefix
# Example: 1111111111111111111111111111111111111111111111111111111111111111
# FLASHBOTS_SIGNING_KEY=your-private-key-hex-without-0x
# MEV relay endpoint (defaults to Flashbots mainnet if not set)
# Mainnet: https://relay.flashbots.net
# Sepolia: https://relay-sepolia.flashbots.net
# Holesky: https://relay-holesky.flashbots.net
# FLASHBOTS_RELAY_URL=https://relay.flashbots.net
# Testing Configuration
# For integration tests on Sepolia testnet:
# FLASHBOTS_TEST_KEY=test-private-key-for-integration-tests
# TEST_NETWORK=sepolia