digitalbazaar / vc

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

VP proofs being created with "undefined" verificationMethod #147

Open wip-abramson opened 1 year ago

wip-abramson commented 1 year 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.