pub fn libp2p_generate_indexed_identity(seed: [u8; 32], index: u64) -> Keypair
Expand description

Generate an keypair based on a seed and an index

§Panics

This panics if libp2p is unable to generate a secret key from the seed