2024-05-23 - Daily Updates from sagarkothari88

claim-found

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

Updates on Current Version of Hive Distrion App

  • Objective - Simplifying the App Usage.
  • User needs to see just one big button - CLAIM
  • So, I moved almost all the logic to the backend.
  • I developed a new API for claim. User who has logged in can hit this API & get claim details.
  • If there are no claims, server will throw an error.
  • here is how it's going to look like

no-claims-found

  • In case, if user has done a payment with HBD in last 30 mins, user will get a response.
  • It will look like following.

claim-found

  • Here is the example JSON of a success response
{
    "claimValue": "0.210 HBD",
    "percentage": "60 %",
    "timestamp": "2024-05-24T13:34:03Z",
    "invoice": "v4v-4hRNy",
    "memo": "Coffee at CC Jitters for one last time for claim v4v-4hRNy",
    "business": "i-am-the-flash",
    "amount": "0.350 HBD"
}
  • Here is the cURL of the request
curl --location 'api.hive-distrion.app/claims' \
--header 'Authorization: TOKEN_GOES_HERE'

Refactoring of the backend code.

  • I also did refactoring of lot of code.
  • In entire code base, I started using process.env.ENV_VAR everywhere.
  • To correct this, I've used config & I took a reference from existing project of 3Speak codebase.
  • Here is how it looks like when you put all environment variables at one place.

What's next?

  • Keep working on adding new APIs for Hive-Distrion ⏳
  • Implement & test this API on the front-end (hive-distrion.app) ⏳

Dedicated Resources for Hive Eco-System

Resource NameResource DescriptionApprox Cost of ResourceStatus
Hive WitnessHive Witness Node$50
DluxRunning Dlux Witness Node$5
LarynxRunning a LARYNX node$5
DuatRunning a DUAT node$5
VSCRunning a VSC witness node$5
Discord BotHive Curators Discord Bot Node$5
HP RewardsHive Curators HP reward Bot Node$5
12 NodesPowerful video encoder nodes for 3Speak $20 on average$240
Bandwidth3 internet connections$50
DistrionHive-Distrion Backend node$5
Community ContributorsRewarding community contributors in INR$60
Additional DeveloperAdditional Contributing Developer$1000
--------
TotalApprox$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-23, 3Speak published total 153 videos.
  • My video encoder nodes encoded 113 videos from 153 videos published.
  • It means, my encoder nodes encoded 73.86 % of total videos published on 2024-05-23
  • Here is visual representation of above data.

2024-05-23-encoder-data

My Daily Hive Investment Report for 2024-05-23

  • 42.46 Hive Power Up
  • 19.25 Witness Rewards in Hive Power
  • 73.83 Curation Rewards as Hive Power
  • 9.28 Benefactor Rewards as Hive Power
  • 144.82 Total Hive Power Invested

Curation Report for 2024-05-23

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 33 & motivated content creators for their contributions on Hive.

AuthorPost
@bonzopoe@bonzopoe/cronicas-de-lo-cotidiano-113-vivimos-o-sobrevivimos-los-dias-por-bonzopoe
@shiftrox@shiftrox/enptbr-should-physical-appearance-really-count-in-a-job-interview
@itharagaian@itharagaian/en-route-vers-les-cles
@wandrnrose7@wandrnrose7/checking-in-after-a-long
@duskobgd@duskobgd/oofgbtrird
@alfirdaus@alfirdaus/another-badminton-court-in-lhokseumawe
@balikis95@balikis95/setting-and-wearing-coats-of
@dayadam@dayadam/pizza-pendant-in-3d-for
@maxinpower@maxinpower/tickle-the-oktopus-kitzle-den-kraken-wonderful-japan-eng-ger
@mnurhiver@mnurhiver/looking-for-pictures-with-friends
@xrayman@xrayman/a-unique-visual-spectacle-um-espetaculo-visual-unico-eng-pt
@himalayanwomb@himalayanwomb/2nd-summit-of-hanumangarh-peak
@marlyncabrera@marlyncabrera/from-popular-papelon-con-limon-to-super-refreshing-turmeric-and-ginger-infusion-p
@name0@name0/vizela-walkways-portugal-a7c5fa92d1ba
@charjaim@charjaim/esa-no-soy-yo-resumen
@sunscape@sunscape/planting-all-vegetables-by-sunscape
@ifarmgirl@ifarmgirl/thursdays-yays
@curamax@curamax/it-looks-like-i-found
@palomap3@palomap3/visitando-el-castillo-de-peniscola
@ace108@ace108/pot-stickers-from-chinatown-video-or-by-ace108
@carisma77@carisma77/delicious-strawberry-and-apple-dessert
@aguamiel@aguamiel/pastel-de-coco-or-recipe
@glorydee@glorydee/fulfilling-a-promise-i-made
@hirohurl@hirohurl/i-reach-the-3rd-rung-of-the-hbd-freedom-ladder
@mofijul@mofijul/rajasthan-royals-win-in-breathtaking-match
@fahimchowdhury@fahimchowdhury/playing-call-of-duty-warzone-season-3-02-gameplay
@keritroberts@keritroberts/camineria-del-parque-nacional-chorro-del-indio-or-chorro-del-indio-national-park-hikes
@funtraveller@funtraveller/a-tasty-and-affordable-bowl
@gargi@gargi/perfect-drink-for-summer-lassi
@introvert-dime@introvert-dime/granny-s-bonnet-flowers-in
@bitcoinflood@bitcoinflood/a-major-turning-point-in-the-usa-for-crypto
@yennysferm71@yennysferm71/nair-premiered-today-the-22nd-and-i-tell-you-my-point-of-view-nair-se-estreno-hoy-22-y-les-cuento-mi-punto-de-vista
@cesaramos@cesaramos/vjvbkjlz

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?

Support me

  • Please upvote my content to motivate me
  • Please Reblog
  • Please vote me as Hive Witness
appStoreGooglePlayStore

Support @sagarkothari88

Vote sagarkothari88 as Hive Witness

Support @threespeak

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

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now