Skip to main content

Server Config File

Following is the sample format for configuration file:

{
"chain_config":<genesis_file_path>,
"secrets_config":<secrets_file_path>,
"data_dir":<data_directory_path>,
"block_gas_target":<block_gas_limit>,
"grpc_addr":<grpc_listener_address>,
"jsonrpc_addr":<json_rpc_listener_address>,
"telemetry":{
"prometheus_addr":<prometheus_listener_address>
},
"network":{
"no_discover":<enable/disable_discovery>,
"libp2p_addr":<libp2p_server_address>,
"nat_addr":<nat_address>,
"dns_addr":<dns_address>,
"max_peers":<maximum_allowded_peers>
},
"txpool":{

"locals":<local_account_addresses>,
"no_locals":<enable/disable_locals>,
"price_limit":<minimum_gas_price_limit>,
"max_slots":<maximum_txpool_slots>

},
"seal":<enable/disable_block_sealing>,
"log_level":<log_level>,
"dev_mode":<enable/disable_dev_mode>,
"dev_internal":<dev_notification_interval>,
"join_addr":<peer_address>

}