From 8f993923a1252d645151e069440b88a369c7de93 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Tue, 4 Mar 2025 21:07:55 -0700 Subject: [PATCH] for test script: add requirements, fix endpoint, and add setup instructions --- requirements.txt | 1 + test-scripts/check-did.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 2c0390a..9b32aa2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +eth_keys pywebview pyinstaller>=6.12.0 # For development diff --git a/test-scripts/check-did.sh b/test-scripts/check-did.sh index f54b82f..c33f2ef 100755 --- a/test-scripts/check-did.sh +++ b/test-scripts/check-did.sh @@ -1,9 +1,10 @@ #!/bin/bash +# Requirements: jq, python, and `pip install -r requirements.txt` # Usage: ./check-did.sh [did] # If no DID provided, lists all visible DIDs -API_URL=${ENDORSER_API_URL:-"https://test-api.endorser.ch/api/whichDidsICanSee"} +API_URL=${ENDORSER_API_URL:-"https://test-api.endorser.ch/api"} ADMIN_DID="did:ethr:0x0000694B58C2cC69658993A90D3840C560f2F51F" ADMIN_KEY="2b6472c026ec2aa2c4235c994a63868fc9212d18b58f6cbfe861b52e71330f5b"