pub fn config(network: &str) -> Result<BlockchainConfig>