Minting Generosity at Scale with Serverless NFTs

Architecting Panxpan’s AI‑Driven Digital‑Collectible Fundraising Platform
Main visual

1. Client Snapshot

Panxpan is a next‑generation fundraising platform where charities launch campaigns that reward donors with unique digital collectibles (NFTs). Features like an AI Campaign Creator and marketing automations have already powered 1 000 + live campaigns worldwide.:contentReference[oaicite:0]{index=0}

clint_snapshot

Impact

  • Campaign launch time cut from days to < 5 minutes with AI wizard.
  • 1 000 + campaigns created in first 8 weeks after relaunch.
  • 99.98 % uptime and < 200 ms p95 API latency globally.
  • Scaled to 50 k concurrent mint events with zero downtime during peak Giving Tuesday traffic.
  • 42 % infra cost savings vs. container baseline thanks to per‑request serverless billing.

2. The Challenge

  • Instant NFT minting — every donation must trigger on‑chain minting in seconds without gas‑fee headaches.
  • AI‑generated campaigns — the platform’s GPT‑4–based campaign wizard needed secure, high‑volume prompt & asset pipelines.
  • Multi‑payment support — blend crypto (ETH, USDC) and fiat (Stripe) while keeping ledgers consistent.
  • Viral traffic spikes — social fundraising drives unpredictable load; uptime and cold‑start latency had to stay < 250 ms p95.
  • Marketplace compliance — handle KYC for large gifts and enforce jurisdiction‑based NFT restrictions.

5. Services Delivered

  • Backend architecture & development
  • Blockchain & smart‑contract integration
  • AI content‑generation pipelines
  • Payment gateway & crypto wallet integration
  • DevOps, observability & SRE
  • API documentation & SDK authoring

3. Our Solution

PillarImplementation Highlights
Serverless micro‑servicesCloudflare Workers & Durable Objects for stateless APIs; each endpoint versioned and rate‑limited, yielding < 200 ms global p95.
NFT minting pipelineOn‑demand Solidity proxy contracts (ERC‑721) deployed to Polygon; Ethers.js + Alchemy webhooks stream mint events into Durable Objects.
AI Campaign CreatorOpenAI GPT‑4 + DALL·E workflows orchestrated through a job queue (Cloudflare Queues) that stores creative assets in IPFS/S3.
Payments & accountingUnified ledger micro‑service reconciling Stripe Checkout, Coinbase Commerce, and on‑chain donations every 60 s.
Real‑time engagementRedis Pub/Sub + WebSockets push collectible‑claim alerts and funding milestones to campaign dashboards.

6. Tech Stack

Node.jsTypeScriptCloudflare WorkersDurable ObjectsCloudflare KVRedisPostgreSQLIPFSSolidityEthers.jsOpenAIStripeCoinbase CommerceDocker

By giving Panxpan a scalable, serverless core, we transformed fundraising into an instant, collectible‑powered experience—igniting campaign growth and donor engagement.