// Case study
WalletConnect dApp with gasless onboarding for a loyalty program
Ethereum ERC-1155 rewards, smart contract events, indexer pipeline, and custodial fallback for non-crypto users.
- A retail loyalty consortium wanted on-chain reward badges without forcing all customers to self-custody wallets. Regulatory marketing review required clear opt-in and fiat-equivalent disclosure.
- Stack: Solidity ERC-1155 contracts on Polygon; OpenZeppelin AccessControl for minter roles; Next.js frontend with wagmi + WalletConnect v2; The Graph subgraph for redemption history; Fireblocks API for custodial wallet pool.
- Problems: RPC rate limits during campaign launch, added Alchemy failover; metadata hosting on IPFS pinned via Pinata with CDN fallback; users rejected MetaMask install, shipped email-magic-link custodial path with export option.
