NOTE: Final config spec is TBD, check examples for use cases.
The network config can be provided both in json
or toml
format and each section can contain provider
specific keys that are ignored by others, e.g. when you use the native
provider all references to image/s
for nodes are ignored.
bootnode
: (Boolean, default true) add bootnode to network.timeout
: (number) global timeout to use for spawning the whole network.provider
: (String, defaultkubernetes
) Provider to use (e.g kubernetes, podman).backchannel
: (Boolean, default false) Deploy an instance of backchannel server. Only available onkubernetes
.polkadot_introspector
: (Boolean, default false) Deploy an instance of polkadot-introspector, only available onpodman
andkubernetes
.jaeger_agent
: (String) The jaeger agent endpoint passed to the nodes, only available onkubernetes
.enable_tracing
: (Boolean, default true) Enable the tracing system, only available onkubernetes
.tracingCollatorUrl
: (String) The url of the tracing collator used to query by the tracing assertion (Should be tempo query compatible).tracing_collator_service_name
: (String, defaulttempo-tempo-distributed-query-frontend
) service name for tempo query frontend, only available onkubernetes
.tracing_collator_service_namespace
: (String, defaulttempo
) namespace where tempo is running, only available onkubernetes
.tracing_collator_service_port
: (Number, default3100
) port of the query instance of tempo, only available onkubernetes
.
default_command
: (String, default polkadot) The default command to run.default_image
: (String, default polkadot-debug:master) The default image to use for the nodes of therelaychain
.chain
: (String, defaultrococo-local
) The chain name.chain_spec_path
: (String) Path to the chain spec file, NOTE should be theplain
version to allow customizations.chain_spec_command
: (String) Command to generate the chain spec, NOTE can't be used in combination withchain_spec_path
.default_args
: (Array of strings) An array of arguments to use as default to pass to thecommand
.default_overrides
: (Array of objects) An array of overrides to upload to the nodes, objects with:local_path
: string;remote_name
: string;
default_resources
: (Object) Only available inkubernetes
, represent the resourceslimits
/reservations
needed by the nodes by default.nodes
:*name
: (String) Name of the node.image
: (String) Override default docker image to use for this node.command
: (String) Override default command.commandWithArgs
: (String) Override default command and args.args
: (Array of strings) Arguments to be passed to thecommand
.validator
: (Boolean, default true) Pass the--validator
flag to thecommand
.env
: Array of env vars Object to set in the container.- name: (String) name of the
env
var. - value: (String| number) Value of the env var.
- name: (String) name of the
bootnodes
: Array of bootnodes to use.overrides
: Array ofoverrides
definitions.add_to_bootnodes
: (Boolean, default false) Add this node to the bootnode list.resources
: (Object) Only available inkubernetes
, represent the resourceslimits
/reservations
needed by the node.
node_groups
:*name
: (String) Group name, used for naming the nodes (e.g name-1)*count
(Number), Number ofnodes
to launch for this group.image
: (String) Override default docker image to use for this node.command
: (String) Override default command.args
: (Array of strings) Arguments to be passed to thecommand
.env
: Array of env vars Object to set in the container.- name: (String) name of the
env
var. - value: (String| number) Value of the env var.
- name: (String) name of the
overrides
: Array ofoverrides
definitions.resources
: (Object) Only available inkubernetes
, represent the resourceslimits
/reservations
needed by the node.
parachains
Array ofparachain
definition objects-
*id
: (Number) The id to assign to this parachain. Must be unique. -
addToGenesis
: (Boolean) flag to add parachain to genesis or register in runtime. -
cumulus_based
: (Boolean) flag to usecumulus
command generation. -
genesis_wasm_path
: (String) Path to the wasm file to use. -
genesis_wasm_generator
: (String) Command to generate the wasm file. -
genesis_state_path
: (String) Path to the state file to use. -
genesis_state_generator
: (String) Command to generate the state file. -
collator
:*name
: (String) Name of the collator.image
: (String) Image to use.command
: (String, defaultpolkadot-collator
) Command to run.args
: (Array of strings) An array of arguments to use as default to pass to thecommand
.commandWithArgs
: (String) Overridescommand
andargs
.env
: Array of env vars Object to set in the container.- name: (String) name of the
env
var. - value: (String| number) Value of the env var.
- name: (String) name of the
-
collator_groups
:*name
: (String) Name of the collator.*count
: (Number) Number ofcollators
to launch for this group.image
: (String) Image to use.command
: (String, defaultpolkadot-collator
) Command to run.args
: (Array of strings) An array of arguments to use as default to pass to thecommand
.commandWithArgs
: (String) Overridescommand
andargs
.env
: Array of env vars Object to set in the container.- name: (String) name of the
env
var. - value: (String| number) Value of the env var.
- name: (String) name of the
-
sender
: (Number) parachain Id.recipient
: (Number) parachain Id.maxCapacity
: (Number)maxMessageSize
: (Number)
- Object to use as
user defined types
with the js api.