Runnable Java programs that demonstrate how to anchor certificates on Cardano using the UVerify Java SDK.
Each example is a self-contained JBang script. No build system required.
- Java 17+
- JBang
# macOS / Linux (via SDKMan)
sdk install jbang
# macOS (via Homebrew)
brew install jbangStart the local sandbox before running examples against it:
cd ..
uv run sandbox.py startSee the sandbox README for details.
cd diploma
jbang Diploma.javaEach example looks for a wallet.txt file in the working directory.
On first run a fresh 24-word mnemonic is generated, the wallet is funded from
the UVerify testnet faucet, and the phrase is written to wallet.txt.
Subsequent runs restore the same wallet.
Keep wallet.txt private — it holds your private key phrase.
| Directory | Description |
|---|---|
diploma/ |
Batch-issue 3 diplomas for TU Munich graduates |
digital_product_passport/ |
Issue a full EU Digital Product Passport for an EV |
laboratory_report/ |
Issue 2 GDPR-safe lab reports with measured values |
certificate_of_insurance/ |
Issue a Certificate of Insurance with coverage details |
pet_necklace/ |
Lost-pet necklace with privacy-preserving owner data |
product_verification/ |
Product authentication certificate with QR-code URL |
notary/ |
Certify a file, a service agreement, and song lyrics |
document_integrity/ |
Anchor a file hash with a drag-and-drop verifier |
tokenizable_certificate/ |
Issue a certificate redeemable as a CIP-68 NFT pair |
All examples target the Cardano preprod testnet.
Verification deep links open at https://app.preprod.uverify.io/verify/….