Browse Source

for test script: add requirements, fix endpoint, and add setup instructions

pull/127/head
Trent Larson 1 week ago
parent
commit
8f993923a1
  1. 1
      requirements.txt
  2. 3
      test-scripts/check-did.sh

1
requirements.txt

@ -1,3 +1,4 @@
eth_keys
pywebview pywebview
pyinstaller>=6.12.0 pyinstaller>=6.12.0
# For development # For development

3
test-scripts/check-did.sh

@ -1,9 +1,10 @@
#!/bin/bash #!/bin/bash
# Requirements: jq, python, and `pip install -r requirements.txt`
# Usage: ./check-did.sh [did] # Usage: ./check-did.sh [did]
# If no DID provided, lists all visible DIDs # 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_DID="did:ethr:0x0000694B58C2cC69658993A90D3840C560f2F51F"
ADMIN_KEY="2b6472c026ec2aa2c4235c994a63868fc9212d18b58f6cbfe861b52e71330f5b" ADMIN_KEY="2b6472c026ec2aa2c4235c994a63868fc9212d18b58f6cbfe861b52e71330f5b"

Loading…
Cancel
Save