@docknetwork/wallet

This wallet is intended to implement the universl wallet W3C spec for storing credentials, keys, dids and more JSON-LD documents. It comes bundled with some storage interfaces, supports EDVs and is in use by the Dock Wallet app. Check the [examples](./exa

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@docknetwork/wallet
020.2.02 months agoa year agoMinified + gzip package size for @docknetwork/wallet in KB

Readme

Dock Universal Wallet Library
This wallet is intended to implement the universl wallet W3C spec for storing credentials, keys, dids and more JSON-LD documents. It comes bundled with some storage interfaces, supports EDVs and is in use by the Dock Wallet app. Check the examples and tests folders for reference implementations. The library is currently in beta status.
Check out the documentation here
Build and Tests

Features

  • Universal Wallet spec compliant
  • EDV storage over HTTP
  • Local FS storage
  • Expandable storage interface (eg, for react native)
  • Wallets are encrypted at rest
  • Can be used server or client side
  • Can issue credentials straight from the wallet
  • Built in did:key support
  • Helpers for polkadotjs key management

Install or build

  • Run yarn add @docknetwork/wallet or npm install @docknetwork/wallet to install the package from npm
  • When building from source:
- Run `yarn` to install the dependencies
- Run `yarn build` to create a distribution version.

Reference links

  • https://medium.com/transmute-techtalk/encrypted-data-vaults-c794055b170e
  • https://docknetwork.github.io/wallet/reference/

Todos

  • Decouple polkadot libraries