Papers1 provider Ā· 1 record
April 9, 2018Ā· Conference Companion of the 2nd International Conference on Art, Science, and Engineering of Programming
conference-paper

Writing safe smart contracts in Flint

Authors:Franklin SchransSusan EisenbachSophia Drossopoulou

Abstract

Blockchain-based platforms such as Ethereum support the execution of versatile decentralized applications, known as smart contracts. These typically hold and transfer digital currency (e.g., Ether) to other parties on the platform. Contracts have been subject to numerous attacks, losing hundreds of millions of dollars (in Ether). We propose Flint, a new type-safe, capabilities-secure, contract-oriented programming language specifically designed for writing robust smart contracts. To help programmers reason about access control of functions, Flint programmers use caller capabilities. To prevent vulnerabilities relating to the unintentional loss of currency, transfers of assets in Flint are performed through safe atomic operations, inspired by linear type theory.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.