RCR | KBK • A new Hive-based platform for @krolestwo

in voilk •  7 days ago

    rcr.bezkresu.org

    Introducing the new RCR | KBK platform that aims to integrate @krolestwo and Hive blockchain even further, by providing a set of functionalities around running the KBK Community and its tokenomics.



    • • •

    It has been mentioned many times that the way @krolestwo makes use of Hive blockchain to fuel its community operations and its tokenomics is unique not only for Hive, but for any blockchain in general. Broadly speaking, @krolestwo is slowly but surely creating a brand new way on how NGOs can operate and flourish with the help of blockchain and cryptocurrencies.

    Despite that there seems to be lack of understanding and support for the venue in the broad Hive community. Despite receiving a lot of positive feedback from many users, the proposal shared by @hallmann only received ~30% of the required votes.

    But despite these setbacks, @hallmann still strongly believes in Hive and this faith is highly contagious—and let me be an example of this.

    A few weeks ago, while discussing some broader technology-oriented topics, @hallmann mentioned a simple tool that @mys has built for him a few years back. The tool allowed to add/substract the RCR token from users' balances (people receive RCR for helping and supporting @krolestwo, and spend it for various rewards and perks) using Hive as an immutable database (each change in a user's balance is stored in a memo of a a tiny transaction).

    The problem was that due to increasing number of such transactions, the performance of the original tool was very bad, if not borderline-unusable. While @hallmann asked me whether I could improve the performance, I decided to built a completely new platform that will not only solve the same problem, but will also serve as a foundation for future functionalities in @krolestwo.



    • • •

    Today I am glad to present a new RCR | KBK app, which is readily available at rcr.bezkresu.org. It shows a list of all the people who posses or possessed any amount of RCR. For each user you can see how many percent of the total RCR supply they posses (which is their vote power within Kingdom). You can also filter by name or Hive status, as well as sort users by their balance.

    Each user has their own profile page, where you can see the transaction history as well.

    What's most important, though, is that the app's performance is much, much better now, as well as the interface is much more user friendly and readable.

    For the tech nerds I'll share that the app run on React Router with server-side rendering enabled. There's a PostgreSQL database set up, which I query using Prisma. I've also built a custom transactions/block tracker in TypeScript, which scans new Hive blocks looking for RCR transactions, which it then stores in the SQL database (you can think of the SQL database as an optimized mirror of Hive).



    • • •

    I hope that with the following weeks and month, the RCR | KBK app will keep on growing and evolving, with new functionalities helping the operations of @krolestwo and also showcasing the vast possibilities of using Hive for running NGOs.

    At some point also think of open-sourcing some of the stuff that I'm building in hope that other users of Hive find it useful. Be sure to follow @hive.coding to hear about it when it drops.

    Thanks for reading the post and until the next time!

      Authors get paid when people like you upvote their post.
      If you enjoyed what you read here, create your account today and start earning FREE VOILK!