pub async fn create_trustful_safeless_hopr_blokli_connector<C>(
chain_key: &ChainKeypair,
cfg: BlockchainConnectorConfig,
client: C,
) -> Result<HoprBlockchainBasicConnector<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.
The transactions generated using this Connector are simply signed using the chain_key EOA.
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_safeless_hopr_blokli_connector
function.
The returned instance uses TempDbBackend and BasicPayloadGenerator.