Repo context. accensa-app is the off-chain half of Accensa — the merchant back-office for x402 sellers on Stellar. Three workspace packages matter: apps/web (Next.js dashboard and the indexer at src/app/api/sync), packages/sdk (@accensa/sdk), and apps/demo-merchant. The Soroban contracts live in accensa-contracts.
🟢 Unblocked. Standalone API route refactoring.
Problem
Pricing logic in apps/web is evaluated at the origin server, introducing unacceptable latency for global buyers during checkout. The architectural gap prevents executing complex merchant pricing rules at the CDN edge.
What to build
Refactor the Next.js pricing API route to run on Cloudflare Workers or Vercel Edge Functions. Move the stateful pricing rules engine into an edge-compatible WebAssembly or lightweight JS execution sandbox.
Acceptance criteria
Contact & Support
Problem
Pricing logic in
apps/webis evaluated at the origin server, introducing unacceptable latency for global buyers during checkout. The architectural gap prevents executing complex merchant pricing rules at the CDN edge.What to build
Refactor the Next.js pricing API route to run on Cloudflare Workers or Vercel Edge Functions. Move the stateful pricing rules engine into an edge-compatible WebAssembly or lightweight JS execution sandbox.
Acceptance criteria
Contact & Support
SUPPORT.md— contribution help, Wave process, and the full list of channels