helius 1.0.1

An asynchronous Helius Rust SDK for building the future of Solana
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use solana_sdk::signature::Keypair;

/// Generates a specified number of keypairs
///
/// # Arguments
/// * `amount` - The number of keypairs to generate
///
/// # Returns
/// A vector of `Keypair`
pub fn make_keypairs(amount: usize) -> Vec<Keypair> {
    (0..amount).map(|_| Keypair::new()).collect()
}