2024-05-24 - Daily Updates from sagarkothari88

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@sagarkothari88·
0.000 HBD
2024-05-24 - Daily Updates from sagarkothari88
![post-thumbnail](https://images.ecency.com/DQmZ7VToBkjvdRn4ki3aU8whfJid8HK17PzTkAwg3z6ABkR/image.png)

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.

![](https://images.ecency.com/DQme1eL9v9d8qiTY2KdjUACLN5oMFzUQZP9Rpf8uvDhAnhH/hive_divider.png)

## My contributions on projects on Hive Blockchain

- [Distrion App](https://hive-distrion.app/) (on-going & in-developement) (also known as Hive Freedom Dollar)
- [3Speak Mobile App](https://github.com/spknetwork/Android-app) (production + maintenance)
- [The Hive Mobile App](https://the-hive-mobile.app/) (in-developement as a hobby project)
- [HiveCurators - DiscordBot](https://peakd.com/@hivecurators) (production + maintenance)
- [Hive Witness Node](https://hivesigner.com/sign/account-witness-vote?witness=sagarkothari88&approve=1) (production)
- [3Speak (Legacy / Current) WebApp](https://github.com/spknetwork/3speak-legacy-frontend) (production + maintenance)
- [3Speak (Legacy / Current) Creator Studio](https://github.com/spknetwork/3speak-legacy-studio) (production + maintenance)
- [3Speak new-website - backend (acela-core)](https://github.com/spknetwork/acela-core) (contributed for 2-3 APIs)
- [3Speak new-website](https://github.com/spknetwork/3speak-nextjs) (contributed for 2 screens)
- [Bitcoin Tube](https://bitcointube.io/) (Developed static home page)
- [Video Encoder Nodes](https://github.com/spknetwork/video-encoder) (12 video encoders)
- [Union-Indexer-Node](https://github.com/spknetwork/union-indexer-node) (1 union indexer node as a backup)
- [HiveAuth Mobile App](https://github.com/hiveauth/hive-auth-mobile) (Contributed)

![](https://images.ecency.com/DQme1eL9v9d8qiTY2KdjUACLN5oMFzUQZP9Rpf8uvDhAnhH/hive_divider.png)

## 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.

![ban-unban-admins](https://images.ecency.com/DQmeuJXnohYbecfPUnqKy4w49P73eGcmK3UiWFv7yfEG448/screenshot_2024_05_25_at_7.31.11_am.png)

#### Dynamic Menu Items based on user type

- Total number of menu items (so far), which are shown to user, are as follows.

![total-menu-items](https://images.ecency.com/DQmZ7VToBkjvdRn4ki3aU8whfJid8HK17PzTkAwg3z6ABkR/image.png)

- 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.

![regular-user-menu-items](https://images.ecency.com/DQmdkopqMeXKtXYf37mQqsqjN9nieVeALZNS9TriNs6uEGQ/image_1.png)

#### 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

![postman-for-login-api](https://images.ecency.com/DQmQvJfYSLa7p1p6sgeYTN1jT4FHZoFzMFbAvPLHvwpJHPR/screenshot_2024_05_25_at_7.49.47_am.png)

#### 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

![](https://images.ecency.com/DQme1eL9v9d8qiTY2KdjUACLN5oMFzUQZP9Rpf8uvDhAnhH/hive_divider.png)

## 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 | -- |

![](https://images.ecency.com/DQme1eL9v9d8qiTY2KdjUACLN5oMFzUQZP9Rpf8uvDhAnhH/hive_divider.png)


  
## Updates: [Video Encoder Nodes](https://github.com/spknetwork/video-encoder)

- 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.

![2024-05-24-encoder-data](https://image-charts.com/chart.js/2.8.0?backgroundcolor=%23000000&bkg=%23000000&c=%7B%0A%20%20%22type%22%3A%20%22pie%22%2C%0A%20%20%22data%22%3A%20%7B%0A%20%20%20%20%22datasets%22%3A%20%5B%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%22data%22%3A%20%5B104%2C%2012%5D%2C%0A%20%20%20%20%20%20%20%20%22backgroundColor%22%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%22rgba%28255%2C99%2C132%2C0.5%29%22%2C%0A%20%20%20%20%20%20%20%20%20%20%22rgba%28255%2C159%2C64%2C0.5%29%22%2C%0A%20%20%20%20%20%20%20%20%5D%2C%0A%20%20%20%20%20%20%20%20%22label%22%3A%20%22Total%20Published%20Videos%20by%203Speak%22%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%5D%2C%0A%20%20%20%20%22labels%22%3A%20%5B%22Sagar%22%2C%20%22Others%22%5D%2C%0A%20%20%7D%0A%7D)

![](https://images.ecency.com/DQme1eL9v9d8qiTY2KdjUACLN5oMFzUQZP9Rpf8uvDhAnhH/hive_divider.png)



  ## 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

  ![](https://images.ecency.com/DQme1eL9v9d8qiTY2KdjUACLN5oMFzUQZP9Rpf8uvDhAnhH/hive_divider.png)

  ## 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.

| Author | Post |
| -- | -- |
| @amiegeoffrey | https://ecency.com/@amiegeoffrey/the-pillars-of-my-life-loh186 |
| @gwajnberg | https://ecency.com/@gwajnberg/buying-gold-grams-or-ounces-a-bit-a-bout-my-recent-purchases-as-well |
| @wiseagent | https://ecency.com/@wiseagent/time-travel-a-world-of-infinite-possibilities |
| @dbooster | https://ecency.com/@dbooster/binance-woes-and-decentralized-exchanges |
| @justclickindiva | https://ecency.com/@justclickindiva/in-the-air-tonight-i-can-feel-it-a-poem-of-trouble-and-reflection-or-a-mixed-media-art-project |
| @idea-make-rich | https://ecency.com/@idea-make-rich/bicycle-shadow-images-shadow-hunters |
| @promete0sz | https://ecency.com/@promete0sz/engspa-character-review-nami-from-one-piece-of-netflix |
| @saravm82 | https://ecency.com/@saravm82/nuevo-arte-la-tv-new-art-la-tv |
| @ekavieka | https://ecency.com/@ekavieka/crawl-crawl |
| @steemmatt | https://ecency.com/@steemmatt/destroying-shareholder-value |
| @belkisa758 | https://ecency.com/@belkisa758/a-mis-56or-y-crossfit-la-escalera-esp-eng |
| @mayifiestas | https://ecency.com/@mayifiestas/esp-eng-video-reflexion-generacion |
| @heroldius | https://ecency.com/@heroldius/sticker-art-059-special-lettering-montreal |
| @p1k4ppa10 | https://ecency.com/@p1k4ppa10/happy-birthday-my-love-sdyrkf |
| @dwayne16 | https://ecency.com/@dwayne16/sps-is-the-sleeping-giant-midseason-update |
| @aslamrer | https://ecency.com/@aslamrer/job-complexities-during-interview-and-my-dressing-dilemma- |
| @blanca56 | https://ecency.com/@blanca56/beautiful-golden-bracelet-hermosa-pulsera-dorada-eng-spa |
| @jasonmunapasee | https://ecency.com/@jasonmunapasee/journey-to-rocky-river |
| @coloneljethro | https://ecency.com/@coloneljethro/head-for-the-hills |
| @hylene74 | https://ecency.com/@hylene74/taking-advantage-of-promotions-at-crabbaymarket-eng-esp |
| @semarekha | https://ecency.com/@semarekha/rohu-carp-fish-recipe-with-96f271da191bc |
| @ciderjunkie | https://ecency.com/@ciderjunkie/19a70d1db05f965dfa6607e31d4b6b9a-vimmtv |
| @artmom | https://ecency.com/@artmom/wednesday-walk-at-the-park-near-church-a-serene-escape |
| @stefano.massari | https://ecency.com/@stefano.massari/24-05-2024-principles-of |
| @eniolw | https://ecency.com/@eniolw/chess-puzzle-of-the-day-may-23-2024--problema-de-ajedrez-del-da-23-may-2024-20240524t035051z |
| @uakulinar | https://ecency.com/@uakulinar/bitkoyin-kupuyut-j-budut-kupuvati |
| @kgakakillerg | https://ecency.com/@kgakakillerg/alien-x-monster-munch-original-digital-art-creations-i-post-new-creations-daily |
| @oluwadrey | https://ecency.com/@oluwadrey/team-leaders-report-team-3-newbies-initiative-wk1 |
| @samstonehill | https://ecency.com/@samstonehill/bitten-by-the-bamboo-bug-creating-a-platform-over-paradise |
| @videoaddiction | https://ecency.com/@videoaddiction/i-missed-being-in-nature |
| @nhaji01 | https://ecency.com/@nhaji01/lawsuit-or-forgiveness-learning-to |
| @imfarhad | https://ecency.com/@imfarhad/myhivegoals-goals-vs-progress-weekly-updates- |
| @palabras1 | https://ecency.com/@palabras1/tatuajes-invisibles-invisible-tattoos-espeng |
| @mamaemigrante | https://ecency.com/@mamaemigrante/un-tatuaje-color-naranja-an-orange-tattoo-initiative |
| @mysteriousroad | https://ecency.com/@mysteriousroad/unlimited-reflection-of-car |
| @lorddiablo | https://ecency.com/@lorddiablo/battle-mage-secrets-weekly-battle-challenge-holy-protection |
| @digi-me | https://ecency.com/@digi-me/hiking-one-of-the-worlds |
| @vickoly | https://ecency.com/@vickoly/the-dilemma-of-legal-action-my-story-of-choosing-peace-over-court |
| @yagelybr | https://ecency.com/@yagelybr/better-late-than-never-my-second-year-at-hive |
| @merit.ahama | https://ecency.com/@merit.ahama/i-hate-what-i-dont-like-a-pet-peeve-or-a-phobia |
| @soylegionario | https://ecency.com/@soylegionario/de-regreso-al-futbol-despues-del-accidente-que-viva-el-deporte-siempre-es-en |
| @aventurerasbike | https://ecency.com/@aventurerasbike/dhfhfocc |
| @mistakili | https://ecency.com/@mistakili/ethereum-etf-approval-a-milestone-in-crypto-integration-with-traditional-finance |



![](https://images.ecency.com/DQme1eL9v9d8qiTY2KdjUACLN5oMFzUQZP9Rpf8uvDhAnhH/hive_divider.png)

### 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

|||
|:-:|:-:|
[![appStore](https://i.imgur.com/enwTLng.png)](https://apps.apple.com/us/app/3speak/id1614771373) | [![GooglePlayStore](https://i.imgur.com/6K5fgGX.png)](https://play.google.com/store/apps/details?id=tv.threespeak.app)|

<center>


[![Support @sagarkothari88](https://images.hive.blog/u/sagarkothari88/avatar)](https://hivesigner.com/sign/account-witness-vote?witness=sagarkothari88&approve=1)
### [Vote sagarkothari88 as Hive Witness](https://hivesigner.com/sign/account-witness-vote?witness=sagarkothari88&approve=1)

[![Support @threespeak](https://images.hive.blog/u/threespeak/avatar)](https://hivesigner.com/sign/account-witness-vote?witness=threespeak&approve=1)

### [Vote for 3Speak as Witness](https://vote.hive.uno/@threespeak)

</center>

![](https://images.ecency.com/DQme1eL9v9d8qiTY2KdjUACLN5oMFzUQZP9Rpf8uvDhAnhH/hive_divider.png)

### Don't forget to swap your HBD/Hive using @ecency

![](https://images.ecency.com/DQmQkeawijcZVajC14KdSK2KP9vV4NSBTM1hRFpnCaa47Nr/swap_feature_banner.gif)

### Don't forget to pay using HBD/Hive

## https://hive-distrion.app

<sub>Images by @noakmilo </sub>

![](https://images.ecency.com/DQmNM1ahigCcZowJYjJRsdCeLXu5vykGa64cmiCPK5mbRZU/photo_2024_04_26_21.08.09.jpeg)
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,