pub fn libp2p_generate_indexed_identity(seed: [u8; 32], index: u64) -> Keypair
Generate an keypair based on a seed and an index
seed
index
This panics if libp2p is unable to generate a secret key from the seed