-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
127 lines (100 loc) · 4.36 KB
/
.env.example
File metadata and controls
127 lines (100 loc) · 4.36 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# Davinci Sequencer Environment Variables
# These variables correspond to the command-line flags in cmd/davinci-sequencer/main.go
# Private key to use for the Ethereum account (required)
# No default - must be provided
DAVINCI_WEB3_PRIVKEY=
# Network to use (available: sepolia, eth, geth, etc.)
# Default: sepolia
DAVINCI_WEB3_NETWORK=sepolia
# Web3 RPC endpoint(s), comma-separated
# Default: Uses endpoints from chainlist.org if not provided
DAVINCI_WEB3_RPC=
# Web3 Consensus API endpoint, necessary for State sync
# Default: Uses an endpoint from publicnodes
DAVINCI_WEB3_CAPI=
# Gas price multiplier for Ethereum transactions (EIP-4844 blob transactions)
# This multiplier is applied to both execution gas and blob gas fee caps
# Default: 1.2 (20% increase over base estimation for better reliability)
# Examples:
# 1.0 = Use base gas estimation (baseFee * 2 + tipCap)
# 1.2 = 20% increase (default, recommended for reliable inclusion)
# 1.5 = 50% increase for faster inclusion during moderate congestion
# 2.0 = Double gas prices for urgent transactions during high congestion
# 5.0 = 5x gas prices for very urgent transactions
# Valid range: 0.1 to 100.0
# Use higher values during network congestion to avoid stuck transactions
DAVINCI_WEB3_GASMULTIPLIER=1.2
# Custom process registry contract address (overrides network default)
# Default: Uses the address defined in the selected network configuration
DAVINCI_WEB3_PROCESS=
# Custom results registry contract address (overrides network default)
# Default: Uses the address defined in the selected network configuration
DAVINCI_WEB3_RESULTS=
# API host to bind the server to
# Default: 0.0.0.0 (all interfaces)
DAVINCI_API_HOST=0.0.0.0
# API port to listen on
# Default: 9090
DAVINCI_API_PORT=9090
# URL seed for worker authentication (enables master worker endpoints)
# No default - leave empty to disable worker support
# When set, master will accept worker connections at /workers/{uuid} endpoint
DAVINCI_API_WORKERSSEED=
# Sequencer batch time window in seconds
# Default: 5m
DAVINCI_BATCH_TIME=5m
# Log level (debug, info, warn, error, fatal)
# Default: info
DAVINCI_LOG_LEVEL=info
# Log output (stdout, stderr or filepath)
# Default: stdout
DAVINCI_LOG_OUTPUT=stdout
# Log disable API (true/false)
# If true, disables the API endpoints for logging
# Default: false
DAVINCI_LOG_DISABLEAPI=false
# Log full RPC request/response bodies (VERY verbose)
DAVINCI_LOG_DUMPRPC=false
# Data directory for database and storage files (overwritten by docker compose)
# Default: ~/.davinci
# DAVINCI_DATADIR=
# Force cleanup of all pending items at startup (EMERGENCY USE ONLY)
# When set to true, cleans all pending verified votes, aggregated batches,
# and state transitions across all processes at startup. All cleaned votes
# are marked with error status. This is a destructive operation that should
# only be used in emergency situations to recover from a corrupted state.
# Default: false
# WARNING: Use with caution - this will discard all pending work!
DAVINCI_FORCECLEANUP=false
# ========== WORKER MODE CONFIGURATION ==========
# The following variables are used when running in worker mode
# Sequencer node URL (required for worker mode)
# Example: http://sequencer:9090/workers/<UUID>
# No default - must be provided to enable worker mode
DAVINCI_WORKER_SEQUENCERURL=
# Worker auth token to connect to the sequencer (required for worker mode)
DAVINCI_WORKER_AUTHTOKEN=
# Worker Ethereum address (required for worker mode)
# Unique address identifying this worker
DAVINCI_WORKER_ADDRESS=
# Worker name for identification associated with the worker address
DAVINCI_WORKER_NAME=
# Worker job timeout duration
# Maximum time a worker can hold a job before timeout
# Default: 1m
DAVINCI_WORKER_TIMEOUT=1m
# ========== WEB DASHBOARD CONFIGURATION ==========
# The following variables are used to configure the web UI dashboard
#
# Set the default API provider for the dashboard
# It is only effective on build time
SEQUENCER_API_URL=http://localhost:9090
# The URL to the block explorer for the network
# This is used to link to transactions and contracts in the web UI
# Default: https://sepolia.etherscan.io/address
BLOCK_EXPLORER_URL=https://sepolia.etherscan.io/address
# Enable ICICLE GPU prover (CUDA required)
GPU_PROVER=false
# If running with docker compose and profile=prod, a domain is required
# in order to fetch the TLS certificate from Let's Encrypt
DOMAIN=