-
Notifications
You must be signed in to change notification settings - Fork 3
/
foundry.toml
58 lines (45 loc) · 1.3 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
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
[profile.default]
solc = "0.8.17"
optimizer = true
optimizer_runs = 200
via_ir = true
src = "contracts"
out = "out"
libs = ["lib"]
build_info = true
sparse_mode = true
[fmt]
line_length = 120
[rpc_endpoints]
mainnet = "${MAINNET_RPC_URL}"
goerli = "${GOERLI_RPC_URL}"
sepolia = "${SEPOLIA_RPC_URL}"
optimism = "${OPTIMISM_RPC_URL}"
optimism_goerli = "${OPTIMISM_GOERLI_RPC_URL}"
polygon = "${POLYGON_RPC_URL}"
polygon_mumbai = "${POLYGON_MUMBAI_RPC_URL}"
[etherscan]
mainnet = { key = "${MAINNET_ETHERSCAN_API_KEY}" }
goerli = { key = "${GOERLI_ETHERSCAN_API_KEY}" }
sepolia = { key = "${SEPOLIA_ETHERSCAN_API_KEY}" }
optimism = { key = "${OPTIMISM_ETHERSCAN_API_KEY}" }
optimism_goerli = { key = "${OPTIMISM_GOERLI_ETHERSCAN_API_KEY}" }
polygon = { key = "${POLYGON_ETHERSCAN_API_KEY}" }
polygon_mumbai = { key = "${POLYGON_MUMBAI_ETHERSCAN_API_KEY}" }
[profile.local]
eth_rpc_url = "http://localhost:8545"
[profile.mainnet]
eth_rpc_url = "mainnet"
[profile.goerli]
eth_rpc_url = "goerli"
[profile.sepolia]
eth_rpc_url = "sepolia"
[profile.optimism]
eth_rpc_url = "optimism"
[profile.optimism_goerli]
eth_rpc_url = "optimism_goerli"
[profile.polygon]
eth_rpc_url = "polygon"
[profile.polygon_mumbai]
eth_rpc_url = "polygon_mumbai"
# See more config options https://github.com/foundry-rs/foundry/tree/master/config