Skip to content

Controller URL #2

@cfontana0

Description

@cfontana0

Hello!
Thanks for your hard work on this library, it's awesome.

I'm struggling with the definition of the controller when I want to create a keyPair for the suite

const controller = 'https://example.edu/issuers/565049';
const keyPair = await Ed25519VerificationKey2020.from({
  type: 'Ed25519VerificationKey2020',
  controller,
  id: controller + '#---',
  publicKeyMultibase: '---',
  privateKeyMultibase: '---'
});

const suite = new Ed25519Signature2020({key: keyPair});

So, what are the requirements for that URL? I assume I have to create a REST GET endpoint, but I'm unsure what to deploy there to perform the control action.

This is the current error:

jsonld.InvalidUrl: URL "https://example.edu/issuers/565049" could not be dereferenced: Not Found

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions