-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfoundry.toml
57 lines (52 loc) · 1.22 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
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
test = "test/unit"
evm_version = "cancun"
optimizer = true
optimizer-runs = 200
solc_version = "0.8.24"
auto_detect_remappings = false
max-line-length = 120
ffi = true
[profile.mainnet]
src = "src"
out = "out"
libs = ["lib"]
test = "test/mainnet"
eth_rpc_url = "bnb_mainnet"
evm_version = "cancun"
solc_version = "0.8.24"
auto_detect_remappings = false
max-line-length = 120
ffi = true
fs_permissions = [
{ access = "read-write", path = "./deployments" },
{ access = "read", path = "./" },
]
[profile.testnet]
src = "src"
out = "out"
libs = ["lib"]
test = "test/mainnet"
eth_rpc_url = "bnb_testnet"
evm_version = "cancun"
solc_version = "0.8.24"
max-line-length = 120
auto_detect_remappings = false
ffi = true
fs_permissions = [
{ access = "read-write", path = "./deployments" },
{ access = "read", path = "./" },
]
[rpc_endpoints]
bnb_mainnet = "${BNB_MAINNET_RPC_URL}"
bnb_testnet = "https://rpc.ankr.com/bsc_testnet_chapel"
[fmt]
sort_imports = true
line_length = 120
wrap_comments = true
[etherscan]
bnb_mainnet = { key = "${BSCSCAN_API_KEY}", url = "https://api.bscscan.com/api/" }
bnb_testnet = { key = "${BSCSCAN_API_KEY}", url = "https://api-testnet.bscscan.com/api/" }