Cryptocurrencies like Bitcoin have developed free and decentralized tools to run currencies according to the free software way of life. They inspire the Duniter project, but Duniter adopts an egalitarian monetary creation based on The Relative Theory of Money, an article published in 2010 by Stéphane Laborde.
The project (version 2) is based on the Substrate framework written in Rust. Substrate provides a flexible framework for developing blockchain logic. This flexibility enables the implementation of sophisticated runtime logic based on a unit element called a pallet. Several pallets can report offenses that need to be sorted and executed in case of malfunctioning.
We implemented the offense management by forking the offense pallet from Substrate and adapting it to the Duniter project. The offense execution is implemented in the Duniter pallet that handles the blockchain authorities.