-
Notifications
You must be signed in to change notification settings - Fork 1
Fix/remove w3c cli readme #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,46 +1,46 @@ | ||||||
| # TrustVC W3C | ||||||
|
|
||||||
| ## About | ||||||
|
|
||||||
| A wrapper lib build for TrustVC to work with W3C [Verifiable Credentials](https://www.w3.org/TR/vc-data-model/) (VCs) Data Model v1.1. Provides packages to facilitate the creation of [Decentralized Identifiers](https://www.w3.org/TR/did-core/) (DIDs) v1, specifically [`did:web`](https://w3c-ccg.github.io/did-method-web/), and [Verifiable Credentials Status](https://www.w3.org/TR/2023/WD-vc-status-list-20230427/) Status List v2021. | ||||||
|
|
||||||
| ## Packages | ||||||
|
|
||||||
| For more details on each packages, refer to the individual README doc. | ||||||
|
|
||||||
| | Packages | npm | | ||||||
| | --- | --- | | ||||||
| | [@trustvc/w3c](https://github.com/TrustVC/w3c/tree/main/packages/w3c) | [npm](https://www.npmjs.com/package/@trustvc/w3c) | | ||||||
| | [@trustvc/w3c-context](https://github.com/TrustVC/w3c/tree/main/packages/w3c-context) | [npm](https://www.npmjs.com/package/@trustvc/w3c-context) | | ||||||
| | Packages | npm | | ||||||
| | --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- | | ||||||
| | [@trustvc/w3c](https://github.com/TrustVC/w3c/tree/main/packages/w3c) | [npm](https://www.npmjs.com/package/@trustvc/w3c) | | ||||||
| | [@trustvc/w3c-context](https://github.com/TrustVC/w3c/tree/main/packages/w3c-context) | [npm](https://www.npmjs.com/package/@trustvc/w3c-context) | | ||||||
| | [@trustvc/w3c-credential-status](https://github.com/TrustVC/w3c/tree/main/packages/w3c-credential-status) | [npm](https://www.npmjs.com/package/@trustvc/w3c-credential-status) | | ||||||
| | [@trustvc/w3c-issuer](https://github.com/TrustVC/w3c/tree/main/packages/w3c-issuer) | [npm](https://www.npmjs.com/package/@trustvc/w3c-issuer) | | ||||||
| | [@trustvc/w3c-vc](https://github.com/TrustVC/w3c/tree/main/packages/w3c-vc) | [npm](https://www.npmjs.com/package/@trustvc/w3c-vc) | | ||||||
|
|
||||||
| ## Tools | ||||||
| | Apps | Link | | ||||||
| | --- | --- | | ||||||
| | [@trustvc/w3c-cli](https://github.com/TrustVC/w3c/tree/main/apps/w3c-cli) | [npm](https://www.npmjs.com/package/@trustvc/w3c-cli) | | ||||||
| | [@trustvc/w3c-issuer](https://github.com/TrustVC/w3c/tree/main/packages/w3c-issuer) | [npm](https://www.npmjs.com/package/@trustvc/w3c-issuer) | | ||||||
| | [@trustvc/w3c-vc](https://github.com/TrustVC/w3c/tree/main/packages/w3c-vc) | [npm](https://www.npmjs.com/package/@trustvc/w3c-vc) | | ||||||
|
|
||||||
| ## Getting Started | ||||||
| ## Getting Started | ||||||
|
|
||||||
| 1. **Pre Requisite** | ||||||
| 1. Generate a signature specific key pair. [link](https://github.com/TrustVC/w3c/tree/main/packages/w3c-issuer#1-create-private-key) | ||||||
| 2. Generate and host a DID web identity. [link](https://github.com/TrustVC/w3c/tree/main/packages/w3c-issuer#2-generate-did-key-pair-and-did-document) | ||||||
|
|
||||||
| 1. Generate a signature specific key pair. [link](https://github.com/TrustVC/w3c/tree/main/packages/w3c-issuer#1-create-private-key) | ||||||
| 2. Generate and host a DID web identity. [link](https://github.com/TrustVC/w3c/tree/main/packages/w3c-issuer#2-generate-did-key-pair-and-did-document) | ||||||
|
|
||||||
| 2. **Sign and Verify VC** | ||||||
| 1. Sign | ||||||
| 1. Prepare and Sign the VC payload. [link](https://github.com/TrustVC/w3c/tree/main/packages/w3c-vc#1-signing-a-credential) | ||||||
| 2. Verify | ||||||
| 1. Verify the signed VC. [link](https://github.com/TrustVC/w3c/tree/main/packages/w3c-vc#2-verifying-a-credential) | ||||||
|
|
||||||
| 1. Sign | ||||||
| 1. Prepare and Sign the VC payload. [link](https://github.com/TrustVC/w3c/tree/main/packages/w3c-vc#1-signing-a-credential) | ||||||
| 2. Verify | ||||||
| 1. Verify the signed VC. [link](https://github.com/TrustVC/w3c/tree/main/packages/w3c-vc#2-verifying-a-credential) | ||||||
|
|
||||||
| 3. **Sign and Verify VC with Credential Status** | ||||||
| 1. Generate Credential Status | ||||||
| 1. Prepare and Sign the payload for Credential Status. [link](https://github.com/TrustVC/w3c/tree/main/packages/w3c-credential-status#w3c-credential-status) | ||||||
| 2. Sign | ||||||
| 1. Prepare and Sign the VC payload. [link](https://github.com/TrustVC/w3c/tree/main/packages/w3c-vc#1-signing-a-credential) | ||||||
| 3. Verify | ||||||
| 1. Verify the signed VC. [link](https://github.com/TrustVC/w3c/tree/main/packages/w3c-vc#2-verifying-a-credential) | ||||||
| 2. Verify the credentialStatus [link]() | ||||||
| 1. Generate Credential Status | ||||||
| 1. Prepare and Sign the payload for Credential Status. [link](https://github.com/TrustVC/w3c/tree/main/packages/w3c-credential-status#w3c-credential-status) | ||||||
| 2. Sign | ||||||
| 1. Prepare and Sign the VC payload. [link](https://github.com/TrustVC/w3c/tree/main/packages/w3c-vc#1-signing-a-credential) | ||||||
| 3. Verify | ||||||
| 1. Verify the signed VC. [link](https://github.com/TrustVC/w3c/tree/main/packages/w3c-vc#2-verifying-a-credential) | ||||||
| 2. Verify the credentialStatus [link]() | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix the empty link placeholder. Line 40 contains an incomplete empty link 🔎 Proposed fix- 2. Verify the credentialStatus [link]()
+ 2. Verify the credentialStatus. [link](https://github.com/TrustVC/w3c/tree/main/packages/w3c-credential-status#verify-credential-status)If the URL is unknown, consider removing this bullet point and adding it in a follow-up issue. 📝 Committable suggestion
Suggested change
🧰 Tools🪛 markdownlint-cli2 (0.18.1)40-40: No empty links (MD042, no-empty-links) 40-40: Link text should be descriptive (MD059, descriptive-link-text) 🤖 Prompt for AI Agents |
||||||
|
|
||||||
| ## Running the code | ||||||
|
|
||||||
| ``` | ||||||
| npm install | ||||||
| npm run build | ||||||
|
|
||||||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace generic link text with descriptive alternatives.
Always use descriptive, meaningful text that clearly indicates the link destination. Avoid generic phrases that provide no context about where the link leads. Generic
[link]text violates accessibility standards and limits SEO effectiveness.Replace each generic link with descriptive text based on the surrounding context:
🔎 Proposed fix for all non-descriptive links
This approach embeds the action verbs directly in the link text, improving both readability and accessibility.
Also applies to: 29-29, 31-31, 35-35, 37-37, 39-39
🧰 Tools
🪛 LanguageTool
[grammar] ~23-~23: Use a hyphen to join words.
Context: ... Requisite** 1. Generate a signature specific key pair. [link](https://github...
(QB_NEW_EN_HYPHEN)
🪛 markdownlint-cli2 (0.18.1)
23-23: Link text should be descriptive
(MD059, descriptive-link-text)
24-24: Link text should be descriptive
(MD059, descriptive-link-text)
🤖 Prompt for AI Agents