EventWarden: A Decentralized Event-driven Proxy Service for Outsourcing Arbitrary Transactions in Ethereum-like Blockchains

04/27/2020
by   Chao Li, et al.
0

Transactions represent a fundamental component in blockchains as they are the primary means for users to change the blockchain state. Current blockchain systems such as Bitcoin and Ethereum require users to constantly observe the state changes of interest or the events taking place in a blockchain and requires the user to explicitly release the required transactions to respond to the observed events in the blockchain. This paper proposes EventWarden, a decentralized event-driven proxy service for users to outsource transactions in Ethereum-like blockchains. EventWarden employs a novel combination of smart contracts and blockchain logs. EventWarden allows a user to create a proxy smart contract that specifies an interested event and also reserves an arbitrary transaction to release. Upon observing the occurrence of the prescribed event, anyone in the Blockchain network can call the proxy contract to earn the service fee reserved in the contract by proving to the contract that the event has been recorded into blockchain logs, which then automatically triggers the proxy contract to release the reserved transaction. We show that the reserved transaction can only get released from the proxy contract when the prescribed event has taken place. We also demonstrate that as long as a single member in the Blockchain network is incentivized by the service fee to call the proxy contract after the prescribed event has taken place, the reserved transaction is guaranteed to get released. We implement EventWarden over the Ethereum official test network. The results demonstrate that EventWarden is effective and is ready-to-use in practice.

READ FULL TEXT
research
02/13/2023

DeFi and NFTs Hinder Blockchain Scalability

Many classical blockchains are known to have an embarrassingly low trans...
research
08/19/2021

Max-min Fairness Based Faucet Design for Blockchains

In order to have transactions executed and recorded on blockchains such ...
research
06/22/2020

MAD-HTLC: Because HTLC is Crazy-Cheap to Attack

Smart Contracts and transactions allow users to implement elaborate cons...
research
08/10/2022

TokenPatronus: A Decentralized NFT Anti-theft Mechanism

The emergence of metaverse brings tremendous evolution to Non-Fungible T...
research
01/15/2020

Evolution of Ethereum: A Temporal Graph Perspective

Ethereum is one of the most popular blockchain systems that supports mor...
research
05/21/2021

Exploring Ethereum's Data Stores: A Cost and Performance Comparison

The cost of using a blockchain infrastructure as well as the time requir...
research
02/14/2019

Decentralized Release of Self-emerging Data using Smart Contracts

In the age of Big Data, releasing protected sensitive data at a future p...

Please sign up or login with your details

Forgot password? Click here to reset