Skip to content

Commit 8f09c18

Browse files
Pablosinyores0xfandom
authored andcommitted
feat(config): expand pool registry to 76 mainnet pools, add Eden + Rsync builders
WS-1.6 / WS-1.7 partial — implements the config-only half of #71. Pool registry: 3 → 76 curated high-TVL Ethereum mainnet pools tiered hot/warm/cold across all 6 supported protocols (UniV2, UniV3, Sushi, Curve, Balancer V2, Bancor V3). Auto-population to the full 5,000+ target tracked separately in #120 (discovery pipeline + per-builder Prometheus metrics). Builders: add Eden + Rsync to builders.yaml using the existing api_key auth pattern. Default to auth_type "none" so executor startup stays clean for default deployments — operators flip to api_key + set EDEN_API_KEY / RSYNC_API_KEY in .env to activate. Tests: relax engine bootstrap_pools assertion from exact-3 to >=3 (anchor USDC/WETH pools) so the test stays robust as pools.toml grows. Update internal/config builders test to expect the four configured builders. Refs: #71, #120
1 parent e2d2099 commit 8f09c18

5 files changed

Lines changed: 694 additions & 18 deletions

File tree

‎.env.example‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ DASHBOARD_PORT=8080
2525
SEARCHER_KEY=your_searcher_wallet_private_key_here
2626
# FLASHBOTS_AUTH_KEY=your_flashbots_key
2727

28+
# Block builder API keys (referenced by config/builders.yaml via ${VAR} expansion).
29+
# Leave unset to disable submission to that builder; the executor will still
30+
# fan-out to the remaining configured builders.
31+
# TITAN_API_KEY=
32+
# EDEN_API_KEY=
33+
# RSYNC_API_KEY=
34+
2835
# Observability - Alertmanager Slack routing.
2936
# Create an incoming webhook at https://api.slack.com/messaging/webhooks and paste the full URL here.
3037
# The Alertmanager container substitutes this value into alertmanager.yml at startup, so the webhook

‎config/builders.yaml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,23 @@ builders:
1010
timeout_ms: 2000
1111
auth_type: "none"
1212
# To use API key auth, set auth_type: "api_key" and auth_key: "${TITAN_API_KEY}"
13+
- name: "eden"
14+
url: "https://api.edennetwork.io/v1/bundle"
15+
enabled: true
16+
timeout_ms: 2000
17+
auth_type: "none"
18+
# Eden requires an API key for production. Set auth_type: "api_key" and
19+
# auth_key: "${EDEN_API_KEY}" once the env var is provisioned in .env.
20+
# Validation rejects api_key entries with empty keys, so this defaults to
21+
# "none" to keep startup clean — submissions without auth will be rejected
22+
# by the relay until the key is wired.
23+
- name: "rsync"
24+
url: "https://rsync-builder.xyz"
25+
enabled: true
26+
timeout_ms: 2000
27+
auth_type: "none"
28+
# Same opt-in pattern as Eden. Set auth_type: "api_key" and
29+
# auth_key: "${RSYNC_API_KEY}" once the env var is provisioned in .env.
1330

1431
submission:
1532
fan_out: true

0 commit comments

Comments
 (0)