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:
Verifiable credentials and its API
Claim Deduction and its API
PoE anchoring and its API
Complete examples in SDK for various features
Another useful place is the SDK tests
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