Introducing a blockchain-powered loyalty program, designed specifically for the e-commerce landscape. Users can instantly receive loyalty tokens for actions like purchases, referrals, or participating in brand promotions. Unlike traditional systems where loyalty points are confined to single brands, this program offers a unified loyalty experience across multiple brands. Every token earned or spent is transparently recorded on the blockchain, instilling a strong sense of trust and eliminating any potential disputes. Additionally, the real-time nature ensures instant gratification, eliminating the wait time typical of many loyalty programs. Beyond just convenience, the decentralized nature of blockchain ensures enhanced security, safeguarding users against potential breaches. This system transforms the e-commerce loyalty experience, offering unprecedented transparency, security, and flexibility. Embrace a more rewarding and trustworthy way to shop and redeem your rewards.
During the development of our blockchain-powered loyalty program, we encountered a significant challenge related to the real-time issuance of tokens. Our promise was instant token rewards post-purchase, but as we scaled, delays became noticeable, sometimes extending up to several minutes. Delving into the issue, we identified the root causes: congestion on the Polygon blockchain during high activity periods, our conservative gas fee settings, and backend bottlenecks where transactions were processed sequentially. To address these, we implemented an off-chain aggregation mechanism, batching user actions for near real-time token issuance. We also introduced dynamic gas fee adjustments based on network congestion and restructured our backend for parallel processing of user actions. Additionally, in scenarios of unforeseen delays, we communicated transparently with users to maintain trust. These adjustments not only resolved our delay issues but also emphasized the importance of adaptability and transparent communication in tech projects, especially when integrating emerging technologies like blockchain.
Tracks Applied (1)
NEAR Foundation
Technologies used
Discussion