verifiable-data
verifiable-data copied to clipboard
Open Source Decentralized Identifiers and Verifiable Credentials Infrastructure and Tooling
Verifiable Data
What is Verifiable Data?
Verifiable Data is the library that powers W3C Decentralized Identifiers & W3C Verifiable Credentials for Transmute.
Table of Contents
-
contexts
- credentials
- did
- security
- revocation list
-
proof keys
- web crypto
-
proof suites
- ed25519 2018
- jws 2020
-
credential suites
- revocation list 2020
- command line interface
- hashlink
- compressable bitstring
- did-web
- jsonld schema
- browser smoke test
Development
Node Version
nvm install 16.14.2
nvm use 16.14.2
npm i [email protected] -g
Install build and run tests for all packages
git clone https://github.com/transmute-industries/verifiable-data.git
cd verifiable-data
npm i
npm t
Lerna Information
It is important for developers working in this repo to understand that lerna
is used to manage and link off the package contained. For more information regarding what lerna
is and why it's used, click here.
Common Lerna Commands
Below is a short list of the lerna commands you will encounter while working in this repo, along with some information on when they should be used.
-
lerna bootstrap
: This command is used to build and link all of the packages in the repo. This command takes a significant amount of time to complete and should be used very conservatively. In your typical development workflow, you should only run this once when starting on a task or after runningnpm install
inside one of the packages. -
lerna link
: This command is used to symlink all of the packages. This command is what you will want to run when working in a package, and you want all of the other packages to include the latest changes. This means you should be using this command very frequently.
IMPORTANT: It is vital when running these commands, that you do not ever exit the commands early. If you do exit early, your environment will become completely broken. Should this happen, you can always get to a fresh working state by running npm run install:clean
. This command will clean out all of your packages, and then rebuild everything with lerna bootstrap
.
License
Apache-2.0 © Transmute Industries Inc.