Overview

This End-to-End (E2E) demo showcases the integration and seamless interaction between ACK’s core protocols:

  • ACK-ID (Identity Management)
  • ACK-Pay (Payment Processing)

Through this interactive command-line demo, you’ll observe a realistic flow demonstrating secure agent identity verification alongside automated, verifiable payment transactions.

Getting Started

Before running this demo, please complete the setup steps from the Quickstart Guide.

Running the Demo

You can run the E2E demo using the following command from the repository root:

pnpm demo:e2e

Alternatively, navigate directly into the demo directory (./demos/e2e) and run:

pnpm start

Demo Overview

The demo walks you through a scenario where:

1

Agent Initialization

Agents (Client and Server) and their respective owners initialize their identities using ACK-ID standards (Decentralized Identifiers and Verifiable Credentials).

2

Identity Verification

Client Agent and Server Agent verify each other’s identities securely and efficiently before initiating transactions (utilizing ACK-ID).

3

Payment Request

Server Agent requires payment from the Client Agent (utilizing ACK-Pay), issuing a formal Payment Request specifying acceptable payment methods.

4

Payment Execution

Client Agent completes the payment transaction, showcasing automated payment verification.

5

Receipt Issuance and Verification

Upon successful payment, a receipt Service issues a cryptographically verifiable receipt.

6

Resource Access

Using the receipt, the Client Agent successfully accesses the requested resource from the Server Agent.

Key Components Demonstrated

  • Integrated Identity Verification (ACK-ID)
  • Payment Initiation, Processing, and Receipt Verification (ACK-Pay)
  • Secure Agent-to-Agent interaction with cryptographic validation

Further Exploration