-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
veracity works well with piping results into the verify-included command. When working with local files, it just requires cat file.json | veracity verify-included
To create independent, composable commands, I suggest we enable passing an existing file to the veracity command
Desired Output:
curl -sL $DATATRAILS_URL/archivist/v2/$EVENT_ID > event.json
# Show the local results
cat event.json | jq
#verify inclusion w/ith veracity
cat event.json | \
veracity --data-url $DATATRAILS_URL/verifiabledata \
--tenant=$PUBLIC_TENANT_ID \
--loglevel=INFO \
verify-included \
./event.json
Metadata
Metadata
Assignees
Labels
No labels