Since my last update, I have created a new endpoint for polls
and made some optimizations and bug fixes to HAF Plug & Play. Below is a summary of the work I've done and what's next.
Pull request: https://github.com/imwatsi/haf-plug-play/pull/9
New Polls Endpoint
I added a new endpoint to get a list of all the polls that a user has created, filterable by active
and tag
.
plug_play_api.polls.get_polls_user
Documentation: https://github.com/imwatsi/haf-plug-play/blob/master/docs/api/plugs/polls.md#get_polls_user
Optimizations & Bug Fixes
- updated tag limits to support longer tags, which can be used to link polls to specific posts
- updated vote count mechanism to exclude votes made after expiration date
- added
curl
commands to docs to provide more examples of how to access the APIs - added missing timestamp to newly created polls in the main SQL function
- fixed sql queries to include
created
field when results are returned
Looking Back on 2021
With the development of HAF by the @blocktrades team, the Hive blockchain's data has become a lot more accessible with the flexibility of PostgreSQL. The possiblities it introduces has led me to rethink all of the projects I am currently working on and below is a summary of where the projects are and what to expect this year.
Plug & Play
The development of the HAF-based Plug & Play has taken up most of my dev time lately and a few weeks ago I announced the release of a public beta that's open to anyone who wants to integrate custom_json
op based features to their development stack.
A landing page for Plug & Play is under development and I aim to release it in a week or two.
Polls is the first open protocol/feature that I developed for Plug & Play and it is available (in beta) to any Hive dApp that opts for an integration. I am currently working together with PeakD to integrate polls
on their frontend. @peakd @jarvie @asgarth
Umbrella Organization
@ladymwatsi and I are setting up an organization to umbrella all the projects we are building on Hive. The name will be revealed early 2022 and all I can say for now is that it will reflect the ethos of all the software we are working on.
Social dApp
We've been working on a social dApp and it's moving along nicely. We are aiming to release a public beta to the community in the first quarter of this year.
HAT
Early last year, I began working on a sidechain and protocol for attention tokens and monetization, controlled by accounts on the Hive blockchain called Hive Attention Tokens (HAT).
Work is currently underway to move the protocol over to using HAF and make it a Layer 2 token solution.
https://github.com/imwatsi/hive-attention-tokens
We are looking forward to getting things done on Hive this year. Hive on!
HAF Plug & Play Proposal
The DHF proposal for the HAF Plug & Play project is currently funded. Thank you for supporting this project.
I run a Hive witness node:
- Witness name:
imwatsi
- HiveSigner
- Witness name:
Thanks for the update. Been following what you are doing @imwatsi. It is interesting to see how some of the developments are received by other developers, who create more to further enhance the capabilities.
The projects you are working on sound exciting. Polls is a very cool feature which is a necessary part of social media. Giving that ability to the applications on Hive is a big step forward. The social app you are working on certain is of interest. Can't wait to hear more about it.
Thanks for the support.
I'm glad
polls
are being implemented. I believe they'll allow people to reach public consensus on a wide range of subjects.We can't wait to release the app too! We'll share more details soon :)
I also appreciate your effort Chief.
Things like this excite me about hive, the number of new dapps in the pipes. I m glad to hear about this as well.
Congratulations @imwatsi! Your post has been a top performer on the Hive blockchain and you have been rewarded with the following badge:
You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP
Check out the last post from @hivebuzz:
Sedikit demi sedikit setiap hari ilmu bertambah dengan rajin membaca. Terima kasih atas pemberitahuannya