sn_node::state_db
pub async fn get_network_keypair(root_dir: &Path) -> Result<Option<Keypair>>
Returns Some(KeyPair) or None if file doesn’t exist.