It has been a busy week for the Hive Stream library, after rolling out support for code-level contracts, the progress has not stopped. Taking on feedback from others, real-world use as well as refining the code by strengthening the number of tests the library has, a tonne of improvements have been made.
The above is a screenshot of the contents of an SQLite table storing a specific transfer action, showcasing a way to store a record of events taking place within your contracts and applications, important for preventing multiple transfers and processing of blocks.
onCustomJsonIddhive now ships with failover support in the client itself.JSON_ID and PAYLOAD_IDENTIFIER respectively.More contracts are on the way to showcase what you can do with the library, as well an expansion of the dice contract tutorial where we will create a MongoDB database adapter and show you how you can keep track of transfers to keep a record, ensuring that transactions don't get missed and more. Another planned feature is integrity checks of contracts to ensure that a contract running is the contract you wanted as well as versioning of contracts.
After all of this foundational work, support for Hive Engine tokens and sidechain operations will also be added into the library. All of these changes have been published in a new major version of the hive-stream library version 2.0.0 installable via npm install hive-stream. As always, contributions are always welcomed and feedback/issues.