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.
My contributions on projects on Hive Blockchain
- Distrion 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)
Updates on New Version of Hive Distrion App
Ban/Unban Admin UX
- Today, My aim was to complete feature to ban & unban admin on the front-end side.
- We did manage to complete in time today & here is how it looks.
Dynamic Menu Items based on user type
- Total number of menu items (so far), which are shown to user, are as follows.
- We've also added Owner & Guide menu items.
- This menu items will appear based on the user priviledges.
- If an admin logs in, we don't show admin menu item. Show businesses, guides & owners menu items.
- If a business guide logs in, we don't show admins, guides, owners menu. Only businesses menu item.
- If an owner logs in, we don't show admins, guides, owners menu. Only businesses.
- If a regular user logs in, we only show businesses
- Here is what a regular user is going to get as menu items if he/she logs in.
- The reason, you see old-claim-experience in the background, is a different branch. While taking that screenshot, I was working on a different branch.
How?
- How does the front-end know that this user is admin & that user is guide?
- For this, I had to update the login API.
- In response of log-in API, now we are also sending the type of the user.
- Based on it, UX can populate menu items accordingly.
- Here is how it looks from Postman
cURL for the request for new Login
curl --location 'http://localhost:3000/login' \
--header 'Content-Type: application/json; charset=utf-8' \
--data '{
"challenge": "SIGNATURE_GOES_HERE",
"username": "shaktimaaan",
"pubkey": "STM62ourfAJGoWjzs1uyhRtC9BbwmQGi1wse8Fw5CTrBvUBz6Wym3",
"proof": "2024-05-25T02:19:16.168Z"
}'
What's next?
- Implement similar UX for Guides
- Implement similar UX for Business Owners
- Add new API for adding businesses
- Add new API for setting guides to a business
- Add new API for setting a business owner to a business
- Add new API for setting the payment methods on a business
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 | ✅ |
Larynx | Running a LARYNX node | $5 | ✅ |
Duat | Running a DUAT node | $5 | ✅ |
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 | ✅ |
Distrion | Hive-Distrion Backend node | $5 | ✅ |
Community Contributors | Rewarding community contributors in INR | $60 | ✅ |
Additional Developer | Additional Contributing Developer | $1000 | ✅ |
-- | -- | -- | -- |
Total | Approx | $1435 | -- |
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-05-24, 3Speak published total 116 videos.
- My video encoder nodes encoded 104 videos from 116 videos published.
- It means, my encoder nodes encoded 89.66 % of total videos published on 2024-05-24
- Here is visual representation of above data.
My Daily Hive Investment Report for 2024-05-24
- 25.85 Hive Power Up
- 20.66 Witness Rewards in Hive Power
- 65.49 Curation Rewards as Hive Power
- 8.74 Benefactor Rewards as Hive Power
- 120.74 Total Hive Power Invested
Curation Report for 2024-05-24
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 43 & motivated content creators for their contributions on Hive.
What do you think?
- What do you love the most out of these activities I do?
- Please let me know in the comment section.
Who am I?
- I'm a Hive Witness
- 3Speak App Developer
- I've also contributed to mobile-app for HiveAuth
- I also work on HiveFreedomDollar App
- I worked with Team @ecency for integrating 3speak-video-upload feature
- Founder of HiveCurators Community - @hive-185924 / @hivecurators
- Founder of https://the-hive-mobile.app/#/
Support me
- Please upvote my content to motivate me
- Please Reblog
- Please vote me as Hive Witness
Vote sagarkothari88 as Hive Witness
Vote for 3Speak as Witness
Don't forget to swap your HBD/Hive using @ecency
Don't forget to pay using HBD/Hive
https://hive-distrion.app
Images by @noakmilo