Registry / networking / sc-block-builder

sc-block-builder

JSON →
library0.48.0rscratesunverified

Substrate block builder for constructing blocks in a Substrate-based blockchain.

# Cargo.toml [dependencies] sc-block-builder = "0.48.0"
INSTALL
IMPORT
SIG · SC-BLOCK-BUILDER
S
sc-block-builder
networkingrustv0.48.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.

BlockBuilder
use sc_block_builder::BlockBuilder;

Create a new Substrate block builder.

use sc_block_builder::BlockBuilder; fn main() { let builder = BlockBuilder::new(); println!("Block builder created"); }
Debug
Known issues
gotchaRequires Substrate runtime and client dependencies.
fix
Ensure you have sc-service and sp-core in your dependencies.
affects: >=0.48.0
Upgrade
Version history
0.48.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
8
OpenAI (training)
1
Resources
sc-block-builder — cargo add sc-block-builder · libregistry