-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfoundry.toml
56 lines (52 loc) · 1.99 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
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
fs_permissions = [
{ access = "read", path = "./test" },
{ access = "read-write", path = "./script/output" },
{ access = "read", path = "./config/holesky-operators.json" },
{ access = "read", path = "./config/mainnet-operators.json" },
]
optimizer = true
optimizer_runs = 200
solc-version = "0.8.25"
# NOTE: The evm_version is automatically changed to `shanghai` for *_mantle Makefile scripts because mantle does not support cancun yet
evm_version = "cancun"
verbosity = 4
[fmt]
line_length = 80
[rpc_endpoints]
# used for local development
anvil = "http://localhost:8545"
# used for `dev` environment
dev-0 = "https://ethereum-holesky-rpc.publicnode.com"
dev-1 = "https://ethereum-holesky-rpc.publicnode.com"
dev-2 = "https://ethereum-holesky-rpc.publicnode.com"
dev-3 = "https://ethereum-holesky-rpc.publicnode.com"
# used for `test` environment
holesky = "https://ethereum-holesky-rpc.publicnode.com"
sepolia = "https://ethereum-sepolia-rpc.publicnode.com"
base_sepolia = "https://base-sepolia-rpc.publicnode.com"
fraxtal_testnet = "https://rpc.testnet.frax.com"
mantle_sepolia = "https://rpc.sepolia.mantle.xyz"
scroll_sepolia = "https://sepolia-rpc.scroll.io"
# prod environment
mainnet = "https://ethereum-rpc.publicnode.com"
base = "https://base-rpc.publicnode.com"
fraxtal = "https://rpc.frax.com"
mantle = "https://rpc.mantle.xyz"
polygon_zkevm = "https://zkevm-rpc.com"
[etherscan]
sepolia = { key = "${MAINNET_ETHERSCAN_API_KEY}" }
holesky = { key = "${MAINNET_ETHERSCAN_API_KEY}" }
base_sepolia = { key = "${BASESCAN_API_KEY}" }
fraxtal_testnet = { key = "${FRAXSCAN_API_KEY}" }
mantle_sepolia = { key = "${MANTLESCAN_API_KEY}" }
scroll_sepolia = { key = "${SCROLLSCAN_API_KEY}" }
mainnet = { key = "${MAINNET_ETHERSCAN_API_KEY}" }
base = { key = "${BASESCAN_API_KEY}" }
fraxtal = { key = "${FRAXSCAN_API_KEY}" }
mantle = { key = "${MANTLESCAN_API_KEY}" }
polygon_zkevm = { key = "${POLYGONSCAN_API_KEY}" }
scroll = { key = "${SCROLLSCAN_API_KEY}" }