-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwavs.toml.example
More file actions
143 lines (118 loc) · 4.36 KB
/
wavs.toml.example
File metadata and controls
143 lines (118 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# This configuration file contains settings for all WAVS components:
# - General settings (shared across all processes)
# - WAVS server-specific settings
# - CLI-specific settings
# - Aggregator-specific settings
#
# Environment variable overrides follow these patterns:
# - WAVS server settings: WAVS_<UPPERCASE_KEY>
# - CLI settings: WAVS_CLI_<UPPERCASE_KEY>
# - Aggregator settings: WAVS_AGGREGATOR_<UPPERCASE_KEY>
#
# For arrays, use a comma-separated list in a single string:
# e.g., WAVS_LOG_LEVEL="info, wavs=debug" or WAVS_CORS_ALLOWED_ORIGINS="https://example.com, https://example2.com"
# ----------------------------
# Default settings (shared)
# ----------------------------
# The log level, in the format of tracing directives. Default is ["info"]
# See https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives
[default]
log_level = ["info", "wavs=debug"]
# Those configs are global and shared between wavs and aggregator
# jaeger = "http://localhost:4317"
# prometheus = "http://localhost:9090"
# ----------------------------
# Chain configurations
# ----------------------------
# Cosmos chains
# [default.chains.cosmos.layer-local]
# bech32_prefix = "layer"
# rpc_endpoint = "http://localhost:26657"
# grpc_endpoint = "http://localhost:9090"
# gas_price = 0.025
# gas_denom = "uslay"
# faucet_endpoint = "http://localhost:8000"
# [default.chains.cosmos.pion-1]
# bech32_prefix = "neutron"
# rpc_endpoint = "https://rpc-falcron.pion-1.ntrn.tech"
# grpc_endpoint = "http://grpc-falcron.pion-1.ntrn.tech:80"
# gas_price = 0.0053
# gas_denom = "untrn"
# EVM chains
[default.chains.evm.31337] # Local: anvil
ws_endpoints = ["ws://localhost:8545"]
http_endpoint ="http://localhost:8545"
poll_interval_ms = 7000
[default.chains.evm.17000] # Testnet: holesky | https://holesky-faucet.pk910.de/
ws_endpoints = ["wss://ethereum-holesky-rpc.publicnode.com"]
http_endpoint ="https://ethereum-holesky-rpc.publicnode.com"
poll_interval_ms = 7000
# [default.chains.evm.11155111] # Testnet: Sepolia | https://sepolia-faucet.pk910.de/
# ws_endpoints = ["wss://ethereum-sepolia-rpc.publicnode.com"]
# http_endpoint ="https://ethereum-sepolia-rpc.publicnode.com"]
# poll_interval_ms = 7000
[default.chains.evm.8453] # Base L2 Mainnet | https://superbridge.app/base
ws_endpoints = ["wss://base-rpc.publicnode.com"]
http_endpoint ="https://base-rpc.publicnode.com"
poll_interval_ms = 7000
event_channel_size = 100000
# [default.chains.dev.holesky-fork]
# type = "evm"
# chain_id = "17000"
# ws_endpoints = ["ws://localhost:8545"]
# http_endpoint ="http://localhost:8545"
# poll_interval_ms = 7000
# ----------------------------
# WAVS specific settings
# ----------------------------
[wavs]
# The directory to store the data. Default is "/var/wavs"
data = "~/wavs"
# Optional bearer token to protect mutating HTTP endpoints
# If set here or via env var `WAVS_BEARER_TOKEN`, POST/DELETE endpoints require `Authorization: Bearer <token>`
# Generate with `openssl rand -hex 32`
# bearer_token = "change-me"
cors_allowed_origins = [
"https://lay3rlabs.github.io/*",
"http://localhost:*",
"http://127.0.0.1:*",
]
# The port on which the server will listen.
port = 8041
# The host to serve on. Default is localhost
# host = "localhost"
# WAVS-specific chain overrides (if needed)
# Example:
# [wavs.chains.evm.local]
# chain_id = "31337"
# ws_endpoints = ["ws://localhost:8545"]
# http_endpoint ="http://localhost:8545"
# ----------------------------
# CLI specific settings
# ----------------------------
[cli]
# The directory to store the data. Default is "/var/wavs-cli"
data = "~/wavs/cli"
# wavs_endpoint = "http://localhost:8041"
# ----------------------------
# Aggregator specific settings
# ----------------------------
[aggregator]
# The directory to store the data. Default is "/var/wavs-aggregator"
data = "~/wavs"
cors_allowed_origins = [
"https://lay3rlabs.github.io/*",
"http://localhost:*",
"http://127.0.0.1:*",
]
port = 8040
# Optional bearer token to protect mutating HTTP endpoints
# If set here or via env var `WAVS_AGGREGATOR_BEARER_TOKEN`, POST endpoints require `Authorization: Bearer <token>`
# Generate with `openssl rand -hex 32`
# bearer_token = "change-me"
# Aggregator-specific chain overrides (if needed)
# Example:
# [aggregator.chains.evm.local]
# chain_id = "31337"
# ws_endpoints = ["ws://localhost:8545"]
# http_endpoint ="http://localhost:8545"