Registry / networking / polkadot-service

polkadot-service

JSON →
library35.0.0rscratesunverified

Utilities to tie different Polkadot components together and allow instantiation of a node.

# Cargo.toml [dependencies] polkadot-service = "35.0.0"
INSTALL
IMPORT
SIG · POLKADOT-SERVICE
P
polkadot-service
networkingrustv35.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PolkadotService
use polkadot_service::PolkadotService;

Creates a new Polkadot node service from configuration.

use polkadot_service::PolkadotService; let service = PolkadotService::new(config).unwrap();
Debug
Known issues
gotchaRequires a running relay chain and proper chain specification.
fix
Ensure chain spec is provided and network is configured.
affects: >=0.0.0
Upgrade
Version history
35.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
polkadot-service — cargo add polkadot-service · libregistry