The DIDComm Browser Demo showcases a fully functioning DIDComm v2 application capable of both sending and receiving messages through a DIDComm v2 capable mediator. The primary goal of the demo is to simplify the understanding of DID Communication (DIDComm) principles by implementing only essential protocols.
Mediation Protocols:
Core Protocols:
Utility Protocols for Enhanced Usability:
DID Support:
Currently, only did:peer:2
DIDs are supported. Upon page load, a new did:peer:2
DID is generated, which connects to a mediator to negotiate mediation.
Before you can run or build the DIDComm Browser Demo, ensure you have the following installed:
Clone the repository and install the dependencies:
git clone https://github.com/decentralized-identity/didcomm-demo.git
cd didcomm-demo
npm install
# Or use yarn install
if you prefer yarn over npm
To run the application locally:
npm start
# Or yarn start
This command starts a local development server. Open http://localhost:8080 in your browser to view the application.
To build the application for production:
npm run build
# Or yarn build
This will bundle the application into static files in the dist/
directory.
To format the TypeScript files in the src/
directory:
npm run format
# Or yarn format
Contributions to the DIDComm Browser Demo are welcome! Here are a few ways you can help:
- Report issues and suggest features in the Issues section of the repository.
- Submit pull requests with bug fixes and new features.
Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.