StampX
A Web3 Loyalty platform for storefronts with agent-driven contract interactions.
Problem Statement
StampXA Web3 Loyalty Program Platform with agent-driven contract interactions.Built for Agentic Ethereum 2025.Video demo: https://youtu.be/Z2Tf2YFsfCsLive Demo Url: https://stampx.vercel.app (Base Sepolia)Example Storefront chat: https://stampx.vercel.app/checkout/0x47a66666899c9ed775e5b1942c435d4e95ca445940468975d583d050a23ae8efThis is on Base sepolia. Connect your wallet and ask this storefront anything!InspirationWe wanted to revolutionize traditional loyalty programs by bringing them to Web3. Many small businesses struggle with customer retention and implementing reward systems, while customers juggle multiple loyalty cards and points systems. We saw an opportunity to solve this with blockchain technology.QR Code (would be printed and displayed in the store): https://stampx.vercel.app/qr/0x47a66666899c9ed775e5b1942c435d4e95ca445940468975d583d050a23ae8efWhat it doesStampX is a decentralized loyalty program platform that allows businesses to:Create and manage their own loyalty programs on the blockchainSet custom reward thresholds and amountsTrack customer transactions and pointsIntegrate with an AI-powered chat interface for seamless customer interactionsCustomers can:Earn points across multiple businesses with a single walletView their points balance and rewardsInteract with businesses through an AI chat interfaceRedeem rewards automatically through smart contracts
Solution
Technologies usedCoinbase Developer PlatformAgentKit: Core of the checkout/loyalty experience. Used to build and deploy AI agents that can:Process natural language store queriesExecute on-chain transactionsCheck loyalty point balancesVerify reward eligibilityOnchainKit: Manages real-time blockchain data and UI components.Coinbase SDK & Chrome Extension: Handles wallet connections with wagmi integration and coinbase connector from the sdk. AgentKit is used to trigger wallet workflows.AutonomeHosts our custom AgentKit deployment with:Store-specific training data and contextTransaction capabilitiesPoints calculation logicReward validation rulesEndpoint:https://autonome.alt.technology/stampx-ighkdbManages real-time chat state and context persistenceHandles concurrent user sessions and load balancing for separate customer interactions.BasePrimary chain for smart contract deployment and loyalty trackingBenefits:Low transaction costs for payment sends accrualFast finality for instant rewardsEVM compatibility for tooling supportContract Address:0x27A6E1ED6e0dd33265C7b7466e65a4aeFbCD3F2eUses Base Sepolia testnet for development and testingCDP connected with onchainkit in the UINethermindMain AI agent functionality for the commerce use case is powered by solidity contracts and is open source.Smart contract event emissionAutomated reward distribution and validationNatural language processing for user queriesTransaction intent detectionIntegrates with store-specific business logicHandles multi-step transactions and account stateBase Sepolia smart contract for StampX: https://sepolia.basescan.org/address/0x27A6E1ED6e0dd33265C7b7466e65a4aeFbCD3F2eChallenges We ran intoImplementing secure point tracking on the blockchainCreating a seamless UX that bridges Web2 and Web3Handling real-time updates for transactions and pointsOptimizing smart contract gas costsDoing a StampX production deploymentThe StampX project is currently deployed on the Base Sepolia testnet. For production deployments (at your own discretion, these would be the next immediate steps):Replace envUpdate siteConfig in config.ts with production valuesRedeploy smart contract on BaseRedeploy agentkit with Base mainnetMake new website deployment (using nextj)What's next for StampXMulti-chain support: Expand beyond Base to include other EVM-compatible chains like Ethereum mainnet, Polygon, and Arbitrum, allowing businesses to choose their preferred network.Production deployment: Launch on Base mainnet with a focus on onboarding small to medium-sized businesses in the food and retail sectors.Enhanced AI capabilities: Implement personalized recommendation systems that analyze customer purchase history and preferences to suggest relevant products and optimize reward strategies.Cross-business rewards: Enable businesses to form partnerships and allow customers to earn and redeem points across multiple participating merchants.Project is open source, see more information and screenshots on the github here: https://github.com/cbonoz/agentic25
Hackathon
Agentic Ethereum
2025
Prizes
- 🏆
Most Innovative Agent 💡🤖1st place
Autonome
- 🏆
AgentKit Pool Prize
Coinbase Developer Platform
Contributors
- cbonoz
43 contributions