{"id":58626,"library":"sc-network","title":"SC Network","description":"Substrate network protocol implementation.","status":"active","version":"0.57.0","language":"rust","source_language":null,"source_url":"https://github.com/paritytech/polkadot-sdk","tags":["substrate","network","p2p","polkadot"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nsc-network = \"0.57.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add sc-network","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"NetworkService","correct":"use sc_network::NetworkService;"}],"quickstart":{"code":"use sc_network::NetworkService;\n\nfn main() {\n    // NetworkService is typically used within a Substrate service\n    println!(\"NetworkService is available\");\n}","lang":"rust","description":"Demonstrates importing the NetworkService type."},"warnings":[{"fix":"Use within a Substrate runtime or node project with proper dependencies.","message":"Requires full Substrate node setup; not a standalone library.","severity":"gotcha","affected_versions":">=0.57.0"}],"env_vars":null,"search_vec":"'implement':6 'network':2,4,8 'p2p':9 'polkadot':10 'protocol':5 'sc':1 'substrat':3,7","created_at":"2026-06-16T16:32:40.953010+00:00","updated_at":"2026-06-16T16:32:40.953010+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://paritytech.github.io/polkadot-sdk/","github":"https://github.com/paritytech/polkadot-sdk","docs":"https://docs.rs/sc-network/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}