From b6f6065ec9d448a69d09a0fa2dcb15d63554ee81 Mon Sep 17 00:00:00 2001
From: Alexey Lunin <alexey.lunin@vereign.com>
Date: Thu, 22 Jun 2023 07:30:43 +0300
Subject: [PATCH] update envs

---
 compose/env/holder.env                                 | 2 +-
 compose/env/issuer.env                                 | 2 +-
 libs/ledgers/src/didgram-test/didgram-test.provider.ts | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/compose/env/holder.env b/compose/env/holder.env
index c395fb46..8b6fe454 100644
--- a/compose/env/holder.env
+++ b/compose/env/holder.env
@@ -1,7 +1,7 @@
 LEDGERS="BCOVRIN_TEST"
 IDUNION_KEY=
 
-AGENT_PEER_URL="http://agent-holder:6001"
+AGENT_PEER_URL="http://new.didgram.pro:6001"
 AGENT_NAME=DEV_AGENT_HOLDER_OCM_4 # this should be changed to company name
 AGENT_KEY=DEV_AGENT_HOLDER_OCM_4 #example random string
 AGENT_DID_SEED=2000000000000000CCA120000000TCuste21jsjs #did private key seed min lenght 32
diff --git a/compose/env/issuer.env b/compose/env/issuer.env
index d3774abd..4bb480b2 100644
--- a/compose/env/issuer.env
+++ b/compose/env/issuer.env
@@ -1,7 +1,7 @@
 LEDGERS="BCOVRIN_TEST"
 IDUNION_KEY=
 
-AGENT_PEER_URL="http://agent-issuer:8001"
+AGENT_PEER_URL="http://new.didgram.pro:8001"
 AGENT_NAME=DEV_AGENT_ISSUER_OCM_4 # this should be changed to company name
 AGENT_KEY=DEV_AGENT_ISSUER_OCM_4 #example random string
 AGENT_DID_SEED=20000000000000000000000aca0xxaDTCuste21udhasjs #did private key seed min lenght 32
diff --git a/libs/ledgers/src/didgram-test/didgram-test.provider.ts b/libs/ledgers/src/didgram-test/didgram-test.provider.ts
index 30d12de7..39da899b 100644
--- a/libs/ledgers/src/didgram-test/didgram-test.provider.ts
+++ b/libs/ledgers/src/didgram-test/didgram-test.provider.ts
@@ -20,7 +20,7 @@ export class DidgramTestProvider implements IRegistrator {
     unqualifiedIndyDid: string,
     verkey: string,
   ): Promise<string> => {
-    const did = `did:indy:${unqualifiedIndyDid}`;
+    const did = `did:indy:didgram:test:${unqualifiedIndyDid}`;
 
     this.logger.log(`Trying to register ${did} to didram test`);
     try {
@@ -46,7 +46,7 @@ export class DidgramTestProvider implements IRegistrator {
   getNetworkConf = (): IndyVdrPoolConfig => {
     return {
       genesisTransactions: genesisFile,
-      indyNamespace: "",
+      indyNamespace: "didgram:test",
       isProduction: false,
       connectOnStartup: true,
     };
-- 
GitLab