pub async fn build_with_chain<Chain, Srv: HoprSessionServer<Session = IncomingSession, Error: Display> + Clone + Send + 'static>(
chain_key: &ChainKeypair,
packet_key: &OffchainKeypair,
config: HoprLibConfig,
probe_cfg: Option<ProberConfig>,
chain_connector: Chain,
server: Srv,
) -> Result<Arc<Hopr<Chain, SharedChannelGraph, HoprNetwork, SharedTicketManager>>>Expand description
Builds a HOPR node with a custom chain connector using canonical implementations for all other components.