-
Notifications
You must be signed in to change notification settings - Fork 87
/
foundry.toml
33 lines (28 loc) · 1.05 KB
/
foundry.toml
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
[profile.default]
src = "contracts"
test = 'test'
out = "out"
libs = ["lib"]
solc = "0.8.24"
optimizer = true
optimizer_runs = 100000
via_ir = true
evm_version = "cancun"
bytecode_hash = "none"
cbor_metadata = false
# RPC config in .env file
[rpc_endpoints]
goerli = "${GOERLI_RPC_URL}"
arbitrumgoerli = "${ARBITRUM_GOERLI_RPC_URL}"
optimismgoerli = "${OPTIMISM_GOERLI_RPC_URL}"
etherum = "${ETHERUM_RPC_URL}"
arbitrum = "${ARBITRUM_RPC_URL}"
optimism = "${OPTIMISM_RPC_URL}"
scrollsepolia = "${SCROLL_SEPOLIA_RPC_URL}"
basesepolia = "${BASE_SEPOLIA_RPC_URL}"
[etherscan]
goerli = { key = "${GOERLI_SCAN_API_KEY}", chain = "goerli" }
optimismgoerli = { key = "${OPTIMISM_GOERLI_SCAN_API_KEY}", chain = "optimism-goerli" }
scrollsepolia = { key = "#{SCROLL_SEPOLIA_SCAN_API_KEY}", url = "https://api-sepolia.scrollscan.com/api/", chain = 534351 }
basesepolia = { key = "#{BASE_SEPOLIA_SCAN_API_KEY}", url = "https://api-sepolia.basescan.org/api/", chain = 84532 }
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options