pub async fn create_trustful_hopr_blokli_connector<C>(
chain_key: &ChainKeypair,
cfg: BlockchainConnectorConfig,
client: C,
module_address: Address,
) -> Result<HoprBlockchainSafeConnector<C>, ConnectorError>where
C: BlokliSubscriptionClient + BlokliQueryClient + BlokliTransactionClient + Send + Sync + 'static,Expand description
Convenience function to create HoprBlockchainConnector with contract addresses retrieved from the given
client.
This instantiation explicitly trusts the contract address information retrieved from the
blokli_client::BlokliClient.
If you wish to provide your own deployment information, use the create_trustless_hopr_blokli_connector function.
The returned instance uses TempDbBackend and SafePayloadGenerator.