kaiachain / kaia-dapp-mono

MIT License
9 stars 23 forks source link

Proposal: Decentralized Identity (DID) and Verifiable Credentials #180

Open sidelaw opened 1 month ago

sidelaw commented 1 month ago

[Decentralized Identity (DID) and Verifiable Credentials

A decentralized ID (DID) is a new way of managing digital identities that gives control to individuals rather than central organizations (like Facebook or Google). This could be used for secure logins across multiple platforms without relying on centralized entities. DIDs are created and controlled by the person or entity that owns them.

Verifiable Credentials (VCs)—Decentralized Certification Platform: A dApp that issues and verifies educational certificates and diplomas on the blockchain, making it easier to prove and authenticate credentials globally, your VC is linked to your DID]

Bounty track

zxstim commented 4 weeks ago

hmm... what is your DID implementation? proposal is kinda vague

sidelaw commented 4 weeks ago

Problem

Currently, we use emails and phone numbers as identifiers to access websites and apps, but our access to these identifiers and personal information is at the mercy of service providers, who can revoke it at any time because these accounts are owned by centralized organizations. For example, your email and Facebook accounts are controlled by Google or Meta ND they can choose to ban your account for various reasons, resulting in the loss of access to all the websites you signed up for using those credentials.

Solution

DID is a new type of identifier for verifiable self-sovereign identity, i.e., a lifetime, portable, and verifiable digital identity that does not depend on any centralized authority. In other words, DIDs are fully under the control of the DID subject (the person or entity who creates the DIDs), independent from any centralized registry, governance, identity provider, or certificate authority. You have the power to choose who to share it with and revoke access anytime.

Implementation Plan

  1. User ID Creation and Registration:
    Create a system that allows users to generate and register their unique ID on the Kaia blockchain.
  2. DID Wallet:
    Create a digital wallet for users to securely store their generated ID.
  3. Document Storage Functionality:
    Add a system so users can store documents (e.g., school certificates, employment records) linked to their ID in the wallet.
  4. Single Sign-On (SSO):
    Create a login system to allow Kaia users to log in to third-party websites with their Kaia DID, similar to how they would with an email or Facebook account.
zxstim commented 4 weeks ago

Ok but i need you to be precise on what's the deliverable for this proposal.

The reason why is so the proposal is small enough that matches with the compensation (max 2500 KLAY per submission)

per your response, it seems to be a large system.

sidelaw commented 3 weeks ago

Understood. These are two different systems that work together and I have broken it down so they each fit under the max submission requirement.

Deliverable 1: DID Creation Method and Interface

Objective: Develop a method for users to register a decentralized identity on the KAIA network.

Description: Users access the platform, scan their face using their device's camera, and enter their desired username. The system processes the facial data to create a biometric profile, verifying against existing users. Once verified, users choose a unique username linked to the biometric profile stored securely on their device.

Completion: Users can successfully create and register their KAIA IDs via the platform's interface.

Deliverable 2: DID Wallet

Tasks: Build a wallet for users to store their generated DID and verifiable credentials (VC).

Key Features:

Completion Criteria: A functional wallet is available for users to store and manage their KAIA DIDs and verifiable credentials.

zxstim commented 3 weeks ago

Ok, approved to proceed. Revert back with your proof of concept