Create a DID-Linked Resource
Create a DID-Linked Resource (DLR) on cheqd using the Credo Agent.
Required Parameters
Field
Required
Description
Example
await agent.modules.cheqd.createResource(
'did:cheqd:testnet:92874297-d824-40ea-8ae5-364a1ec9237d',
{
id: '6de33634-6439-4e46-aa3f-bfe03606b000',
name: 'exampleTrustRegistry',
resourceType: 'TrustRegistry',
version: '1.0',
data: {
name: 'Example Org',
jurisdiction: 'EU',
},
}
)Recommendations
Last updated
Was this helpful?