Dock provides a Substrate node and a Javascript SDK. Dock's mainnet provides support for:
  1. 1.
    Decentralized Identity (DID) in compliance with W3C
  2. 2.
    Verifiable Credentials in compliance with W3C
  3. 3.
    Credential schema using the JSON schema standard
  4. 4.
    Revocation registries to facilitate credential revocation
  5. 5.
    Proof of existence anchors

Connecting to the networks

To use the SDK either run a node locally by cloning it from Github or connect to the testnet's Websocket RPC endpoint. To connect to the mainnet, the Websocket RCP endpoint is wss:// The custom types for the chain can be found in the SDK repo here or the node repo here and need to be provided if using polkadot-js directly. The SDK by default uses these types. Also when using polkadot-js directly, try to keep the version the same as the SDK, it can be seen in the dependencies in package.json.
The apps UI can be seen here. By default, it connects to the mainnet but you can switch the networks using the switcher from top left corner. The UI can be used to look for blocks by block hash or block number from the search box here. You can also use Subscan for mainnet.
Last modified 1yr ago