This is a basic CLI agent that implements the below mentioned A2A protocols.
https://hackmd.io/QioQNy-RRm2aosuF-i2UGw
NOTE: This has only been tested on Ubuntu and Raspian, and may need some tweeking to work on other platforms.
-
Clone this repository
-
Install dependencies with
npm install
- Make sure you have
indy-sdk
version 1.8.0 or later installed
- Make sure you have
-
Create wallet and generate an invitation key by running
./newDID.js -w <wallet name> -k <wallet key>
-
Paste the new key (not the DID) into config.yml under
invitation_key
. If this is incorrect or not found, the connection process will fail. -
Run the agent with
./index.js -p <port to listen on> -w <wallet name> -k <wallet key> -n <alias used for connections>
-
Run the
help
command for more information from here. -
Note that the values in
config.yml
will be used if cli parameters are omitted.