Files
mDuo13 2112b1e396 Verify Credentials tutorial & sample code (Python)
verify_credential: comment out unused error

Verify credential: implement commandline usage

Add verify creds tutorial

Verify credential: expand example usage

Verify credential: clarify Python version

Verify Credential: add description metadata

Apply suggestions from @maria-robobug review

Co-authored-by: Maria Shodunke <maria-robobug@users.noreply.github.com>

Credential Verification: Add hex example & remove old TODO
2025-03-20 16:52:23 -07:00
..

Verify Credential - Python sample code

Verifies that a specific credential exists on the XRPL and is valid.

Quick install & usage:

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
./verify_credential.py

verify_credential.py can also be used as a commandline utility. Full usage statement:

$ ./verify_credential.py -h
usage: verify_credential.py [-h] [-b] [-n {devnet,testnet,mainnet}]
                            [issuer] [subject] [credential_type]

Verify an XRPL credential

positional arguments:
  issuer                Credential issuer address as base58.
  subject               Credential subject (holder) address as base58.
  credential_type       Credential type as string

options:
  -h, --help            show this help message and exit
  -b, --binary          Use binary (hexadecimal) for credential_type
  -n, --network {devnet,testnet,mainnet}
                        Use the specified network for lookup