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
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
ornpm 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.
- Run
Reference links
- https://medium.com/transmute-techtalk/encrypted-data-vaults-c794055b170e
- https://docknetwork.github.io/wallet/reference/
Todos
- Decouple polkadot libraries