Create AnonCreds Schema
Create an AnonCreds Schema as a DID-Linked Resource on cheqd for issuing AnonCreds.
Last updated
Was this helpful?
Create an AnonCreds Schema as a DID-Linked Resource on cheqd for issuing AnonCreds.
Last updated
Was this helpful?
To issue Verifiable Credentials, the issuer will have to first create a Schema and then a Credential Definition.
â ī¸ Before you begin...
Make sure you've correctly configured .
In order to register a schema and credential definition, a DID must be added to the agent first. This can be done by calling agent.dids.create()
, but this does require an endorser DID to be present as the submitterDid
. This is optional, if you have created a DID from the agent before as described .
When you have a registered (or imported) a DID on the network and in your wallet, you can register a schema. Registering a schema requires four fields: issuerId
, name
, version
and attrNames
. It is important to note that the issuerId
must be the same as a DID in your wallet.