| Crates.io | polkadot-omni-node-lib |
| lib.rs | polkadot-omni-node-lib |
| version | 0.9.0 |
| created_at | 2024-10-08 12:49:45.583912+00 |
| updated_at | 2025-08-19 15:45:48.899154+00 |
| description | Helper library that can be used to build a parachain node |
| homepage | https://paritytech.github.io/polkadot-sdk/ |
| repository | https://github.com/paritytech/polkadot-sdk.git |
| max_upload_size | |
| id | 1401105 |
| size | 562,776 |
Helper library that can be used to run a parachain node.
This library can be used to run a parachain node while also customizing the chain specs
that are supported by default by the --chain-spec argument of the node's CLI
and the parameters of the runtime that is associated with each of these chain specs.
The library exposes the possibility to provide a [RunConfig]. Through this structure
2 optional configurations can be provided:
chain_spec::LoadSpec]): this can be used for
providing the chain specs that are supported by default by the --chain-spec argument of the
node's CLI and the actual chain config associated with each one.runtime::RuntimeResolver]): this can be used for
providing the parameters of the runtime that is associated with each of the chain specsApart from this, a [CliConfig] can also be provided, that can be used to customize some
user-facing binary author, support url, etc.
For an example, see the polkadot-parachain-bin crate.