digitalbazaar / vc

W3C Verifiable Credentials implementation in JavaScript
BSD 3-Clause "New" or "Revised" License
173 stars 50 forks source link

VP proofs being created with "undefined" verificationMethod #147

Open wip-abramson opened 11 months ago

wip-abramson commented 11 months ago

In the Readme example for signing a VP, it is not clear where the verificationMethod - "https://example.edu/issuers/keys/1" comes from.

When I attempt to recreate the example locally using my own did:key for signing, I get an undefined verificationMethod.

Any ideas where I am going wrong here? Is verificationMethod something that should be passed in somehow.