Skip to content

Commit

Permalink
disable indy
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <timo@animo.id>
  • Loading branch information
TimoGlastra committed Jan 12, 2024
1 parent 318f5cf commit a3e4116
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
3 changes: 2 additions & 1 deletion agent/src/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ export const agent = new Agent({
{"reqSignature":{},"txn":{"data":{"data":{"alias":"cysecure-itn","blskey":"GdCvMLkkBYevRFi93b6qaj9G2u1W6Vnbg8QhRD1chhrWR8vRE8x9x7KXVeUBPFf6yW5qq2JCfA2frc8SGni2RwjtTagezfwAwnorLhVJqS5ZxTi4pgcw6smebnt4zWVhTkh6ugDHEypHwNQBcw5WhBZcEJKgNbyVLnHok9ob6cfr3u","blskey_pop":"RbH9mY7M5p3UB3oj4sT1skYwMkxjoUnja8eTYfcm83VcNbxC9zR9pCiRhk4q1dJT3wkDBPGNKnk2p83vaJYLcgMuJtzoWoJAWAxjb3Mcq8Agf6cgQpBuzBq2uCzFPuQCAhDS4Kv9iwA6FsRnfvoeFTs1hhgSJVxQzDWMVTVAD9uCqu","client_ip":"35.169.19.171","client_port":"9702","node_ip":"54.225.56.21","node_port":"9701","services":["VALIDATOR"]},"dest":"4ETBDmHzx8iDQB6Xygmo9nNXtMgq9f6hxGArNhQ6Hh3u"},"metadata":{"from":"uSXXXEdBicPHMMhr3ddNF"},"type":"0"},"txnMetadata":{"seqNo":7,"txnId":"3c21718b07806b2f193b35953dda5b68b288efd551dce4467ce890703d5ba549"},"ver":"1"}`,
indyNamespace: "indicio:testnet",
isProduction: false,
connectOnStartup: true,
// FIXME: indy not fully working yet
connectOnStartup: false,
transactionAuthorAgreement: {
acceptanceMechanism: "for_session",
version: "1.0",
Expand Down
19 changes: 10 additions & 9 deletions agent/src/did/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,16 @@ export async function setupAllDids() {
availableDids.push(await getDidForMethod("cheqd"));
}

if (DID_INDY_INDICIO_TESTNET_PUBLIC_DID_SEED) {
if (!(await hasDidForMethod("indy"))) {
await importIndyDid(
"indicio:testnet",
DID_INDY_INDICIO_TESTNET_PUBLIC_DID_SEED
);
}
availableDids.push(await getDidForMethod("indy"));
}
// FIXME: indy not fully working yet
// if (DID_INDY_INDICIO_TESTNET_PUBLIC_DID_SEED) {
// if (!(await hasDidForMethod("indy"))) {
// await importIndyDid(
// "indicio:testnet",
// DID_INDY_INDICIO_TESTNET_PUBLIC_DID_SEED
// );
// }
// availableDids.push(await getDidForMethod("indy"));
// }
}

export function getAvailableDids() {
Expand Down

0 comments on commit a3e4116

Please sign in to comment.