Skip to content

Commit a4fb6dd

Browse files
committed
chore: added dummy code to add verification method
1 parent df4b5b1 commit a4fb6dd

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

client/test/e2e/transfer.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { publicKeyToDid } from '../../src/lib/solana/util';
1919

2020
const { expect } = chai;
2121
import chaiAsPromised from 'chai-as-promised';
22+
// import { DidSolIdentifier, DidSolService } from "@identity.com/sol-did-client";
2223
chai.use(chaiAsPromised);
2324

2425
// needs to be less than AIRDROP_LAMPORTS
@@ -133,6 +134,10 @@ describe('transfers', function () {
133134

134135
// add the new key and create a cryptid client for device 2
135136
await cryptidForDevice1.addKey(device2Key.publicKey, alias);
137+
// TODO: Challenge: Replace this with a did:sol library call for addKey
138+
// const id = DidSolIdentifier.parse(cryptid.did);
139+
// const service = await DidSolService.build(id);
140+
// service.addVerificationMethod(...);
136141
const cryptidForDevice2 = await build(did, device2Key, {
137142
connection,
138143
waitForConfirmation: true,

0 commit comments

Comments
 (0)