vix.ing · top · new · best · stats · spec

A Typed Programmatic Interface to Contracts on the Blockchain

2021/08/26 by Thi Thu Ha Doan, Doan, Thi Thu Ha, Peter Thiemann +1 · 1 voice
Computer Science · #68N15 #FOS: Computer and information sciences #Programming Languages (cs.PL) #cs.PL

paper · pdf · doi:10.48550/arxiv.2108.11867

arxiv published 2021/08/26 · arxiv updated 2021/08/29

Abstract

Smart contract applications on the blockchain can only reach their full potential if they integrate seamlessly with traditional software systems via a programmatic interface. This interface should provide for originating and invoking contracts as well as observing the state of the blockchain. We propose a typed API for this purpose and establish some properties of the combined system. Specifically, we provide an execution model that enables us to prove type-safe interaction between programs and the blockchain. We establish further properties of the model that give rise to requirements on the API. A prototype of the interface is implemented in OCaml for the Tezos blockchain.

Discussions

Related