Translate

venerdì 25 febbraio 2022

A market of validation power

The latest version 1.0.8 of Hotmoka is out today! The main novelty is the ability to create sale offers of validation power that later can be accepted by other users, so that the set of validator nodes grows and shrinks dynamically.

Sale offers can be created and accepted through the moka command-line utility.

Validators in Hotmoka are just instances of the more general notion of shared entities, that is, things that can be shared among users and whose shares can be sold and bought.
A shared entity is itself a contract. This means that governance in Hotmoka is implemented as a smart contract itself.
No special rules, no special transactions. A few hundred lines of Java code implement the market of validation power, in a simple and reliable way.
See the specific chapter of the Hotmoka documentation to learn how to create nodes with Docker and become a validator.