Closed sahil-khanna closed 3 years ago
I want to make the Xamarin Edge Agent an Issuer so that it can create Schema and Issue Credentials. Can anyone guide me on the process, please?
If I try to create a Schema using the below code, I get the error Ledger operation rejected
string schemaId = await SchemaService.CreateSchemaAsync(AgentContext, provisioningRecord.IssuerDid, "Template Name", "1.0", new[] { "Full Name", "Address"});
A few points worth noting
ProvisioningService
await provisioningService.GetProvisioningAsync(agentContext.Wallet)
IssuerDid
Endorser
I was using the NuGet version 1.5.2 earlier. The moment I updated to version 1.6.1, it started working. Now, the Edge Agent is able to register schema and issue credentials
I want to make the Xamarin Edge Agent an Issuer so that it can create Schema and Issue Credentials. Can anyone guide me on the process, please?
If I try to create a Schema using the below code, I get the error Ledger operation rejected
A few points worth noting
ProvisioningService
IssuerDid
of the Edge Agent is assigned the role of anEndorser
on the Ledger. There is an entry for that on the Ledger.