Verifiable Data is the library that powers W3C Decentralized Identifiers & W3C Verifiable Credentials for Transmute.
- contexts
- proof keys
- proof suites
- credential suites
- command line interface
- hashlink
- compressable bitstring
- did-web
- jsonld schema
- browser smoke test
Node Version
nvm install 16.14.2
nvm use 16.14.2
npm i npm@8.5.0 -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
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.
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
.
Apache-2.0 © Transmute Industries Inc.