|
@ -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" |
|
|
|
|
|
|
|
|