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
- 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)
Hive Distriator App - Supporting different sign-in methods
- Hive Distriator supports 2 different methods to sign-in
- It includes Hive Keychain based log-in & HiveAuth based login.
- There are other types of log-in which can be added.
- We can add 2 more - Posting Key based log in. The other one is HiveSigner.
HiveSigner Log in method
- So far, in the apps which I've worked, I didn't integrate HiveSigner.
- Due to this, I had to check docs first.
- For any tech person, integrating HiveSigner, after reading docs, shouldn't take long
- With documentation, everything seems clear & easy to implement.
Integrating HiveSigner in Flutter based project
- I created a sample project to experiment with new things.
- Overall goal was to achieve following 2 things
- Open an in-app-browser & load a link
- Handle any URL redirection / Detect URL redirections
- To achieve it, I used this tutorial
- https://codelabs.developers.google.com/codelabs/flutter-webview#0
- Both goals, with this tutorials, I was able to achieve
Debugging HiveSigner
- When you are running first time hive-signer, you don't have anything on your device.
- So, you are required to add your keys to your device.
- HiveSigner saves it & encryptes it with a password.
- Once your keys are saved, HiveSigner does the redirection.
- Your app is supposed to handle this URL redirection & grab the values from URL query parameters
- You can find all details about it over here - https://docs.hivesigner.com/
- So, we did add the code for grabbing the query parameters
- Now, we have the token.
- With token, you can call the broadcast API to broadcast the operations on blockchain.
- So, after integrating that broadcast API, I gave it a trial
- For some reason, it didn't work.
- We kept wondering what went wrong here.
- Debug & debug - good amont of time spent here to find out the root cause
- Really couldn't figure out why it isn't working
- So, at one point, we decided to log the redirected the URL & copy token from log.
- After copying the token, we tried it in the postman
- And everything worked just fine in postman
- After that, I checked notifications of my account
- It was all there, I did get the upvote as expected.
- This helped us point to the code which needs to be corrected.
- The code to grab the token from redirection-url had a small typo.
- This small typo led to hours of debugging.
- Some days are just bad & sometimes small mistake takes whole day
- Today was one of that day & luck wasn't with us.
- HiveSigner, in my opinion, is one of the simplest login mechanism
- We will discuss & decide on what login methods we should be adding on Distriator
- Once we've a decision, we'll integrate it & deploy.
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 ALIVE, PIZZA, BEER, LUV
- No power ups were sent today.
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 | ✅ |
Distriator | Hive-Distriator Backend node | $50 | ✅ |
Community Contributors | Rewarding community contributors in INR | $60 | ✅ |
Additional Developers | Additional Contributing Developers | $1500 | ✅ |
-- | -- | -- | -- |
Total | Approx | $1980 | -- |
- DLUX, LARYNX, DUAT nodes are down.
- I'm thinking of moving them to different systems.
- Hopefully by tomorrow, I'll have it working. Wish me luck.
- We've added one more developer in our team recently to speed up work in Distriator.
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-06-11, 3Speak published total 126 videos.
- My video encoder nodes encoded 105 videos from 126 videos published.
- It means, my encoder nodes encoded 83.33 % of total videos published on 2024-06-11
- Here is visual representation of above data.
My Daily Hive Investment Report for 2024-06-11
- 0.70 Hive Power Up
- 21.17 Witness Rewards in Hive Power
- 70.55 Curation Rewards as Hive Power
- 9.16 Benefactor Rewards as Hive Power
- 101.58 Total Hive Power Invested
Curation Report for 2024-06-11
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 37 & motivated content creators for their contributions on Hive.
Vote sagarkothari88 as Hive Witness
Vote for 3Speak as Witness
Don't forget to pay using HBD/Hive
https://distriator.com
- banners & images if you wish to use.
- Don't forget to give credits to designers.