Abstract
Contracts enable mutually suspicious parties to cooperate safely through the exchange of rights. Smart contracts are programs whose behavior enforces the terms of the contract. This paper shows how such contracts can be specified elegantly and executed safely, given an appropriate distributed, secure, persistent, and ubiquitous computational fabric. JavaScript provides the ubiquity but must be significantly extended to deal with the other aspects. The first part of this paper is a progress report on our efforts to turn JavaScript into this fabric. To demonstrate the suitability of this design, we describe an escrow exchange contract implemented in 42 lines of JavaScript code. © 2013 Springer-Verlag.
Author supplied keywords
Cite
CITATION STYLE
Miller, M. S., Van Cutsem, T., & Tulloh, B. (2013). Distributed electronic rights in JavaScript. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7792 LNCS, pp. 1–20). https://doi.org/10.1007/978-3-642-37036-6_1
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.