# Mediator Related Protocols References for both DIDComm v1 and DIDComm v2 Protocols are provided. Currently (Feb 8, 2023) Aries projects are still using DIDComm v1 protocols. DIDComm V2 and associated protocols will begin deployment over the next several months. ## Forward Protocol Used to send messages to a mediator for delivery to the message receipient DIDComm v1: https://github.com/hyperledger/aries-rfcs/blob/08653f21a489bf4717b54e4d7fd2d0bdfe6b4d1a/concepts/0094-cross-domain-messaging/README.md DIDComm v2: https://identity.foundation/didcomm-messaging/spec/#routing-protocol-20 ## Mediator Coordination Used to configure the relationship between a mobile device and a mediator. DIDComm v1: https://github.com/hyperledger/aries-rfcs/tree/main/features/0211-route-coordination DIDComm v2: https://didcomm.org/mediator-coordination/2.0/ ## Pickup Protocol Used to retrieve messages from a mediator by a mobile device. DIDComm v1: https://github.com/hyperledger/aries-rfcs/tree/main/features/0685-pickup-v2 DIDComm v2: https://didcomm.org/pickup/3.0/ ## Protocol Level Sequence Diagram The following diagram represents the basic flow from a protocol level. Individual protocol messages are not represented. ```mermaid sequenceDiagram Alice->>AliceMediator: Mediator Coordination Protocol Alice->>Bob: Share DID (and DID Document) Bob->>AliceMediator: Inbound Message with Forward Protocol Alice->>AliceMediator: Pickup Protocl ``` ## DID Document Service Endpoint Details DIDComm v1: https://github.com/hyperledger/aries-rfcs/blob/main/features/0067-didcomm-diddoc-conventions/README.md DIDComm v2: https://identity.foundation/didcomm-messaging/spec/#service-endpoint