Skip to content

A collection of Hyperledger Aries cloud-agents to issue and verify COVID-19 vaccination digital verifiable credentials.

License

Notifications You must be signed in to change notification settings

TrustNetPK/cov-id-cloud-agent

Repository files navigation

COV-ID Cloud Agents

A collection of hyperledger aries cloud-agent to issue or verify COVID-19 vaccination digital verifiable credentials.

Agents

  • Issuer (Issues digital vaccination credential i.e Hospital, Clinic or some Medical Institute)
  • Verifier (Verifies digital vaccination credential i.e Aviation authorities of a country)
  • Accreditor (Organiation that verifies the verifier i.e World Health Organization WHO or some national health entity)

Run local dev enviornment

git clone https://github.com/TrustNetPK/cov-id-cloud-agent.git
git clone https://github.com/TrustNetPK/aries-cloudagency-python.git
cd cov-id-cloud-agent
docker-compose build
docker-compose up

In case of mistake to remove all docker containers and images use following (CAUTION: using following commands will delete all containers and images)

docker stop $(docker ps -aq) #stops all containers
docker rm $(docker ps -aq) #removes all containers
docker rmi $(docker images -q) #removes all images

#also remove network created by docker-compose yml
docker network ls
docker network rm <NETWORK NAME>

Usage

For agents

Use X-API-Key = 'secret' in header to access swagger

For agency

See usage section of: https://github.com/TrustNetPK/aries-cloudagency-python

Deploy the dockerfile to cloud of your choice for either Issuer, Verifier or Accreditor based on your role in the digital trust ecosystem. To run locally use the provided bash scripts or build the docker file.

Look at API documentation here

https://documenter.getpostman.com/view/8801337/SztEb7jT

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License by TrustNet Pakistan.