bedrock-web-local-vc-store

3.0.1 • Public • Published

Bedrock Local Verifiable Credentials Store (bedrock-web-local-vc-store)

A Javascript library for locally storing Verifiable Credentials for Bedrock web apps

Table of Contents

Background

TBD

See also (related specs):

Install

  • Node.js 12+ is required.

NPM

To install via NPM:

npm install bedrock-web-local-vc-store

Development

To install locally (for development):

git clone https://github.com/digitalbazaar/bedrock-web-local-vc-store.git
cd bedrock-web-local-vc-store
npm install

Usage

import {LocalVerifiableCredentialStore} from 'bedrock-web-local-vc-store';

const dbName = 'example-db';
const localVcStore = new LocalVerifiableCredentialStore({dbName});

await localVcStore.insert({credential, meta});

Contribute

See the contribute file!

PRs accepted.

If editing the Readme, please conform to the standard-readme specification.

Commercial Support

Commercial support for this library is available upon request from Digital Bazaar: support@digitalbazaar.com

License

Bedrock Non-Commercial License v1.0 © Digital Bazaar

Package Sidebar

Install

npm i bedrock-web-local-vc-store

Weekly Downloads

1

Version

3.0.1

License

none

Unpacked Size

15.7 kB

Total Files

7

Last publish

Collaborators

  • msporny
  • dlongley
  • davidlehn
  • mattcollier
  • gannan