pub fn authority_keys_from_seed(
	seed: &str,
) -> (AccountId, AccountId, GrandpaId, AuraId, ImOnlineId, AuthorityDiscoveryId) {
	(
		get_account_id_from_seed::<sr25519::Public>(&format!("{}//stash", seed)),
		get_account_id_from_seed::<sr25519::Public>(seed),
		get_from_seed::<GrandpaId>(seed),
		get_from_seed::<AuraId>(seed),
		get_from_seed::<ImOnlineId>(seed),
		get_from_seed::<AuthorityDiscoveryId>(seed),
	)
}
/// Helper function to generate stash, controller and session key from seed
Helper function to generate stash, controller and session key from seed
Helper function to generate stash controller and session key from seed
pub fn authority_keys_from_seed(
	seed: &str,
) -> (AccountId, AccountId, GrandpaId, AuraId, ImOnlineId, AuthorityDiscoveryId) {
	(
		get_account_id_from_seed::<sr25519::Public>(&format!("{}//stash", seed)),
		get_account_id_from_seed::<sr25519::Public>(seed),
		get_from_seed::<GrandpaId>(seed),
		get_from_seed::<AuraId>(seed),
		get_from_seed::<ImOnlineId>(seed),
		get_from_seed::<AuthorityDiscoveryId>(seed),
	)
}
pub fn authority_keys_from_seed ( seed : & str , ) -> ( AccountId , AccountId , GrandpaId , AuraId , ImOnlineId , AuthorityDiscoveryId ) { ( get_account_id_from_seed :: < sr25519 :: Public > ( & format ! ( " " seed ) ) , get_account_id_from_seed :: < sr25519 :: Public > ( seed ) , get_from_seed :: < GrandpaId > ( seed ) , get_from_seed :: < AuraId > ( seed ) , get_from_seed :: < ImOnlineId > ( seed ) , get_from_seed :: < AuthorityDiscoveryId > ( seed ) , ) }
Helper function to generate stash, controller and session key from seed
Helper function to generate stash controller and session key from seed
seed
&str
seed
&str