Function mainnet_lib::network::wallet_state::template::build
source · pub async fn build(
actors: Vec<Actor>,
external_provider: &(dyn ExternalProvider<Error = Error> + Send + Sync)
) -> Result<Vec<MainnetWalletState>, Error>
Expand description
Builds collection of MainnetWalletState
structs based on configuration and external provider
which will provide information about existing wallets
Errors
On error from provider or incorrect actor configuration