7.0.1 • Published 10 months ago

@dcx-protocol/root v7.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 months ago

Decentralized Credential Exchange (DCX)

codecov

DCX is a new Decentralized Web Node (DWN) protocol that securely and privately facilitates the decentralized exchange of a user's verifiable credentials for different verifiable credential. The npm package implements each side of the protocol along with a common library and a server.

As an open, permissionless, "credentials in, credentials out" server, DCX as like a asynchronous web server. It leverages Decentralized Identity primitives via TBD's Web5 platform. Primitives leveraged by DCX include DIDs, VCs, DWNs and Presentation Exchange, which includes Credential Manifests, Credential Applications, Credential Responses and Verifiable Presentations (VPs). The concept is to facilitate a decentralized exchange of credentials via DWN records. DCX actors (applicants and issuers) perform CRUD operations on their own and the counterparty's DWNs to communicate. These records server as a form of request/response model but in a completely asynchronous manner. The DWNs involved are always-online servers that sync to the client on an interval. In this way, a user can submit an application to the issuer's DWN, go offline for hours and come back online to find a response to that application from the issuer in their DWN. DWN protocols outline who can do what to which records. The records involved with DCX include: application, manifest, response and invoice. These record schemas represent the structure of the messages sent between the actors' DWNs. Records include all the details needed to achieve this exchange including information about the applicant, what VCs are required from the applicant as inputs to the issuer, what VCs the issuer will respond with to the applicant and the structure of applications, responses and invoices.

To learn more about the components of DCX and the underlying primitives its built on, check out /docs/learn/README.md.

To learn more about the architecture and sequences of the DCX system, check out /docs/diagrams/README.md.

To learn how to use DCX in your own project, check out /docs/usage/README.md.

Package Versions

packagenpmissuesprs
@dcx-protocol/rootNPM PackageOpen IssuesOpen PRs
@dcx-protocol/applicantNPM PackageOpen IssuesOpen PRs
@dcx-protocol/commonNPM PackageOpen IssuesOpen PRs
@dcx-protocol/issuerNPM PackageOpen IssuesOpen PRs
@dcx-protocol/serverNPM PackageOpen IssuesOpen PRs

Project Resources

ResourceDescription
CODEOWNERSOutlines the project lead(s)
CODE_OF_CONDUCT.mdExpected behavior for project contributors, promoting a welcoming environment
CONTRIBUTING.mdDeveloper guide to build, test, run, access CI, chat, discuss, file issues
GOVERNANCE.mdProject governance
LICENSEApache License 2.0
7.0.0

10 months ago

7.0.1

10 months ago

5.0.1

11 months ago

3.1.1

11 months ago

1.2.0

11 months ago

1.1.0

11 months ago

0.8.0

11 months ago

0.7.0

11 months ago

0.6.0

11 months ago

5.0.0

11 months ago

4.1.0

11 months ago

4.0.0

11 months ago

3.0.2

11 months ago

3.0.0

11 months ago

1.0.0

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago

0.0.10

11 months ago

0.0.9

11 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago