Adding solana_network_sdk library as a dependency

Run this command in a terminal, in your project's directory:

cargo add solana-network-sdk

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

solana-network-sdk = "0.5.5"

The solana_network_sdk library will be automatically available globally. Read the solana_network_sdk library documentation.

Back to the crate overview.