-
Notifications
You must be signed in to change notification settings - Fork 23
/
foundry.toml
45 lines (41 loc) · 1.77 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
# Foundry Configuration File
# Default definitions: https://github.com/gakonst/foundry/blob/b7917fa8491aedda4dd6db53fbb206ea233cd531/config/src/lib.rs#L782
# See more config options at: https://github.com/gakonst/foundry/tree/master/config
[profile.default]
solc_version = '0.8.19'
auto_detect_solc = false
optimizer = true
optimizer_runs = 1_000
build_info = true
extra_output = ["storageLayout"]
libs = ["node_modules", "lib"]
fs_permissions = [{ access = "read", path = "./"}]
gas_reports = ["Quest", "Quest1155", "QuestFactory"]
via_ir = true
[fmt]
multiline_func_header = "params_first"
number_underscore = "thousands"
quote_style = "double"
libs = ["node_modules", "lib"]
[rpc_endpoints]
mainnet = "https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_MAINNET_API_KEY}"
sepolia = "https://eth-sepolia.g.alchemy.com/v2/${ALCHEMY_SEPOLIA_API_KEY}"
polygon = "https://polygon-mainnet.g.alchemy.com/v2/${ALCHEMY_POLYGON_API_KEY}"
arbitrum = "https://arb-mainnet.g.alchemy.com/v2/${ALCHEMY_ARBITRUM_API_KEY}"
arbitrum_official = "https://arb1.arbitrum.io/rpc"
optimism = "https://opt-mainnet.g.alchemy.com/v2/${ALCHEMY_MAINNET_API_KEY}"
base = "https://radial-alien-bush.base-mainnet.quiknode.pro/${QUICKNODE_BASE_API_KEY}/"
mantle = "https://rpc.mantle.xyz/"
scroll = "https://rpc.scroll.io/"
blast = "https://restless-divine-meme.blast-mainnet.quiknode.pro/${QUICKNODE_BLAST_API_KEY}/"
zora = "https://rpc.zora.co"
degen = "https://rpc.degen.tips"
base-sepolia = "https://sepolia.base.org"
cyber = "https://cyber.alt.technology"
[etherscan]
mainnet = { key = "${MAIN_ETHERSCAN_API_KEY}" }
sepolia = { key = "${MAIN_ETHERSCAN_API_KEY}" }
polygon = { key = "${POLYGONSCAN_API_KEY}" }
arbitrum = { key = "${ARBISCAN_API_KEY}" }
optimism = { key = "${OPT_ETHERSCAN_API_KEY}" }
base = { key = "${BASESCAN_API_KEY}" }