-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathweb3cli.example.yml
57 lines (55 loc) · 2.07 KB
/
web3cli.example.yml
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
### Web3Cli configuration file
###
### Copy this file to web3cli.yml to set local settings.
###
### Copy this file to ~/.web3cli/conf/web3cli.yml to set
### global settings. Local settings take precedence over
### global settings.
###
### All settings can be overriden via environment
### variables; for example: 'WEB3CLI_DEFAULT_CHAIN=eth'.
### Values specified via env variables take precedence
### on configuration files.
---
web3cli:
### Application key. You neede one to add a signer; generate
### it with `w3 app-key generate`
app_key: null
### Toggle application level debug
debug: false
### Use this chain unless otherwise specified
default_chain: eth
### Use this signer unless otherwise specified
default_signer: null
### Default value for the maximum priority fee to tip the validator
default_priority_fee: 0.0001
### Location of the database - will be created if it does not exist.
db_file: ~/.web3cli/database/web3cli.sqlite
### Whether to pre-load web3cli with popoular chains, tokens, etc.
### The feature triggers only if the database does not exist, e.g.
### after deleting it with `w3 db delete`
populate_db: true
### Output format for tables; see https://pypi.org/project/tabulate/
### to see all available formats
output_table_format: fancy_grid
### Wrap values in tables at this length
output_table_wrap: 40
### Telegram options, see the Github wiki for more details.
telegram_api_key: null
telegram_chat_id: null
telegram_send_timeout: 15
### Time to wait when sending a notification callback (e.g. from subscribe)
post_callback_timeout: 15
log.colorlog:
### Where the log file lives (no log file by default)
file: null
### The level for which to log. One of: info, warning, error, fatal, debug
level: info
### Whether or not to log to console
to_console: true
### Whether or not to rotate the log file when it reaches `max_bytes`
rotate: false
### Max size in bytes that a log file can grow until it is rotated.
max_bytes: 512000
### The maximum number of log files to maintain when rotating
max_files: 4