22
33include = [
44 " testnet/networks.toml" ,
5- " testnet/api.toml"
5+ " testnet/api.toml" ,
6+ " testnet/gas.toml"
67]
78
89[solver ]
910id = " oif-solver-testnet-usdc"
1011monitoring_timeout_minutes = 5
12+ min_profitability_pct = 1.0
1113
1214# ============================================================================
1315# STORAGE
@@ -41,20 +43,21 @@ private_key = "solver_private_key"
4143min_confirmations = 3 # Higher confirmations for testnets
4244
4345[delivery .implementations .evm_alloy ]
44- network_ids = [84532 , 11155420 , 421614 , 11155111 ]
46+ network_ids = [84532 , 11155420 , 11155111 , 421614 ] # Include all configured networks
4547
4648# ============================================================================
4749# DISCOVERY
4850# ============================================================================
4951[discovery ]
5052
5153[discovery .implementations .onchain_eip7683 ]
52- network_ids = [84532 , 11155420 , 421614 , 11155111 ]
54+ network_ids = [84532 , 11155420 ]
55+ polling_interval_secs = 30 # Use WebSocket subscriptions instead of polling
5356
5457[discovery .implementations .offchain_eip7683 ]
5558api_host = " 127.0.0.1"
5659api_port = 8081
57- network_ids = [84532 , 11155420 , 421614 , 11155111 ]
60+ network_ids = [84532 , 11155420 ]
5861
5962# ============================================================================
6063# ORDER
@@ -69,35 +72,48 @@ primary = "simple"
6972[order .strategy .implementations .simple ]
7073max_gas_price_gwei = 100
7174
75+ # ============================================================================
76+ # PRICING
77+ # ============================================================================
78+ [pricing ]
79+ primary = " coingecko"
80+
81+ [pricing .implementations .mock ]
82+ # Uses default ETH/USD price of 4615.16
83+
84+ [pricing .implementations .coingecko ]
85+ # Free tier configuration (no API key required)
86+ # api_key = "CG-YOUR-API-KEY-HERE"
87+ cache_duration_seconds = 60
88+ rate_limit_delay_ms = 1200
89+
7290# ============================================================================
7391# SETTLEMENT
7492# ============================================================================
7593[settlement ]
7694
7795[settlement .domain ]
7896chain_id = 1
79- address = " 0xB686e4A97821E259d1BB15c5bf13ec96553176d7 "
97+ address = " 0x557d6E91bAC4b2D36fB66f0231fF93db9810e203 "
8098
8199[settlement .implementations .direct ]
82100order = " eip7683"
83- network_ids = [84532 , 11155420 , 421614 , 11155111 ]
101+ network_ids = [84532 , 11155420 ]
84102dispute_period_seconds = 60
85103# Oracle selection strategy when multiple oracles are available (First, RoundRobin, Random)
86104oracle_selection_strategy = " First"
87105
88106# Oracle configuration with multiple oracle support
89107[settlement .implementations .direct .oracles ]
90108# Input oracles (on origin chains)
91- input = { 84532 = [" 0xDD40C9a79D813e4200795014b8E9e575317596F6 " ], 11155420 = [" 0x6dc56CB6C61f3c5a9148cE1fD1AF7a13B8903980 " ], 421614 = [ " 0xedF6cd53008C3EA43e976214F5f6a1A8dBDc6460 " ], 11155111 = [ " 0xc04c8A84295F36B53AC109d47C041a258B788268 " ] }
109+ input = { 84532 = [" 0xF92e489E524B19744DbB14f8e8daAdc43c50234d " ], 11155420 = [" 0xF92e489E524B19744DbB14f8e8daAdc43c50234d " ] }
92110# Output oracles (on destination chains)
93- output = { 84532 = [" 0xDD40C9a79D813e4200795014b8E9e575317596F6 " ], 11155420 = [" 0x6dc56CB6C61f3c5a9148cE1fD1AF7a13B8903980 " ], 421614 = [ " 0xedF6cd53008C3EA43e976214F5f6a1A8dBDc6460 " ], 11155111 = [ " 0xc04c8A84295F36B53AC109d47C041a258B788268 " ] }
111+ output = { 84532 = [" 0xF92e489E524B19744DbB14f8e8daAdc43c50234d " ], 11155420 = [" 0xF92e489E524B19744DbB14f8e8daAdc43c50234d " ] }
94112
95113# Valid routes: from origin chain -> to destination chains
96114[settlement .implementations .direct .routes ]
97- 84532 = [11155420 , 421614 , 11155111 ] # Base Sepolia can go to all other networks
98- 11155420 = [84532 , 421614 , 11155111 ] # Optimism Sepolia can go to all other networks
99- 421614 = [84532 , 11155420 , 11155111 ] # Arbitrum Sepolia can go to all other networks
100- 11155111 = [84532 , 11155420 , 421614 ] # Ethereum Sepolia can go to all other networks
115+ 84532 = [11155420 ] # Can go from origin to destination
116+ 11155420 = [84532 ] # Can go from destination to origin
101117
102118# ============================================================================
103119# DEMO SCRIPT CONFIGURATION
0 commit comments