-
Notifications
You must be signed in to change notification settings - Fork 0
/
brownie-config.json
executable file
·72 lines (72 loc) · 2.51 KB
/
brownie-config.json
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// Brownie configuration file
// https://eth-brownie.readthedocs.io/en/latest/config.html
{
"network": {
"default": "development", // the default network that brownie connects to
"settings": {
"gas_limit": false,
"gas_price": false,
// if set to false, reverting tx's will raise without broadcasting
"reverting_tx_gas_limit": false
},
"networks": { // any settings given here will replace the defaults
"development": {
"test_rpc": {
"cmd": "ganache-cli",
"port": 8545,
"gas_limit": 6721975,
"accounts": 10,
"evm_version": "petersburg",
"mnemonic": "brownie",
"acctKeys": "./ganache-accounts.json"
},
"host": "http://127.0.0.1",
"reverting_tx_gas_limit": 6721975
},
// set your Infura API token to the environment variable WEB3_INFURA_PROJECT_ID
"mainnet": {
"host": "https://mainnet.infura.io/v3/$WEB3_INFURA_PROJECT_ID"
},
"goerli": {
"host": "https://goerli.infura.io/v3/$WEB3_INFURA_PROJECT_ID"
},
"kovan": {
"host": "https://kovan.infura.io/v3/$WEB3_INFURA_PROJECT_ID"
},
"rinkeby": {
"host": "https://rinkeby.infura.io/v3/$WEB3_INFURA_PROJECT_ID"
},
"ropsten": {
"host": "https://ropsten.infura.io/v3/$WEB3_INFURA_PROJECT_ID"
}
}
},
"pytest": { // these settings replace the defaults when running pytest
"gas_limit": 6721975,
"default_contract_owner": false,
"reverting_tx_gas_limit": 6721975,
"revert_traceback": false
},
"compiler": {
"solc": {
"version": null,
"evm_version": null,
"optimize": true,
"runs": 200,
"minify_source": false
}
},
"colors": {
"key": "",
"value": "bright blue",
"callable": "bright cyan",
"module": "bright blue",
"contract": "bright magenta",
"contract_method": "bright magenta",
"string": "bright magenta",
"dull": "dark white",
"error": "bright red",
"success": "bright green",
"pending": "bright yellow"
}
}