Credentials: link issuer and verification tutorials

This commit is contained in:
mDuo13
2025-03-20 16:59:57 -07:00
parent 2112b1e396
commit e91353e599
2 changed files with 12 additions and 4 deletions

View File

@@ -335,4 +335,16 @@ Finally, the `CredentialRequest` class inherits from the `Credential` class but
{% code-snippet file="/_code-samples/issue-credentials/py/credential_model.py" language="py" from="class CredentialRequest(Credential):" /%}
## Next Steps
Using this service as a base, you can extend the service with more features, such as:
- Security/authentication to protect API methods from unauthorized use.
- Actually checking user documents to decide if you should issue a credential.
Alternatively, you can use credentials to for various purposes, such as:
- Define a [Permissioned Domain](/docs/concepts/tokens/decentralized-exchange/permissioned-domains) that uses your credentials to grant access to features on the XRP Ledger.
- [Verify credentials](../compliance/verify-credential.md) manually to grant access to services that exist off-ledger.
{% raw-partial file="/docs/_snippets/common-links.md" /%}

View File

@@ -19,9 +19,7 @@ This tutorial uses sample code in Python using the [xrpl-py library](../index.md
- You must have Python installed and know how to run Python code from the command line. Python 3.8 or later is required for xrpl-py.
- You should have a basic understanding of the XRP Ledger.
- The credential you want to verify should exist in the ledger already, and you should know the addresses of both the issuer and the holder, as well as the official credential type you want to check.
<!-- Uncomment when both are merged:
- For sample code showing how to create credentials, see [Build a Credential Issuing Service](../build-apps/credential-issuing-service.md).
-->
## Setup
@@ -218,8 +216,6 @@ Otherwise, the code exits as normal, which returns a successful exit code of `0`
Now that you know how to use `xrpl-py` to verify credentials, you can try building this or related steps together into a bigger project. For example:
- Incorporate credential verification into a [wallet application](../build-apps/build-a-desktop-wallet-in-python.md).
<!-- Uncomment when both are merged:
- Issue your own credentials with a [credential issuing service](../build-apps/credential-issuing-service.md).
-->
{% raw-partial file="/docs/_snippets/common-links.md" /%}