-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfoundry.toml
More file actions
44 lines (40 loc) · 1.3 KB
/
foundry.toml
File metadata and controls
44 lines (40 loc) · 1.3 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
33
34
35
36
37
38
39
40
41
42
43
44
[profile.default]
src = "contracts"
out = "out"
libs = ["node_modules", "lib"]
remappings = [
"@openzeppelin/=node_modules/@openzeppelin/",
"forge-std/=lib/forge-std/src/",
"createx-forge/=lib/createx-forge/",
]
# Enable via-ir to avoid stack too deep errors
via_ir = true
optimizer = true
optimizer_runs = 200
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
[rpc_endpoints]
# Mainnets
ethereum = "${ETHEREUM_RPC_URL}"
polygon = "${POLYGON_MAINNET_RPC_URL}"
arbitrum = "${ARBITRUM_ONE_RPC_URL}"
optimism = "${OPTIMISM_MAINNET_RPC_URL}"
base = "${BASE_MAINNET_RPC_URL}"
scroll = "${SCROLL_MAINNET_RPC_URL}"
linea = "${LINEA_MAINNET_RPC_URL}"
sophon = "${SOPHON_MAINNET_RPC_URL}"
avalanche = "${AVALANCHE_C_CHAIN_RPC_URL}"
hyperliquid = "${HYPERLIQUID_RPC_URL}"
kaia = "${KAIA_MAINNET_RPC_URL}"
bnb = "${BNB_SMART_CHAIN_MAINNET_RPC_URL}"
monad = "${MONAD_MAINNET_RPC_URL}"
citrea = "${CITREA_MAINNET_RPC_URL}"
megaeth = "${MEGA_ETH_RPC_URL}"
# Testnets
arb-sepolia = "${ARB_SEPOLIA_RPC_URL}"
op-sepolia = "${OP_SEPOLIA_RPC_URL}"
monad-testnet = "${MONAD_TESTNET_RPC_URL}"
holesky = "${HOLESKY_RPC_URL}"
sepolia = "${SEPOLIA}"
citrea-testnet = "${CITREA_TESTNET_RPC_URL}"
base-sepolia = "${BASE_SEPOLIA_RPC_URL}"
polygon-amoy = "${POLYGON_AMONY_RPC_URL}"