Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 2.03 KB

didcomm_mediator.md

File metadata and controls

30 lines (24 loc) · 2.03 KB

Aries DIDComm Router/Mediator

The aries-framework-go project can be used as a DIDComm Router/Mediator. The agents that do not have inbound transport can register with the router. Basically, the agent asks another agent to route the messages to it by asking for permission. On successful grant, agent receives the endpoint and routing key details. These details are used in DID Exchange Invitation or DID Document Service Descriptor.

Edge Agents without Inbound Capability

The project supports DIDComm between two agents without inbound capability through a router. The framework needs to be initialized with Transport Return route options.

// create the framework with Transport return route
framework := aries.New(aries.WithTransportReturnRoute(""all"))

Limitations

Currently, framework supports limited set of features.

  1. Supports only all transport route option.
  2. Supports only websocket for duplex communication. ie, websocket needs to be used as the Outbound transport while initializing the framework for agents without inbound capabilities.

References