Hi(ve) everyone!
Hi(ve) everyone!
Although my account was created at @gtgโs suggestion long time ago (on October 14, 2021), this is the very first time I'm writing a post here! ๐
I wanted to take a moment to summarize my contributions to Hive ๐ so far and share some thoughts about my view of the platformโs future. ๐
What Have I Done?
First Contributions
I started contributing to the Hive core on March 11, 2021 (just after the hard fork), and one of my very first contributions was the Merge Request titled โRemove MIRAโ.
It might look strange that one of the first contribution involved deleting nearly 10k lines of code, but trust me, I did my best to balance that number out later on! ๐
My next task was to upgrade the C++ version in the hived source code to C++17, which is still in use today. ๐
After that, I added the โoffline modeโ to the cli_wallet ๐ (Back in the good old days, this tool was the only way to create and send transactions to the blockchain). I also took part in transitioning from legacy operation serialization ([0,{...}]
) to the new format ({"type":"vote_operation","value":{...}}
) ๐ญ.
Remember when I said those deleted lines would be balanced out? Here we go:
Maybe not 10k yet, but weโre getting there! ๐
This task made me memorize around 11k lines of code ๐คช (database.cpp
, hive_evaluator.cpp
, and hive_operations.hpp
).
The toolโs name is Blockchain Converter.
Basically, with this tool, you can create your own mirrored network with a tampered chain ID, and optionally, a โglobal authorityโ with your skeleton key - perfect for dApp testing purposes. ๐ง
Not only does it convert previous blocks, but it also supports a โLiveโ mode where blocks are analyzed, converted, and instantly transmitted as signed transactions to the mirrored witness node. ๐
@gtg explained the technical details in this post, along with other posts linked within it.
With a lot of help from my mentor (@small.minion) ๐ค , I also successfully implemented optimizations in HAF by introducing a new PostgreSQL base type: operation.
This allowed storing and managing operations in binary form, converting to human-readable JSON only on demand. ๐ค
Next Generation of Hive Software
Given the growing interest in Hive-related higher-level language libraries (Python/JS) and the complex Hive architecture, which had to be rewritten for every app or library, we decided to create official next-generation Hive libraries based on a common C++ Hive Protocol core! ๐
About two years ago, @thebeedevs group emerged and started experimenting with WASM (WebAssembly) using Emscripten, which led to the creation of the Wax and Beekeeper libraries. ๐ฏ These libraries can be used for a wide range of tasks (from basic API calls to advanced cryptographic functions) on both Web and Node (server) platforms, leveraging protobufs for common type definitions. They were discussed in detail in this post.
My role in the group was to create an advanced, but easy to use TypeScript interface and integrate it with the Hive Protocol methods:
Whatโs special is that all these methods are fully documented so you donโt need to consult any online documentation - full support for types and IntelliSense on board (even for API calls)! ๐คฏ
And to better illustrate, how simple using Wax is - thanks to its operationBinaryViewMetadata
function, I was able to implement binary view component (used in Transaction Inspector) in just a week!
Shortly after, I started working on an automation library called WorkerBee, discussed here. This tool allows you to automate almost anything on the blockchain, from advanced personalized tools ๐ฅธ to large on-chain games. ๐ฎ
This Telegram bot was created in 2 days and 100 lines of code using WorkerBee
Wax, Beekeeper, and WorkerBee also enhanced the development of the Block Explorer UI, Denser, Hive Bridge, and Transaction Inspector! ๐
Current Work
We recently passed the audit for the Hive Wallet (MetaMask Snap) and are planning to develop Hive Bridge as a central hub for decentralized authorization on the Hive blockchain. ๐
Additionally, multiple bots are currently under development using WorkerBee.
Due to high demand, @small.minion and I optimized Wax to significantly speed up bots by more than 8 times!
Now, using JavaScript, bots can analyze 7 days of past blockchain data (~200k blocks) and perform custom operations in under 15 minutes! ๐ฒ
Summary
I really have fond memories of the last 4 years with Hive. It was nice to meet everyone at various events, including those organized by @krolestwo (Which I highly recommend you visit). ๐
These 4 years also came with the transformation - Transformation of the shy back-end guy, writing small utils in C++ into a full-(grown)stack developer, programming dApps and entire frameworks! ๐ฆธ I have to say I am really proud of my progress and want to share the knowledge and experience I gained with other Hive Developers!
Hive Projects I Have Contributed To:
- hived
- cli_wallet
- Blockchain Converter
- Beekeeper
- Wax
- External Wax signers - PeakVault, Keychain, Hive Wallet, hb-auth
- WorkerBee
- Multiple WorkerBee bots (details coming soon!)
- Transaction Inspector via Binary view component (Distributed for Vue and Web Component)
- Hive Wallet, developed under the close guidance of @small.minion
- Hive Bridge
- hb-auth, Denser, Block Explorer UI (minor fixes, issue resolutions, etc.)
- HAF, HAF Block Explorer, Balance Tracker, Reputation Tracker (including automatic generation of Wax API specifications)
Personal Thoughts on Hiveโs Future
Hive is an amazing platform filled with wonderful people, building cutting-edge technologies, nurturing great communities, and helping those in need. ๐ฐ
My dream is for Hive to return to the Top 100 cryptocurrencies on CoinGecko ๐. I firmly believe we can achieve this through hard work, hackathons, live events, and various integrations such as WalletConnect and Cosmos. ๐
Letโs keep building the Hive ecosystem together! ๐โจ
Images from private archive & chatgpt.com
Congratulations @mtyszczak! You received a personal badge!
You can view your badges on your board and compare yourself to others in the Ranking
Check out our last posts:
I can't believe it is already > 4 years when we work together.
From my perspective, the most beautiful thing is the memory of important aspects of programming such as resource management, good Object Oriented Design acquired while (very successfull) learning C++, enriched with perfect knowledge of TypeScript ๐ฅ and front-end technologies.
Congratulations ๐
Glad to see you on Hive and Happy Coding โ โ โ
Hopefully he can manage coding / blogging balance ;-)
Seriously... when did that happen?!
While we were compiling our c++ code
Finally! I'm happy to see you here :-D
Congratulations @mtyszczak! You received a personal badge!
You can view your badges on your board and compare yourself to others in the Ranking
Check out our last posts:
Welcome to the Hive! Cool to see your contributions to the core since the hard fork ๐ ๏ธ๐. Looking forward to the future!
Congratulations @mtyszczak! You received a personal badge!
You can view your badges on your board and compare yourself to others in the Ranking
Check out our last posts:
You also kept your cool well during the time Bartek and I were having epic text battles about the wax API :-)
I gave it my best shot! ๐ As always to do things best as we can do
I truly hope Wax continues to improve with APIs that meet everyone's needs! ๐ค
People like you makes this platform amazing
It's a nice one
Great to have you here.
I've been on hive for the past 8 years and have full faith in the chain's potential when i see pasts like this.
I'm delighted to see you posting as one of the key factors here is our community and our connection between users, devs, witnesses and everybody else.
It's so cool to be playing a game but also reading the owners content and be able to chat with them on chain. The same goes for all devs and even blocktrades is approachable if you comment.
This is a very unique place and if we can make it the best place to build apps and projects then we will start to grow again.
We are so happy to have you on here!!
I have no idea what magic you're talking about but wow, truly enjoyed this post. Loving the energy. ๐ Hi!
Nice to see what you did!!! Also nice to see that you write your first post. :D
Welcome here! =)
Thanks for your work on Hive core and apps, and for taking the step to write about it!
Thanks for your efforts. I hope you will find more reasons to post on Hive as that really can be about anything.
There was a time when we had a top 10 coin. Now I'd be happy with top 100.
!BEER
View or trade
BEER
.Hey @mtyszczak, here is a little bit of
BEER
from @steevc for you. Enjoy it!Learn how to earn FREE BEER each day by staking your
BEER
.Thanks for the work you are doing.
Glad to have you on board!
You've contributed greatly in your four years on #hive. Nice to see you made your first post and I had a nice time reading through.
Hello mtyszczak!
It's nice to let you know that your article will take 5th place.
Your post is among 15 Best articles voted 7 days ago by the @hive-lu | King Lucoin Curator by szejq
You receive ๐ 1.6 unique LUBEST tokens as a reward. You can support Lu world and your curator, then he and you will receive 10x more of the winning token. There is a buyout offer waiting for him on the stock exchange. All you need to do is reblog Daily Report 688 with your winnings.
Buy Lu on the Hive-Engine exchange | World of Lu created by szejq
STOP
or to resume write a wordSTART