Comprehensive example demonstrating combined ACK-ID and ACK-Pay protocol flows.
This End-to-End (E2E) demo showcases the integration and seamless interaction between ACK’s core protocols:
Through this interactive command-line demo, you’ll observe a realistic flow demonstrating secure agent identity verification alongside automated, verifiable payment transactions.
Before running this demo, please complete the setup steps from the Quickstart Guide.
You can run the E2E demo using the following command from the repository root:
Alternatively, navigate directly into the demo directory (./demos/e2e
) and run:
The demo walks you through a scenario where:
Agent Initialization
Agents (Client and Server) and their respective owners initialize their identities using ACK-ID standards (Decentralized Identifiers and Verifiable Credentials).
Identity Verification
Client Agent and Server Agent verify each other’s identities securely and efficiently before initiating transactions (utilizing ACK-ID).
Payment Request
Server Agent requires payment from the Client Agent (utilizing ACK-Pay), issuing a formal Payment Request specifying acceptable payment methods.
Payment Execution
Client Agent completes the payment transaction, showcasing automated payment verification.
Receipt Issuance and Verification
Upon successful payment, a receipt Service issues a cryptographically verifiable receipt.
Resource Access
Using the receipt, the Client Agent successfully accesses the requested resource from the Server Agent.