What You’ll Build
Prerequisites
Step 1: Points Dashboard
The points ledger is double-entry — every earn and spend is tracked with full audit trail.React Component
Step 2: On-Chain Collectibles
Users earn on-chain rewards (collectibles, event passes, tier badges) through campaigns, purchases, and engagement. Display them in a gallery.Collectible Card Component
Step 3: Earned Rewards
Track all rewards a user has earned — including those pending delivery.Reward Analytics (Merchant View)
If you’re building the merchant-facing side, track reward performance:Step 4: Transaction History
Show a feed of all points activity — earns, spends, and pending transactions.Step 5: Redeem at Checkout
When a user wants to spend points, check the maximum discount and apply it.Optional: iOS Widget (WidgetKit)
For native iOS apps, expose a simple JSON endpoint that WidgetKit can poll:Putting It Together
Related
- Loyalty Program Recipe — earning and redemption flows
- Points API Reference — full endpoint documentation
- Rewards & Airdrops API — on-chain reward management

