@edycutjong/visor-cli
v1.1.0
Published
Visor Command Line Interface
Readme
Visor CLI (@edycutjong/visor-cli)
Developer command-line interface for the Visor privacy-blind submission gateway. It implements options to register templates, submit encrypted payloads, cryptographically verify receipts, and run local performance benchmarks.
Commands
register-template
visor register-template \
--id clinic-intake \
--schema ./data/fixtures/clinic-schema.json \
--host clinic.sandbox.testRegisters an egress payload template defining placeholder mappings.
submit
visor submit \
--did did:t3n:maria123 \
--template clinic-intake \
--payload ./data/fixtures/maria-data.json \
--limit-proof ./data/fixtures/maria-proof.jsonRuns the client pipeline: ECIES-encrypts raw data, builds Groth16 commitments, and triggers the blind-submit outbox webhook. Saves the signed VC receipt.
verify-receipt
visor verify-receipt --file ./receipts/submission-1.jsonVerifies the ECDSA signature of an issued Verifiable Credential receipt.
bench
visor bench --runs 50Runs local latency benchmarks against the coordinator API.
Development
# Install dependencies
npm install
# Build CLI package
npm run build