A DIDComm mediator is a cloud agent that facilitates secure, decentralized communication between mobile agents in the self-sovereign identity (SSI) ecosystem. This mediator acts as a cloud-based intermediary, enabling mobile agents to communicate without reliance on centralized infrastructures like Facebook, Signal, or Telegram.
For further understanding checkout the docs
Message types | Spec Status | Implementation Status |
---|---|---|
Mediator Coordination Protocol | ADOPTED | ✅ |
Pickup Protocol | ADOPTED | ✅ |
DID Rotation | ACCEPTED | ✅ |
Cross-Domain Messaging/ Routing Protocol | ADOPTED | ✅ |
Trust Ping Ptotocol | ADOPTED | ✅ |
Discover Features Protocol | ADOPTED | ✅ |
Out of band Messaging | ADOPTED | ⚪ |
Basic Message Protocol | ADOPTED | ⚪ |
Acks | ADOPTED | ❌ |
Present Proof Protocol | ADOPTED | ❌ |
To build and test the project, ensure that libssl-dev and pkg-config are installed on your system.
Install the necessary packages with:
sudo apt update
sudo apt install -y libssl-dev pkg-config
Ensure you have Rust & Cargo installed.
-
Optionally, create a working directory and navigate into it.
-
Clone the repository:
git clone [email protected]:adorsys/didcomm-mediator-rs.git
To build and run the project:
- Compile the project:
cargo build
- Start the mediator service:
cargo run
The output should look like this:
The tests can be run with:
cargo test --workspace
or optionally with cargo nextest
(you may want to install it first) if you want to speed-up the tests:
cargo nextest run --workspace
- Build Errors: Verify the required packages (libssl-dev and pkg-config) are installed, and you have the latest Rust and Cargo versions.
- Use
cargo check
to identify missing dependencies:
cargo check
This project is licensed under the Apache License. See the LICENSE file for details.