An Alternative Paradigm for Developing and Pricing Storage on Smart Contract Platforms

02/03/2019
by   Christos Patsonakis, et al.
0

Smart contract platforms facilitate the development of important and diverse distributed applications in a simple manner. This simplicity stems from the inherent utility of employing the state of smart contracts to store, query and verify the validity of application data. In Ethereum, data storage incurs an underpriced, non-recurring, predefined fee. Furthermore, as there is no incentive for freeing or minimizing the state of smart contracts, Ethereum is faced with a tragedy of the commons problem with regards to its monotonically increasing state. This issue, if left unchecked, may lead to centralization and directly impact Ethereum's security and longevity. In this work, we introduce an alternative paradigm for developing smart contracts in which their state is of constant size and facilitates the verification of application data that are stored to and queried from an external, potentially unreliable, storage network. This approach is relevant for a wide range of applications, such as any key-value store. We evaluate our approach by adapting the most widely deployed standard for fungible tokens, i.e., the ERC20 token standard. We show that Ethereum's current cost model penalizes our approach, even though it minimizes the overhead to Ethereum's state and aligns well with Ethereum's future. We address Ethereum's monotonically increasing state in a two-fold manner. First, we introduce recurring fees that are proportional to the state of smart contracts and adjustable by the miners that maintain the network. Second, we propose a scheme where the cost of storage-related operations reflects the effort that miners have to expend to execute them. Lastly, we show that under such a pricing scheme that encourages economy in the state consumed by smart contracts, our ERC20 token adaptation reduces the incurred transaction fees by up to an order of magnitude.

READ FULL TEXT
research
11/26/2017

Designing Secure Ethereum Smart Contracts: A Finite State Machine Based Approach

The adoption of blockchain-based distributed computation platforms is gr...
research
02/03/2019

On the Practicality of Smart Contract PKI

Public key infrastructures (PKIs) are one of the main building blocks fo...
research
07/17/2021

Rectifying Administrated ERC20 Tokens

The developers of Ethereum smart contracts often implement administratin...
research
01/14/2021

On the Synchronization Power of Token Smart Contracts

Modern blockchains support a variety of distributed applications beyond ...
research
11/28/2018

Detecting Token Systems on Ethereum

We propose and compare two approaches to identify smart contracts as tok...
research
07/29/2019

The Operational Cost of Ethereum Airdrops

Efficient transfers to many recipients present a host of issues on Ether...
research
12/21/2022

Do NFTs' Owners Really Possess their Assets? A First Look at the NFT-to-Asset Connection Fragility

NFTs (Non-Fungible Tokens) have experienced an explosive growth and thei...

Please sign up or login with your details

Forgot password? Click here to reset