This is a command-line interface for interacting with the Attest protocol on the Stellar blockchain.
- Create and fetch schemas
- Create, fetch, and revoke attestations
- Register and fetch attestation authorities
npm install -g @attestprotocol/stellar-cli
Create a schema:
attest-stellar schema --action=create --json-file=sample.json --signer-key=<signer-key>
Fetch a schema:
attest-stellar schema --action=fetch --uid=<schema-uid> --signer-key=<signer-key>
Create an attestation:
attest-stellar attestation --action=create --schema-uid=<schema-uid> --json-file=<attestation-data.json> --signer-key=<signer-key>
Fetch an attestation:
attest-stellar attestation --action=fetch --uid=<attestation-uid> --signer-key=<signer-key>
Revoke an attestation:
attest-stellar attestation --action=revoke --uid=<attestation-uid> --signer-key=<signer-key>
Register an authority:
attest-stellar authority --register --signer-key=<signer-key> [--url=<custom-url>]
Fetch an authority:
attest-stellar authority --fetch --signer-key=<signer-key> [--url=<custom-url>]
MIT