{"id":57614,"library":"solana-client","title":"solana-client","description":"Solana Client for interacting with the Solana blockchain.","status":"active","version":"2.2.0","language":"rust","source_language":null,"source_url":"https://github.com/anza-xyz/agave","tags":["solana","blockchain","client","rpc"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nsolana-client = \"2.2.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add solana-client","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"RpcClient","correct":"use solana_client::rpc_client::RpcClient;"}],"quickstart":{"code":"use solana_client::rpc_client::RpcClient;\n\nfn main() {\n    let client = RpcClient::new(\"https://api.mainnet-beta.solana.com\".to_string());\n    println!(\"{:?}\", client.get_version());\n}","lang":"rust","description":"Connect to Solana mainnet and get version."},"warnings":[{"fix":"Add tokio as a dependency and use #[tokio::main].","message":"Requires async runtime (tokio) for some operations.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'blockchain':11,13 'client':3,5,14 'interact':7 'rpc':15 'solana':2,4,10,12 'solana-cli':1","created_at":"2026-06-16T15:50:43.860995+00:00","updated_at":"2026-06-16T15:50:43.860995+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://anza.xyz/","github":"https://github.com/anza-xyz/agave","docs":"https://docs.rs/solana-client/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","crypto"],"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}}