The spec repository for the Hiero AnonCreds Method that describes management of AnonCreds resources on Hedera Consensus Service (HCS).
Read the spec: https://dsrcorporation.github.io/hedera-anoncreds-method/
Available implementations of Hiero AnonCreds:
- TypeScript: Hiero DID SDK JS
- Python: Hiero DID SDK Python
The specification uses Spec-Up format. For details on Spec-Up features and functionality please see Spec-Up Documentation.
The Hiero AnonCreds Method specification defines how AnonCreds objects should be registered (written) and resolved when rooting them in a Hedera DID. This specification parallels other DID-specific AnonCreds methods that are registered in the AnonCreds Methods Registry.
The specification leverages HCS-1 standard for storing immutable files on Hedera Consensus Service (HCS). All the published AnonCreds objects except for RevRegEntry are treated as HCS-1 files in this AnonCreds method (Schema, CredDef, RevRegDef).
For details about Hedera DIDs and how to write/read them, please see Hedera DID Method specification.
Pull requests (PRs) to this repository may be accepted. Each commit of a PR must have a DCO (Developer Certificate of Origin -https://github.com/apps/dco) sign-off.
Editing the spec locally requires npm and node installed.
- Fork and locally clone the repository
- Run
npm installfrom the repository root - Edit the spec contents in the
/specfolder - Run
npm run render- Alternatively, you can use
npm run editto enable interactive editing (rendered spec will be updated automatically as you apply changes)
- Alternatively, you can use
- Open the resulting
index.htmlfile in a browser