ma-core 0.10.0

DIDComm service library: inboxes, outboxes, DID document publishing, and transport abstraction
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Iroh transport backend.

pub mod channel;
mod endpoint;
#[cfg(feature = "gossip")]
pub mod gossip;

use crate::error::Result;

pub(crate) async fn new_endpoint(secret_bytes: [u8; 32]) -> Result<endpoint::IrohEndpoint> {
    endpoint::IrohEndpoint::new(secret_bytes).await
}