Skip to content

DIDEdu - A decentralized open source solution, which is using Decentralized Identifiers and Verifiable Credentials to make students' studying process in the university easier and more secure

Notifications You must be signed in to change notification settings

nikolayVv/DIDEdu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIDEdu

DIDEdu is an open source decentralized solution, which is developed to present the advantages of implementing Decentralized Identifiers (DIDs) and Verifiable Credentials (VCs) in a system. Decentralized Identifiers are a new type of identifiers, that enable a verifiable, distributed digital identity. With the help of this technology, DIDEdu offers to its users:

  • Issuing of credentials for completed obligations (exams, exercises, lectures, assignments, etc.), subjects, years and programs;
  • Authentication/Registration for individual activities (exams, colloquiums, tests, etc.) using credentials or presentations;
  • Signing in the website only with a DID;
  • Secured data storage;
  • Easy to use and user friendly interface;
  • Cheaper usage of the Blockchain using Batches;

The main logic is in the DID service, which is developed in Kotlin and is using the Atala PRISM SDK. Atala PRISM SDK is a development kit, which is following the W3C standard and is working on the Cardano Blockchain. It allows developers to use already implemented functionalities, which helps them develop solutions, that are using DIDs and VCs. The website, where the functionalities can be tested is called DIDEdu and is developed in Typescript, CSS and HTML. It is also using a MySQL data to store some data, which is needed to make the user's experience better. I have also developed a simple digital wallet in Javascript, CSS and HTML as a chrome-extension. It is only used as a local storage, that stores the data in a MongoDB database and is not an actual working digital wallet, that communicates with blockchain. The Cardano Blockchain doesn't have a digital wallet yet, which works with DIDs and VCs, which is why I had to create one. These three systems communicate with each other and allow the users to feel all the benefits from the usage of the DIDs and VCs in the educational process.

Usage

DiplomaCompressed.mp4

The following video (presentation) shows the main decentralized identifiers' functionalities, that DIDEdu is implementing.

  • Generating DID
  • Verifying batch/credential
  • Issuing batch/credential
  • Generating verifiable presentation
  • Revocation

Installation

Before starting the installation, please make sure you have cloned (pulled) the repository.

git clone git@github.com:nikolayVv/DIDEdu.git

Configuration

The first thing you have to do is to add a system environment variable with the name "PRISM_SDK_PASSWORD". This will allow the DID service to access the libraries that Atala PRISM SDK is offerring. To get this password, you must become part of the Atala PRISM developers' community by joining the Atala PRISM Pioneer Program. After that is done you have to build the gradle file in the DID service. This can be done authomatic by using a development environment like IntelliJ. You will also need to install the libraries needed for the DIDEdu webpage. Make sure you have npm installed!

cd DIDEdu
npm install
cd app_public
npm install

Running

Now after all libraries are installed, it's time to start the systems. First start the DID service, by running the "DidServiceApplication.kt" file in the development environment. After that you will need to import the digital wallet in your Chrome browser by opening the extensions tab, switching to Developers mode and loading the folder "digitalWallet". When this is done on different terminals run:

  • digital wallet server,
cd digitalWallet
cd app_server
npm run start
  • DIDEdu server and
cd DIDEdu
npm run start
  • DIDEdu webpage
cd DIDEdu
cd app_public
ng serve --open

After the last terminal loads, the website must show in a new tab, in your browser. If it doesn't load and everything is running without errors, you can find the webpage on localhost:4200.

Contributing

Pull requests are welcome! For changes, please fork the repository!

License

MIT

Acknowledgements

This solution is developed as part of my thesis for receiving a bachelor's degree from the University of Ljubljana Faculty of Computer and Information Science. I would like to give very special thanks to:

  • my mentor Assoc. Prof. dr. Dejan Lavbič, who came up with the theme of the thesis and helped me write it and develop a solution for it;
  • the Atala PRISM team for giving me a spot in the first cohort of the Atala PRISM pioneer program, where I learned, how to work with the Atala PRISM SDK;
  • the IOG's Technical Community for their help through the developing process;

About

DIDEdu - A decentralized open source solution, which is using Decentralized Identifiers and Verifiable Credentials to make students' studying process in the university easier and more secure

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published