Blockchain SDK

The Dock SDK is an open-source Javascript package hosted on Github and npm that lets developers do CRUD operations for W3C DIDs and revocation registries, create credential Schemas, issue W3C compliant verifiable credentials and verify them. To start using the SDK check here. The SDK documentation is broadly divided into conceptual documentation and tutorials for getting hands-on.

Some useful references:

  1. DID concepts and the corresponding SDK API.

  2. Schema and its API

  3. Complete examples in SDK for various features

  4. Another useful place is the SDK tests

  5. To see how to do basic operations like generate addresses, validate addresses, check balance, do token transfer, get block by hash or number, etc, see this example script. The script uses functions defined here.

Last updated