Psamathe: A DSL with Flows for Safe Blockchain Assets
Programming Languages
2020-11-24 v2
Abstract
Blockchains host smart contracts for crowdfunding, tokens, and many other purposes. Vulnerabilities in contracts are often discovered, leading to the loss of large quantities of money. Psamathe is a new language we are designing around a new flow abstraction, reducing asset bugs and making contracts more concise than in existing languages. We present an overview of Psamathe, including a partial formalization. We also discuss several example contracts in Psamathe, and compare the Psamathe examples to the same contracts written in Solidity.
Keywords
Cite
@article{arxiv.2010.04800,
title = {Psamathe: A DSL with Flows for Safe Blockchain Assets},
author = {Reed Oei and Michael Coblenz and Jonathan Aldrich},
journal= {arXiv preprint arXiv:2010.04800},
year = {2020}
}
Comments
Working draft