Overview
This example demonstrates an ACK-ID and ACK-Pay Verifiable Credential issuer API built with Hono. The API supports issuing, verifying, and revoking two primary credential types:ControllerCredential
: proves ownership of DIDs (part of ACK-ID).PaymentReceiptCredential
: provides proof of payment meeting a Payment Request (part of ACK-Pay).
Installation and Setup
Install dependencies and prepare your environment. From within the issuer example directory (e.g., from project root:./examples/issuer
) execute the setup:
Running the Server
Start the API server locally:API Endpoints
Authentication
All endpoints require a signed payload (JWT) proving DID ownership. During local development, include theX-Payload-Issuer
header with a resolvable DID-URI to bypass signature verification.