-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfoundry.toml
More file actions
32 lines (26 loc) · 1.12 KB
/
foundry.toml
File metadata and controls
32 lines (26 loc) · 1.12 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
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
solc_version = "0.8.25"
optimizer = true
optimizer_runs = 200
via_ir = true
ffi = true # Enable FFI for auto-verification in scripts
[rpc_endpoints]
# Sonic Networks
sonic_testnet = "https://rpc.blaze.soniclabs.com"
sonic_mainnet = "https://rpc.soniclabs.com"
# Common testnets for development
sepolia = "https://sepolia.infura.io/v3/<infura-key>"
polygon_mumbai = "https://rpc-mumbai.maticvigil.com"
[etherscan]
# Sonic Testnet (Chain ID: 57054)
sonic_testnet = { key = "${ETHERSCAN_API_KEY}", chain = 57054, url = "https://api.etherscan.io/v2/api?chainid=57054" }
# Sonic Mainnet (Chain ID: 146)
sonic_mainnet = { key = "${ETHERSCAN_API_KEY}", chain = 146, url = "https://api.etherscan.io/v2/api?chainid=146" }
# Other networks for future use
sepolia = { key = "${ETHERSCAN_API_KEY}", chain = 11155111, url= "https://api.etherscan.io/v2/api?chainid=11155111" }
polygon = { key = "${POLYGONSCAN_API_KEY}", chain = 137 }
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
# Foundry configuration for vS Vault Protocol