youtube image
From YouTube: Démonstration d'une génération prouvée d'un chaincode HL Fabric

Description

Nous allons présenter des résultats préliminaires tirés de notre travail actuel portant sur la spécification et la vérification de chaincodes HLF.
La méthodologie proposée consiste en l'utilisation de l'outil Why3 [1] (ainsi que de son langage dédié WhyML et de solveurs SMT tiers) afin de spécifier, implémenter et prouver des chaincodes.
L'outil Why3 permet ensuite d'extraire un chaincode dans le langage OCaml. Enfin, nous avons développé OCaml-chaincode-shim [2] pour rendre ces chaincodes OCaml exécutables sur un noeud HLF.
Nous démontrerons l'application de cette méthodologie sur un scénario de développement sans code d'un superviseur de workflow (qui pourrait être un composant critique au sein d'un système de tracabilité d'une chaîne logistique industrielle).
Ce scénario débute par la spécification abstraite du workflow à l'aide d'un formalisme graphique (comparable à [3]) et se termine par le déploiement d'un chaincode formellement vérifié sur un testnet HLF.

We will show some preliminary results of our ongoing work to enable formal specification and verification of HLF chaincode.
The proposed methodology consists in using the tool Why3 [1] (and its underneath language WhyML, and third-party SMT solvers) to specify, implement and prove the chaincodes.
The tool Why3 then extracts an OCaml chaincode. Finally, we developped OCaml-chaincode-shim [2] to make OCaml chaincodes executable by an HLF peer.
We will demonstrate the application of this methodology on a no code development scenario of a workflow supervisor (that could be a critical component of an industrial supply chain traceability system).
This scenario starts with an abstract specification of the workflow in a graphical formalism (in the vein of [3]) and ends with a formally verified chaincode living in a HLF testnet.

[1] : Filliâtre, J. C., & Paskevich, A. (2013, March). Why3—where programs meet provers. In European symposium on programming (pp. 125-128). Springer, Berlin, Heidelberg.
[2] : https://github.com/hyperledger-labs/fabric-chaincode-ocaml
[3] : Bistarelli, S., Faloci, F., & Mori, P. (2021, November). *. chain: automatic coding of smart contracts and user interfaces for supply chains. In 2021 Third International Conference on Blockchain Computing and Applications (BCCA) (pp. 164-171). IEEE.

----
Hyperledger – Open Source Blockchain Technologies

Hyperledger is an open source community focused on developing a suite of stable frameworks, tools and libraries for enterprise-grade blockchain deployments.
It serves as a neutral home for various distributed ledger frameworks including Hyperledger Besu, Fabric, Sawtooth, Indy, as well as tools like Hyperledger Avalon, Cactus and libraries like Hyperledger Aries, Ursa. Learn more about Hyperledger projects: https://www.hyperledger.org/use

Discord: https://discord.gg/rVCn4j7UFd
Case Studies: https://www.hyperledger.org/learn/case-studies
Training & Certification: https://www.hyperledger.org/learn/training
Tutorials: https://www.hyperledger.org/use/tutorials
Webinars: https://www.hyperledger.org/learn/webinars
Events: https://www.hyperledger.org/events
Vendor Directory: https://www.hyperledger.org/use/vendor-directory

Subscribe to the Hyperledger Newsletter: https://www.hyperledger.org/newsletter

Follow-us on Twitter @Hyperledger

Learn about Hyperledger Membership: https://www.hyperledger.org/about/join

#Hyperledger #Blockchain
License
Creative Commons Attribution license (reuse allowed)