Skip to content

feat: create on-chain reward points system with token conversion and …#445

Open
chidii wants to merge 1 commit intoStellarDevHub:mainfrom
chidii:feat/reward-points
Open

feat: create on-chain reward points system with token conversion and …#445
chidii wants to merge 1 commit intoStellarDevHub:mainfrom
chidii:feat/reward-points

Conversation

@chidii
Copy link
Copy Markdown
Contributor

@chidii chidii commented Apr 29, 2026

Closes #392

What this PR does
Creates an on-chain reward points system with point-to-token conversion and automatic expiration.

Files

  • contracts/src/reward_points.rs — Points earning, balance tracking, expiration with time-based expiry, spend points
  • contracts/src/points_conversion.rs — Points-to-token conversion with configurable rate, limits, and minting
  • frontend/src/components/rewards/RewardsDashboard.tsx — Rewards dashboard with balance, conversion UI, history, expiration alerts

Acceptance Criteria

  • ✅ Points earned and tracked correctly
  • ✅ Conversion to tokens works with configurable rate
  • ✅ Expiration enforced automatically
  • ✅ Notifications for expiring points
  • ✅ Frontend displays rewards data
  • ✅ All operations emit proper events

/claim #392

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 29, 2026

@chidii Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@ayomideadeniran
Copy link
Copy Markdown
Contributor

pr under review, if i find any wrong implementation i will notify you.

2 similar comments
@ayomideadeniran
Copy link
Copy Markdown
Contributor

pr under review, if i find any wrong implementation i will notify you.

@ayomideadeniran
Copy link
Copy Markdown
Contributor

pr under review, if i find any wrong implementation i will notify you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Frontend/Contract] Create On-Chain Reward Points System with Point-to-Token Conversion and Expiration

3 participants