Abstract
In blockchains such as Bitcoin and Ethereum, transactions represent the primary mechanism that the external world can use to trigger a change of blockchain state. Transactions serve as key sources of evidence and play a vital role in forensic analysis. Timed transaction refers to a specific class of service that enables a user to schedule a transaction to change the blockchain state during a chosen future time-frame. This paper proposes T-Watch, a decentralized and cost-efficient approach for users to schedule timed execution of any type of transaction in Ethereum with privacy guarantees. T-Watch employs a novel combination of threshold secret sharing and decentralized smart contracts. To protect the private elements of a scheduled transaction from getting disclosed before the future time-frame, T-Watch maintains shares of the decryption key of the scheduled transaction using a group of executors recruited in a blockchain network before the specified future time-frame and restores the scheduled transaction at a proxy smart contract to trigger the change of blockchain state at the required time-frame. To reduce the cost of smart contract execution in T-Watch, we carefully design the proposed protocol to run in an optimistic mode by default and then switch to a pessimistic mode once misbehaviors occur. Furthermore, the protocol supports users to form service request pooling to further reduce the gas cost. We rigorously analyze the security of T-Watch and implement the protocol over the Ethereum official test network. The results demonstrate that T-Watch is more scalable compared to the state of the art and could reduce the cost by over 90% through pooling.
Introduction
Blockchains like Ethereum are inherently reactive systems; they lack a native "alarm clock" mechanism to trigger state changes at a specific future time. This limitation hinders various decentralized applications, such as sealed-bid auctions, scheduled payroll, and confidential contract releases. While "Timed Transactions" (TT) aim to solve this, existing solutions often suffer from three critical drawbacks: centralization (relying on a single trusted provider), privacy leaks (revealing transaction details at the time of scheduling), and high operational costs (often scaling linearly with the number of participants).
T-Watch addresses these challenges by providing a decentralized, privacy-preserving, and cost-efficient scheduled execution service. Unlike previous attempts that only supported specific function calls, T-Watch is designed to handle any Ethereum transaction type, including fund transfers and complex contract deployments.
System Architecture and Methodology
T-Watch utilizes a committee-driven architecture that balances security with efficiency through two primary pillars: Threshold Secret Sharing (TSS) and a tiered execution model.
Threshold Secret Sharing (TSS)
To ensure privacy, a user encrypts their transaction before scheduling it. The decryption key is split into $n$ shares using Shamir’s Secret Sharing and distributed among a recruited group of executors. The transaction remains private and cannot be decrypted until a predefined threshold $t$ of these executors cooperate during the scheduled time window. This prevents front-running and ensures that transaction details—such as the recipient or the amount—remain confidential until execution.
Tiered Execution Paths
To minimize the "gas" fees associated with on-chain smart contract execution, T-Watch implements three distinct operational modes:
- T-Opt (Optimistic Path): This is the default mode. It assumes executors will act honestly. By using a lightweight proxy contract to trigger execution, it keeps on-chain costs to a minimum.
- T-Pes (Pessimistic Path): This serves as a fallback mechanism. If executors misbehave (e.g., failing to reveal their key shares), the protocol switches to this mode. It employs a "watchdog" mechanism to penalize dishonest actors and reward those who report the misbehavior.
- T-Pool (Pooling Path): This innovative feature allows multiple users to join a service pool led by a single user. By sharing the same committee of executors, the setup cost is amortized, effectively reducing the complexity from $O(n)$ to $O(1)$ for the followers in the pool.
Evaluation and Results
The authors implemented T-Watch on the Ethereum Rinkeby test network and evaluated its performance using six years of historical gas prices and Ether exchange rates (2015–2021) sourced from Etherscan.
Cost Efficiency
The pooling mechanism proved highly effective. The cost for a "follower" to schedule a transaction was reduced to approximately $0.14, a stark contrast to the $9.00+ required for a standalone optimistic execution. This represents a cost reduction of over 90%.
Scalability and Security
Compared to state-of-the-art decentralized solutions like TimedExe and Kimono, T-Watch demonstrates superior scalability. While competitors' costs spike linearly as the number of executors increases, T-Watch’s optimistic path remains relatively flat. Furthermore, rigorous analysis confirms that the protocol is resistant to Sybil attacks and bribery attacks, provided the adversary's budget is bounded.
Limitations and Future Work
While T-Watch provides a robust framework, it currently operates under a "rationality assumption," meaning it assumes participants are motivated by financial incentives. Future work will focus on enhancing the mechanism to handle "irrational" or purely malicious actors who may be willing to incur financial losses to disrupt the service. Additionally, the protocol's reliance on off-chain P2P communication channels (like the Whisper protocol) presents a potential bottleneck if those channels become unreliable, potentially forcing more frequent transitions to the expensive pessimistic path.
Conclusion
T-Watch represents a significant step toward practical, private, and decentralized timed transactions on the blockchain. By combining threshold cryptography with an optimistic execution model and service pooling, it offers a scalable solution that significantly lowers the barrier to entry for scheduled blockchain actions.
Summary updated