pub async fn generate_node_keystore<'a, T>(
acc: &NodeAccounts,
node_files_path: impl AsRef<Path>,
scoped_fs: &ScopedFilesystem<'a, T>,
asset_hub_polkadot: bool,
keystore_key_types: Vec<&str>,
) -> Result<Vec<PathBuf>, GeneratorError>where
T: FileSystem,Expand description
Generates keystore files for a node.
ยงArguments
acc- The node accounts containing the seed and public keysnode_files_path- The path where keystore files will be createdscoped_fs- The scoped filesystem for file operationsasset_hub_polkadot- Whether this is for asset-hub-polkadot (affects aura key scheme)keystore_key_types- Optional list of key type specifications
If keystore_key_types is empty, all default key types will be generated.
Otherwise, only the specified key types will be generated.