hypersign-protocol / whitepaper

2 stars 0 forks source link

InterChain standard (ICS) spec for DID #31

Open Vishwas1 opened 2 years ago

Vishwas1 commented 2 years ago

Pre-requisite

Basic of IBC #11

Objective: Write ICS spec for DID transfer over IBC

Example Specs:

Vishwas1 commented 2 years ago

DID on IBC related discussion: https://github.com/cosmos/cosmos-sdk/discussions/8431

If each authentication scheme is implemented in a different way, then IBC applications that need to process an "authorizing party" before sending the IBC packet will have to explicitly enable each authentication scheme.

Instead a uniform authentication layer that sits between specific authentication schemes and their end applications will provide a uniform interface across which entities can authenticate interactions with IBC applications

Instead a uniform authentication layer that sits between specific authentication schemes and their end applications will provide a uniform interface across which entities can authenticate interactions with IBC applications

The DID document for an internet user might include their public keys and which public key should be used for which interaction. Perhaps the DID document specifies an ED25519 PublicKey for authenticating web log-ins, and a JsonWebKey2020 for negotiating secret keys for communication. The (DID, DID Document) pair is maintained on a public ledger and allows the DID document to be updated, allowing other parties to authenticate interactions from the DID subject even as public keys are rotated.

simple flow

Vishwas1 commented 2 years ago

Discussion on Interchain identifiers: https://github.com/cosmos/cosmos-sdk/discussions/9337

Vishwas1 commented 2 years ago

IBC/APP : Application layer packet semantics

https://github.com/cosmos/ibc/tree/master/spec/ics-001-ics-standard

Example:

  1. Token tansfer: send tokens to another chain
  2. Cross-chain account transfer: delegate control of account to another chain
  3. Interchain code relocation
Vishwas1 commented 2 years ago

What Ethereum community is doing for on chain credential verification

Please see the the following threads

44

45

50

Vishwas1 commented 2 years ago

IBC Spec (in draft) to query data from another chain

@AbhijitSinha1 shared by Charley

This documents aims to document the structure, plan and implementation of the Interchain Queries Module allowing for cross-chain querying of state from IBC enabled chains.

https://github.com/cosmos/ibc/pull/647/files

Vishwas1 commented 2 years ago

Concept of query