860 research outputs found
An Empirical Study of Speculative Concurrency in Ethereum Smart Contracts
We use historical data to estimate the potential benefit of speculative techniques for executing Ethereum smart contracts in parallel. We replay transaction traces of sampled blocks from the Ethereum blockchain over time, using a simple speculative execution engine. In this engine, miners attempt to execute all transactions in a block in parallel, rolling back those that cause data conflicts. Aborted transactions are then executed sequentially. Validators execute the same schedule as miners.
We find that our speculative technique yields estimated speed-ups starting at about 8-fold in 2016, declining to about 2-fold at the end of 2017, where speed-up is measured using either gas costs or instruction counts. We also observe that a small set of contracts are responsible for many data conflicts resulting from speculative concurrent execution
Smart Contract Upgradeability on the Ethereum Blockchain Platform: An Exploratory Study
Context: Smart contracts are computerized self-executing contracts that
contain clauses, which are enforced once certain conditions are met. Smart
contracts are immutable by design and cannot be modified once deployed, which
ensures trustlessness. Despite smart contracts' immutability benefits,
upgrading contract code is still necessary for bug fixes and potential feature
improvements. In the past few years, the smart contract community introduced
several practices for upgrading smart contracts. Upgradeable contracts are
smart contracts that exhibit these practices and are designed with
upgradeability in mind. During the upgrade process, a new smart contract
version is deployed with the desired modification, and subsequent user requests
will be forwarded to the latest version (upgraded contract). Nevertheless,
little is known about the characteristics of the upgrading practices, how
developers apply them, and how upgrading impacts contract usage.
Objectives: This paper aims to characterize smart contract upgrading patterns
and analyze their prevalence based on the deployed contracts that exhibit these
patterns. Furthermore, we intend to investigate the reasons why developers
upgrade contracts (e.g., introduce features, fix vulnerabilities) and how
upgrades affect the adoption and life span of a contract in practice.
Method: We collect deployed smart contracts metadata and source codes to
identify contracts that exhibit certain upgrade patterns (upgradeable
contracts) based on a set of policies. Then we trace smart contract versions
for each upgradable contract and identify the changes in contract versions
using similarity and vulnerabilities detection tools. Finally, we plan to
analyze the impact of upgrading on contract usage based on the number of
transactions received and the lifetime of the contract version
Decentralizing Science: Towards an Interoperable Open Peer Review Ecosystem using Blockchain
Science publication and its Peer Review system strongly rely on a few major industry players controlling most journals (e.g. Elsevier), databases (e.g. Scopus) and metrics (e.g. JCR Impact Factor), while keeping most articles behind paywalls. Critics to such system include concerns about fairness, quality, performance, cost, unpaid labor, transparency, and accuracy of the evaluation process. The Open Access movement has tried to provide free access to the published research articles, but most of the aforementioned issues remain. In such context, decentralized technologies such as blockchain offer an opportunity to experiment with new models for science production and dissemination relying on a decentralized infrastructure, aiming to tackle multiple of the current system shortcomings. This paper makes a proposal for an interoperable decentralized system for an open peer review ecosystem, relying on emerging distributed technologies such as blockchain and IPFS. Such system, named ``Decentralized Science'' (DecSci), aims to enable a decentralized reviewer reputation system, which relies on an Open Access by-design infrastructure, together with transparent governance processes. Two prototypes have been implemented: a proof-of-concept prototype to validate DecSci's technological feasibility, and a Minimum Viable Product (MVP) prototype co-designed with journal editors. In addition, three evaluations have been carried out: an exploratory survey to assess interest on the issues tackled, a set of interviews to confirm the main problems for editors, and another set of interviews to validate the MVP prototype. Additionally, the paper discusses the multiple interoperability challenges such proposal faces, including an architecture to tackle them. This work finishes with a review of some of the open challenges that this ambitious proposal may face
Designing Incentives Enabled Decentralized User Data Sharing Framework
Data sharing practices are much needed to strike a balance between user privacy, user experience, and profit. Different parties collect user data, for example, companies offering apps, social networking sites, and others, whose primary motive is an enhanced business model while giving optimal services to the end-users. However, the collection of user data is associated with serious privacy and security issues. The sharing platform also needs an effective incentive mechanism to realize transparent access to the user data while distributing fair incentives. The emerging literature on the topic includes decentralized data sharing approaches. However, there has been no universal method to track who shared what, to whom, when, for what purpose and under what condition in a verifiable manner until recently, when the distributed ledger technologies emerged to become the most effective means for designing a decentralized peer-to-peer network. This Ph.D. research includes an engineering approach for specifying the operations for designing incentives and user-controlled data-sharing platforms. The thesis presents a series of empirical studies and proposes novel blockchains- and smart contracts-based DUDS (Decentralized User Data Sharing) framework conceptualizing user-controlled data sharing practices. The DUDS framework supports immutability, authenticity, enhanced security, trusted records and is a promising means to share user data in various domains, including among researchers, customer data in e-commerce, tourism applications, etc. The DUDS framework is evaluated via performance analyses and user studies. The extended Technology Acceptance Model and a Trust-Privacy-Security Model are used to evaluate the usability of the DUDS framework. The evaluation allows uncovering the role of different factors affecting user intention to adopt data-sharing platforms. The results of the evaluation point to guidelines and methods for embedding privacy, user transparency, control, and incentives from the start in the design of a data-sharing framework to provide a platform that users can trust to protect their data while allowing them to control it and share it in the ways they want
Dissecting Smart Contract Languages: A Survey
Blockchain is a distributed ledger technology that gained popularity for
enabling the transformation of cryptocurrency among peers without mediation by
a centralized third-party authority. Smart contracts expand the applications of
blockchain technology and have played a role in its widespread adoption. Smart
contracts are immutable digital programs that are deployed on blockchains to
codify agreements between parties. Existing smart contract implementations have
faced challenges, including security vulnerabilities, leading to significant
losses and concerns. This has stimulated a wave of attempts to improve Smart
Contract Languages (SCLs) to overcome implementation challenges and ensure code
quality, producing many languages with diverse features. Scholars have made
some attempts to classify SCLs and clarify the process of selecting an SCL, but
to the best of our knowledge, no comprehensive survey of existing SCLs has been
published. Our work surpasses earlier efforts by evaluating a significantly
larger set of SCLs, in greater depth, to ease the process of SCL selection for
blockchain research and implementation. In this paper, we (1) propose a robust
framework for comparing existing SCLs, (2) analyze and discuss 36 SCLs,
addressing issues beyond those used to construct the comparison framework, and
(3) define new parameters for future research and development of SCLs. The
survey provides a guide for those who intend to select or use an SCL to
implement smart contracts, develop new SCLs, or add new extensions to the
existing SCLs
Blockchain for economically sustainable wireless mesh networks
This is the peer reviewed version of the following article: Kabbinale, AR, Dimogerontakis, E, Selimi, M, et al. Blockchain for economically sustainable wireless mesh networks. Concurrency Computat Pract Exper. 2020; 32:e5349, which has been published in final form at https://doi.org/10.1002/cpe.5349. This article may be used for non-commercial purposes in accordance with Wiley Terms and Conditions for Self-Archiving.Decentralization, in the form of mesh networking and blockchain, two promising technologies, is coming to the telecommunications industry. Mesh networking allows wider low-cost Internet access with infrastructures built from routers contributed by diverse owners, whereas blockchain enables transparency and accountability for investments, revenue, or other forms of economic compensations from sharing of network traffic, content, and services. Crowdsourcing network coverage, combined with crowdfunding costs, can create economically sustainable yet decentralized Internet access. This means that every participant can invest in resources and pay or be paid for usage to recover the costs of network devices and maintenance. While mesh networks and mesh routing protocols enable self-organized networks that expand organically, cryptocurrencies and smart contracts enable the economic coordination among network providers and consumers. We explore and evaluate two existing blockchain software stacks, Hyperledger Fabric (HLF) and Ethereum geth with Proof of Authority (PoA) intended as a local lightweight distributed ledger, deployed in a real city-wide production mesh network and in laboratory network. We quantify the performance and bottlenecks and identify the current limitations and opportunities for improvement to serve locally the needs of wireless mesh networks, without the privacy and economic cost of relying on public blockchains.This paper has been supported by the AmmbrTech Group, the Spanish Government TIN2016‐77836‐C2‐2‐R and the European Community H2020 Programme netCommons (H2020‐688768). The authors would like to thank the people from the Guifi.net (Guifi‐Sants) community network for hosting the servers and supporting the experiments.Peer ReviewedPostprint (author's final draft
Saving Product Using Blockchain for E-BMT Platform
Baitul Maal Wa At Tamwil (BMT) is a sharia financial institution that provides savings and loan services in accordance with the social, cultural, and economic needs of rural communities, especially in agricultural and plantation communities. The current data management is still using manual recording and a centralized server which can cause fraudulent financial reports and creates a lack of credibility between BMT and its customers. The research method is to decentralize the application data system by using blockchain technology, then replacing the conventional database to blockchain system. The simulation shows that the e-BMT application are connected to blockchain network as intended, users can use metamask to interact with the Ethereum network, the blockchain implementation on e-BMT application has run according to expectations with a 100% success rate with the average transfer time on two devices of 9.47 seconds and 12.13 seconds. While the results of data entry time on two devices obtained an average of 9.96 seconds and 37.09 seconds. While the blockchain implementation on e-BMT could provide access to every user so that each entity could confirm the validity of the transactions, the size of the transactions, and other data recorded on the blockchain without having to develop an integrated database system. The research contributes in two aspects, first, we develop the distributed blockchain system using public Ethereum blockchain network integrated with with popular e-wallet such as metamask, provides easy access for both customers and BMT parties who are connected to the network so that the recorded data can be accessed by anyone, and second, the application of blockchain technology to BMT is capable to interact with users as it is built on a website platform with RESTful API
- …