Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 2.52 KB

File metadata and controls

19 lines (15 loc) · 2.52 KB

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. DID resolver
  3. Verifiable credentials and its API
  4. Schema and its API
  5. Credential revocation
  6. Claim Deduction and its API
  7. PoE anchoring and its API
  8. Complete examples in SDK for various features
  9. Another useful place is the SDK tests
  10. API reference
  11. 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.
  12. For offline signing of transactions, see here.