Papers1 provider · 1 record
January 1, 2021· OASIcs, Volume 95, FMBC 2021
conference-paper

Towards Contract Modules for the Tezos Blockchain (Short Paper)

Authors:Doan, Thi Thu HaThiemann, Peter

Abstract

Programmatic interaction with a blockchain is often clumsy. Many interfaces handle only loosely structured data, often in JSON format, that is inconvenient to handle and offers few guarantees. Contract modules provide a statically checked interface to interact with contracts on the Tezos blockchain. A module specification provides all types as well as information about potential failure conditions of the contract. The specification is checked against the contract implementation using symbolic execution. An OCaml module is generated that contains a function for each entry point of the contract. The types of these functions fully describe the interface including the failure conditions and guarantee type-safe and sometimes fail-safe invocation of the contract on the blockchain.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.