Scheduling Ethereum transactions using an alarm clock
Ethereum needs an external actor to perform transactions. This restricts anyone to schedule a transaction which will get executed in the future. Ethereum has a scheduling smart contract, which helps in solving such problems. This contract helps to design and implement more complex DApps that depend on future transactions.
In this recipe, you will learn to schedule transactions that will be executed in the future and develop DApps around those future transactions.
Getting ready
You need to have an understanding of Ethereum and smart contracts to get more out of this recipe. Refer to the first three chapters of this book to get a basic understanding of Ethereum and building DApps.
How to do it…
- Ethereum Alarm Clock(EAC) is a smart contract that lives in the Ethereum blockchain. This makes the service trusted and accessible from other smart contracts.
- To interact with the EAC service, you need to use the
scheduler
interface. The interface provides...