polkadot-omni-node-lib

Crates.iopolkadot-omni-node-lib
lib.rspolkadot-omni-node-lib
version
sourcesrc
created_at2024-10-08 12:49:45.583912
updated_at2025-01-29 22:02:53.472174
descriptionHelper library that can be used to build a parachain node
homepage
repository
max_upload_size
id1401105
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Parity Crate Owner (parity-crate-owner)

documentation

README

Polkadot Omni Node Library

Helper library that can be used to run a parachain node.

Overview

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.

API

The library exposes the possibility to provide a [RunConfig]. Through this structure 2 optional configurations can be provided:

  • a chain spec loader (an implementation of [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.
  • a runtime resolver (an implementation of [runtime::RuntimeResolver]): this can be used for providing the parameters of the runtime that is associated with each of the chain specs

Apart from this, a [CliConfig] can also be provided, that can be used to customize some user-facing binary author, support url, etc.

Examples

For an example, see the polkadot-parachain-bin crate.

Release

Polkadot SDK Stable 2412

Commit count: 0

cargo fmt