I was talking to an instructor of a CPR course and they told me that organizations are wary of making AED devices available to the general public. The devices can be stolen or misused. In the USA, companies are worried about liability of having someone use one on a person when they don't have training.

I feel that having a VC that can prove that someone is qualified to use a device, will encourage organizations to make these life saving devices available.

What it does

  1. The organizations that provide training on CPR and AED devices can issue a credential to people who pass the course and are certified to use the device.
  2. Organizations can place AED devices in a locked cabinet.
  3. On the cabinet will be a QR code for a VC proof request.
  4. The VC holder scans the QR code and sends their VC.
  5. The VC triggers a message to the cabinet to unlock.
  6. A life is potentially saved.

How we built it

I took the Driver's Licence Issuer and Holder projects and modified them. I changed the VC to a NameCredentialPersonV1 credential. I added a QR Code scanner to the home page of the Holder app. I also created a server app that is addressed by the QR code. This app returns the share-credentials request. When the credential is shared, I send a message to a simulated IoT device that I have created on a Rasberry Pi.

Challenges we ran into

  1. I originally wanted to use the Education unsigned credential, but it was not available as a credential type in the verifier portal.
  2. The code for the Issuer, Holder and Verifier projects has all sorts of errors when trying to run them on Ubuntu 20.04
  3. The request token is really long, so I had to make a QR Code that went to an URL to fetch the token request.
  4. For some reason AWS SES has stopped working for me.
  5. I had to make the Issuer and the server app use an SSL cert so that I could use HTTPS for the QR code scanner. I have left the scanner using the front camera so that it will work with a web cam for debugging purposes. The app works on a mobile device too (or at least Android).
  6. I am still having problems getting my creds to appear for verification.

Accomplishments that we're proud of

  1. The QR Code scanning is a nice touch for out-of-bounds communication.
  2. The IoT simulation on a Raspberry Pi of a locking device trigger by the verification.

What we learned

I learned that Affinidi is a custodial verifiable credential management system. It looks like a good candidate to use to build fast POCs around using VCs.

What's next for AED Access

I would like to make a React Native Expo app for a better holder experience.

Share this project: