What is an on-ledger Resource?

cheqd has built an On-Ledger Resources Module to extend the functionality of our decentralised identity network, providing capabilities not found on other self-sovereign identity networks.
A Resource is a blob of information stored on-ledger, discoverable through the same Decentralized Identifier (DIDs) syntax that is widely used within the SSI industry.

What issues do on-ledger Resources solve?


Many SSI resources such as schemas currently reference web URLs such as Other areas where this can be issues are:
If, for example, any of the infrastructure listed above was to experience downtime due to technical faults, a dDoS attack or a failure of a cloud hosting provider, this could hugely disrupt the proper use of Verifiable Credentials in a production environment.
Such web URLs as described above are also single-points of failure due to link rot.
Credential schemas, once defined, should be able to be used and referenced for many years, without being changed. For this reason, keeping an up-to-date version of the links themselves is crucial. Moreover, if the schema locations are moved and the links are broken, the Credentials issued become far less trustworthy.

Semantic Linkage

The way schemas are currently referenced from web URLs (e.g., is not immutable. Schemas may be changed and previous schema definitions may be purged from the database. This means if you had a Verifiable Credential issued in 2015 which referred to a particular schema in 2022, that schema definition may have significantly changed.
On the other hand, solutions that do currently store schemas on ledger (e.g., Hyperledger Indy) don't have semantic linkage between old and new versions. In this instance, current ledgers allow new versions to be made but don't offer an easy way for client apps to discover linkages as they evolve over time.

Use cases for on-ledger Resources

The use of Resources is potentially very broad; they can provide many different roles, such as:
Through extending the use of DIDs to identify other on-ledger resources, trust can begin to be chained.

New use cases enabled by Resources on-ledger

Quick wins
Longer term strategic objectives
SSI Community
Create a much more secure, resilient and decentralised format for storing schemas than
Lay the technical foundations for supporting AnonCreds compatible Verifiable Credentials on cheqd, in addition to support for JSON and JSON-LD
Web 3.0 community
Extend the Trust over IP Resource Parameter Specification, enabling DIDs to act as #Web3 hyperlinks for any on (or off) ledger URL, Resource, file, or content
Enable Web3 Companies to use on-ledger Resources to fetch company information (such as logos, token info, relevant token APIs) to populate Block Explorers and Exchanges, rather than through Keybase or manual processes.
You can think of it as a hyperlink for #Web3. But unlike a hyperlink, it is possible to specify the type of resource to be retrieved, and reject anything unexpected.

Schemas using on-ledger Resources

JSON/JSON-LD Credential schemas are often referenced using This enables different types of Credential schemas to be specifically defined, whilst often slotting into pre-defined contexts.
This allows for healthy interoperability since it pushes issuers of Credentials towards the use of commonly understood and publicly searchable schemas.