@leordev-web5/api
Version:
SDK for accessing the features and capabilities of Web5
24 lines (21 loc) • 495 B
text/typescript
import type { Web5Agent } from '@web5/agent';
/**
* The VC API is used to issue, present and verify VCs
*
* @beta
*/
export class VcApi {
private agent: Web5Agent;
private connectedDid: string;
constructor(options: { agent: Web5Agent, connectedDid: string }) {
this.agent = options.agent;
this.connectedDid = options.connectedDid;
}
/**
* Issues a VC (Not implemented yet)
*/
async create() {
// TODO: implement
throw new Error('Not implemented.');
}
}