Hive dApps Update: cashback.distriator.com - working on faster claims

@sagarkothari88 ยท 2025-09-04 04:33 ยท HiveDevs

Hello hive community members,

We are working tirelessly to improve the experience for cashback. We have developed 2 new API-Endpoints.

API End points

Get Cash back details

  • Usually, front-end would call /claim/v2 for user who is logged in.
  • Now, we'll do all calculations & processing here. It's defined as below
  • Fetch account history (user who is logged in)
  • Filter outgoing transactions
  • Filter transactions having memo
  • Filter transactions with memo with matching defined patterns of Invoice-IDs
  • Get all businesses
  • Filter transactions with whitelisted businesses
  • Filter transactions by time - last 2 hours only
  • If we find legit payment transaction(s), we fetch more account history
  • Check past payments & cash backs
  • Based on past cash backs, we decide user is at which level.
  • Based on level, cashback % is calculated
  • For a given country, a random max cashback payment transaction value is determined
  • And after all of these, user gets response (we didn't put in details here for v4v - it's even more)
  • You can imagine the wait due to all of these.

/v2/reward API

  • /v2/reward api does all of above on top of additional checks as listed below.
  • Get specific business
  • Is that business whitelisted yet?
  • Get specific user
  • Is that user banned?
  • Does business review post exists?
  • Does post have valid beneficiary settings?
  • Does post have valid json meta data?
  • Does post have any edits?
  • Does post have valid content etc etc.
  • After all checks passed (approx 15-16), cashback is given
  • Cashback given = transfer funds
  • After that backend triggers discord webhook
  • After that backend drops a comment on business review post
  • After that user gets a response Yay ๐ŸŽ‰, you got your cashback
  • Till that time, I guess gets a power nap.

power nap

/v3/reward

  • We have built v3 API, which will do all of these in async manner
  • User will get response, thank you for submitting, you'll get your reward soon.
  • You'll be informed by a comment on your review

front-end

This is how front-end would look after submitting review.

More on this, I'll share later. For now, I'll keep quite & keep building

shhhh

I will share as soon as it's ready, I'll inform it to alpha users & after that beta users.


๐Ÿš€ My Contributions to โ™ฆ๏ธ Hive Ecosystem

Contribution To Hive Ecosystem
Hive Witness Node Hive API Node 3Speak Video Encoder Node Operator (highest number of nodes) 3Speak Mobile App Developer
Podcast App Developer 3Shorts App Developer 3Speak Support & Maintenance Team Distriator Developer
CheckinWithXYZ Hive Inbox HiFind Hive Donate App
Contributed to HiveAuth Mobile App Ecency โ†” 3Speak Integration Ecency โ†” InLeo Integration Ecency โ†” Actifit Integration
Hive Stats App Vote for Witness App HiveFlutterKit New 3Speak App

๐Ÿ™Œ Support Back

โค๏ธ Appreciate my work? Consider supporting @threespeak & @sagarkothari88! โค๏ธ

Vote For Witness
sagarkothari88 @sagarkothari88
threespeak @threespeak
#hive #dev #india #reactjs #updates #witness #distriator #hiveproject #waiv #spendhbd
Payout: 51.145 HBD
Votes: 416
More interactions (upvote, reblog, reply) coming soon.