DIDComm for Secure Messaging
danger
TODO: I tried both did:web and did:peer (via veramo) and couldn't get it to work. Sample code in its current state is below
Introduction
In this tutorial, we will learn how to implement DIDComm (Decentralized Identifier Communication) for secure and private messaging between DIDs using Veramo.
Steps
Prerequisites
See sample code at didcomm-sample
1. Install packages
npm install
2. Configure
veramo configure
3. Create from and to DIDs
TODO: stuck here; I can create DIDs and add DIDCommMessage services, but resolving is not working.
Tried with did:web and did:peer
4. Send a DIDComm Message
Create a new file message.ts with contents like the following