2024-07-07 - Distriator - Keychain Store Invoice bug fixed and Country Level reward management
Words
1107
Reading
5 min
Listen
Play
2y
Hello Hive Community Members,
Welcome to daily updates from @sagarkothari88 - a Hive Witness & mobile-app-developer. I daily invest my time with my skillset in #Hive & I daily hive-power-up.
Project Distriator
- In yesterday's post, we talked about setting limit per user for daily & biweekly claim.
- After looking at my updates,
@starkerz suggested that, it is too much power in the hands of admin.
- These are his words "I don’t want the admins to be able to decide how much a user can get. It’s totalitarianism"
- While implementing the API for setting up the limit per user, I also sensed it.
- I am glad that, we discussed about it & found out an alternate solution
Discarded User Limit APIs
- As you can see in the screenshot above, we have removed all the code for limits
- Admins were able to set limits per guide, per business, per user which is now removed.
- All the limits related API changes were removed
- After this change, we have re-deployed the backend
Claim reward limit By Country
- A coffee can cost differently country by country
- Coffee is just an example.
- With that, we would like to point out that, cost-of-living can be different
- And with that logic, max-claim-reward per transaction can be different country
- We developed these APIs & it is shipped (deployed on production)
- If a transaction amount is exceeding a specific limit by country, distriator will consider max limit instead of transaction amount.
- E.g. if a user spends 1500 HBD, he shouldn't be able to claim 150 HBD 😵
- Instead, transaction amount will be considered to limit e.g. 15 HBD & based on that rewards will be calculated.
- We have added a new API route
/countries - With this new API route, admin can set max-claim-reward-limit by country
- We'll work on UX for it, tomorrow.
KCS Bug again?
- Yesterday, we encountered a bug again which is related to custom-invoice-identifier of Keychain Store
- After looking into it, we updated regex & re-tested it & it worked.
- As you can see in the screenshot above that claim was successful.
- This claim was done on the keychain-store-invoice-payment.
- It all worked & I hope that it will work for all keychain-store-invoices.
Bird Eye View of what's going on, On Project Distriator
( ⏳ = In Progress, ✅ = Done)
API for Setting limits for claim for each user type✅FrontEnd to set limits for each user type ⏳- API for Setting limits for by country ✅
- FrontEnd to set limits for country ⏳
- Complete UX for managing users ✅
- Support Localization / Multi language support ⏳
- Complete Add-A-Business API ✅
- Complete Edit-A-Business API ⏳
- Fixing issues suggested by
@starkerz ✅
- Adding improvements suggested by
@starkerz ✅
- Migrate existing excel-sheet-based-businesses to database using add-a-business-api
- Once migration is done, we'll integrate update-a-business-API
- Add support for setting percentage for each-trusted-business-guide on a business
- Reward onboarders ✅
- Rewarding BTC - V4V - SATS payments ⏳
My contributions on projects on Hive Blockchain
- Distriator App (on-going & in-developement) (also known as Hive Freedom Dollar)
- 3Speak Mobile App (production + maintenance)
- The Hive Mobile App (in-developement as a hobby project)
- HiveCurators - DiscordBot (production + maintenance)
- Hive Witness Node (production)
- 3Speak (Legacy / Current) WebApp (production + maintenance)
- 3Speak (Legacy / Current) Creator Studio (production + maintenance)
- 3Speak new-website - backend (acela-core) (contributed for 2-3 APIs)
- 3Speak new-website (contributed for 2 screens)
- Bitcoin Tube (Developed static home page)
- Video Encoder Nodes (12 video encoders)
- Union-Indexer-Node (1 union indexer node as a backup)
- HiveAuth Mobile App (Contributed)
Rewarding Hive Content Creators
- I support several contests hosted by different communities.
- I reward them with Hive-Power-up for the contribution that they have made on communities on Hive.
- We keep transferring portion of hive power to different users on Hive for encouraging them for their contribution on Hive.
- Those who respond to our replies, we also reward them with different tokens like PIZZA, BEER
- We sent Hive-Power-Up to these people on hive for their amazing contribution -
@zoricatech,
@leylar,
@khan.bhai009,
@joanstewart,
@hjrrodriguez,
@ijebest
Dedicated Resources for Hive Eco-System
| Resource Name | Resource Description | Approx Cost of Resource | Status |
|---|---|---|---|
| Hive Witness | Hive Witness Node | $50 | ✅ |
| Dlux | Running Dlux Witness Node | $5 | Down ATM |
| Larynx | Running a LARYNX node | $5 | Down ATM |
| Duat | Running a DUAT node | $5 | Down ATM |
| VSC | Running a VSC witness node | $5 | ✅ |
| Discord Bot | Hive Curators Discord Bot Node | $5 | ✅ |
| HP Rewards | Hive Curators HP reward Bot Node | $5 | ✅ |
| 12 Nodes | Powerful video encoder nodes for 3Speak $20 on average | $240 | ✅ |
| Bandwidth | 3 internet connections | $50 | ✅ |
| Distriator | Hive-Distriator Backend node | $50 | ✅ |
| Community Contributors | Rewarding community contributors in INR | $60 | ✅ |
| Additional Developers | Additional Contributing Developers | $1500 | ✅ |
| -- | -- | -- | -- |
| Total | Approx | $1980 | -- |
Updates: Video Encoder Nodes
- I'm running 12 powerful video encoder nodes for 3Speak Community Members.
- Monthly internet bandwidth usage which exceeds 15 TB, Maintenance cost, Electricity backup, Internet backup, Depreciation cost - it's all on me.
- On 2024-07-07, 3Speak published total 104 videos.
- My video encoder nodes encoded 67 videos from 104 videos published.
- It means, my encoder nodes encoded 64.42 % of total videos published on 2024-07-07
- Here is visual representation of above data.
My Daily Hive Investment Report for 2024-07-07
| Value | Investment Type |
|---|---|
| 134.882 Hive | Hive Power Up |
| 25.123 Hive | Witness Rewards in Hive Power |
| 90.820 Hive | Curation Rewards as Hive Power |
| 7.266 Hive | Benefactor Rewards as Hive Power |
| -- | -- |
| 258.090 Hive | Total Hive Power Invested |
| -- | -- |
Curation Report for 2024-07-07
NOTE:
- If you don't like tagging you under curation report, let me know in comment section & I'll exclude you from the curation report.
- If you think that I should not attach curation report in the post, let me know in the comment section.
We've curated total 39 & motivated content creators for their contributions on Hive.
Vote sagarkothari88 as Hive Witness
Vote for 3Speak as Witness
Get paid for paying in HBD/Hive & SATs
https://distriator.com
Credits to designers - noakmilo & josegrech