$$Reward

A rewarding agent that converts various loyalty points from apps into $Reward, a unified reward token.

Agentic EthereumShipped January 31, 2025Prize winner#ai-agents#ai#privacy#zk#base
Repo
$$Reward banner

About

Reward enables users to convert reward points from platforms like **Flipkart SuperCoins and Amazon Pay Balance** into **on-chain crypto rewards** using **zkTLS and the Reclaim Protocol**. It is powered by the **Coinbase Developer Platform (CDP)** Agent kit.

---

### **How the Project Works**

  • **User Requests Reward Conversion**
  • The user wants to redeem their Flipkart SuperCoins or Amazon Pay Balance and convert them into cryptocurrency.
  • The system supports multiple reward platforms, but currently, Flipkart and Amazon are integrated.
  • **Generating Proof of Ownership (via Reclaim Protocol)**
  • To ensure authenticity, the user generates a **zk-proof** (zero-knowledge proof) via the **Reclaim Protocol**.
  • This proof is created based on the user’s Flipkart or Amazon account balance, ensuring that the claim is legitimate.
  • A callback URL is provided to receive the proof after generation.
  • **Verifying the Proof**
  • The system verifies the zk-proof using the `verifyProof` function from Reclaim Protocol.
  • If the proof is valid, the platform extracts relevant data such as:
  • **Amount of reward points** (e.g., `500 SuperCoins`)
  • **User’s wallet address** (to receive converted rewards)
  • **Converting Points to Cryptocurrency**
  • The verified amount is converted into **cryptocurrency** (on the Base Sepolia network for testing).
  • The smart contract function `transfer(address, amount)` is called to send the converted value to the user’s wallet.
  • **Agent and AI Automation**
  • A **Coinbase Developer Platform (CDP) AI agent** interacts with users and manages the reward transfer process.
  • The AI agent:
  • Helps users initiate the reclaim proof process.
  • Guides them on redeeming rewards from Flipkart/Amazon.
  • Triggers the proof verification and crypto transfer process.
  • **WebSocket & Express Server for Real-time Processing**
  • The backend runs on **Express.js** for HTTP API endpoints.
  • A **WebSocket server** enables real-time communication with clients (e.g., updates on proof verification and reward transfers).

---

---

### **Potential Future Enhancements**

🚀 **Support for More Reward Programs** – Add platforms like **CRED Coins, Google Play Points, etc.** 🚀 **Cross-Chain Reward Conversion** – Enable swaps across chains (Ethereum, Solana, etc.). 🚀 **Automated Reward Staking** – Let users stake converted rewards for passive income.

---

### **Potential Future Enhancements**

🚀 **Support for More Reward Programs** – Add platforms like **CRED Coins, Google Play Points, etc.** 🚀 **Cross-Chain Reward Conversion** – Enable swaps across chains (Ethereum, Solana, etc.). 🚀 **Automated Reward Staking** – Let users stake converted rewards for passive income.

How it's made

### **Technology Stack**

  • **Blockchain & Crypto:**
  • Coinbase Developer Platform (CDP) for wallet integration and contract interactions.
  • Viem library for Ethereum transactions.
  • zkTLS & Reclaim Protocol for zero-knowledge proof-based verification.

- **AI & Automation:**

-Coinbase Developer Platform (CDP) for intelligent agent workflows.

  • OpenAI’s GPT-4o-mini model for AI responses.

- **Backend Infrastructure:**

- Node.js with Express.js for API services. - WebSocket for real-time communication. - dotenv for environment variable management.

---

### **Key Features**

✅ **Seamless Reward Conversion** – Users can convert Flipkart and Amazon rewards to crypto. ✅ **Zero-Knowledge Proof-Based Verification** – Ensures legitimacy without exposing sensitive user data. ✅ **AI-Driven Automation** – Guides users through the process and triggers transactions. ✅ **Secure On-Chain Transfers** – Crypto rewards are directly sent to verified wallets. ✅ **Real-Time Updates via WebSockets** – Users receive immediate feedback on transaction status.

Prizes

  • Coinbase Developer Platform · AgentKit Pool Prize · AgentKit Pool Prize

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

Circled Fiat

An app that allows merchants to accept USDC payments using Circle's CCTP, enabling customers to pay via Web2 methods like credit cards or PayPal and empowering users and merchants to trade USDC on the chain they want without any additional bridging costs.

OSS-Rewards-Agent

A tool that uses an AI agent to evaluate the contribution level of contributors based on the source code they committed and the review comments from reviewers when a pull request is merged on an OSS GitHub repository and automatically distributes rewards accordingly.