Web application demonstrating usage of self-sovereign identity principles for issuance and verification of medical prescriptions.
The application is based on aries-framework-go and cheqd-node. It uses W3C verifiable credentials and Hyperledger Aries Issuance and Presentation protocols over DIDComm.
make demo-server
- Configure af-go version for the image
ARIES_AGENT_IMAGE_NAME ?= aries-agent ARIES_AGENT_IMAGE_TAG ?= latest ARIES_FRAMEWORK_GO_REPO ?= https://github.com/DSRCorporation/aries-framework-go.git ARIES_FRAMEWORK_GO_REPO_BRANCH ?= <branch-or-tag>
- Build docker image
make aries-agent-docker
- docker image will be tagged as
aries-agent:latest
- Build docker image
make demo-server-docker
- docker image will be tagged as
demo-server:latest
-
Run demo server
make run-demo-server
- Demo server api will be available at http://localhost:8888
- OpenAPI will be available at http://localhost:8889/openapi
- To create DIDs and add private keys to wallet manually follow how-to-add-dids-manually.md
-
Stop demo server
make stop-demo-server
- Install oapi-codegen:
go install github.com/deepmap/oapi-codegen/cmd/oapi-codegen@latest
export PATH=$PATH:$HOME/go/bin
- Generate mock stubs for openapi specs
oapi-codegen -package rest ./api/openapi-spec/openapi.yml > internal/controller/rest/ssimp_rest.gen.go
make mock-server
-
Run mock server container
make run-mock-server
- Mock server api will be available at http://localhost:8989
- OpenAPI will be available at http://localhost:8889/openapi
-
Stop mock server
make stop-mock-server
make run-unit-tests
- Run demo-server
- Run integration tests
make run-integration-tests
- aries-framework-go framework is used as an underlying verifiable credential engine
- cheqd ledger is used to store and resolve Decentralized Identifiers (DIDs)