Dock
SDKThe Dock SDK is an opensource library that powers Dock's SaaS API. It provides the credential management, cryptography, and blockchain storage features for Dock's supported credential variants:
Most of the SDK is written in JavaScript / TypeScript with safety-critical code written in Rust. The SDK depends on the Arkworks math library.
Features five packages, such as
@docknetwork/credential-sdk
- An API-agnostic Javascript library for working with Verifiable Credentials, DIDs, Claim Deduction, and more.@docknetwork/dock-blockchain-api
- A Javascript library built with PolkadotJS, for use with the [Dock Substrate Node] (https://github.com/docknetwork/dock-substrate) or our public main/test networks.*@docknetwork/dock-blockchain-modules
- A JavaScript library designed for handling credential SDK elements (DIDS, Accumulators, etc) on the Dock blockchain.@docknetwork/cheqd-blockchain-api
- A Javascript library built atop of @cheqd/sdk
that allows to interact with the Cheqd
blockchain.@docknetwork/cheqd-blockchain-modules
- A JavaScript library created for managing credential SDK components such as DIDs, accumulators etc on the Cheqd blockchain.You are welcome to explore the tutorials and examples to get a basic understanding.
In essence, the architecture is structured as follows:
@docknetwork/credential-sdk
.Dock
and Cheqd
blockchain modules can be found in @docknetwork/dock-blockchain-modules
* and @docknetwork/cheqd-blockchain-modules
, respectively.Dock
and Cheqd
blockchain are available through @docknetwork/dock-blockchain-api
* and @docknetwork/cheqd-blockchain-api
.Some features of the SDK are deprecated and will be removed in a future release: