File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import { publicKeyToDid } from '../../src/lib/solana/util';
1919
2020const { expect } = chai ;
2121import chaiAsPromised from 'chai-as-promised' ;
22+ // import { DidSolIdentifier, DidSolService } from "@identity.com/sol-did-client";
2223chai . 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 ,
You can’t perform that action at this time.
0 commit comments