AvaCloud UI Kit
Examples

Example app

PrivatePay

PrivatePay is a lightweight demo for private merchant payment requests on Avalanche Fuji. Use it when you want to see how AvaCloud UI Kit and eERC flows can power a simple end-to-end payment request app without adding backend infrastructure.

Merchant paymentsFuji + eERCBackendless demo

App model

Frontend-only demo

State lives in local storage and payment confirmation comes from on-chain discovery.

Network

Avalanche Fuji

The current demo targets Fuji and uses eERC converter mode.

Best use

Study flow design

Useful when you want a compact example of request creation, payment links, and merchant-side payment discovery.

Treat this as a composition reference

PrivatePay is a better fit for learning how to compose the kit into a narrow product flow than for studying infrastructure-heavy architecture. The value here is the end-to-end interaction model.

What this example demonstrates

  • Seller-side payment request creation with shareable links.
  • Buyer-side private payment using existing eERC flows.
  • Merchant-side payment discovery and verification from on-chain activity.
  • A pragmatic privacy model where routing metadata stays public while amount and correlation message contents stay private.

Where to look in the repo

  • src/app/sell/: seller flow for creating payment requests.
  • src/app/invoice/[id]/: payment link page buyers open to pay.
  • src/app/dashboard/: merchant-side request tracking and payment discovery.
  • src/components/pay-invoice.tsx: the buyer payment flow.
  • src/lib/payment-discovery.ts: chain scanning and verification logic.

How to use this example

  • Open the live app first to understand the request and payment flow.
  • Use the repo to trace how kit components and eERC flows are assembled into a single-purpose payment app.
  • Compare the screens against the eERC and wallet docs when you want to extract reusable patterns into your own product.

On this page