This content originally appeared on DEV Community and was authored by DEV Community
When it comes to smart contracts, most of people assume that they are already built with automation. Actually, smart contracts are not smart enough.
The reason for this lack of automation lies in the Ethereum Virtual Machine (EVM) itself: programs only run for a few milliseconds at a time; persistent loops or “cron” jobs that constantly repeat themselves, typical in traditional operating systems, limit a miner from ever completing the state transition and thus mining a block.
As a result, these programs, called smart contracts, are limited to only storing state and logic. Without an outside impulse, they are functionally inactive. In order to execute their logic and to change their state, they require an external party to send a transaction to them in the first place.
Learn how to automate your smart contract in a 5-min tutorial video:
And you can find the docs here: https://docs.gelato.network/guides/tutorial
This content originally appeared on DEV Community and was authored by DEV Community
DEV Community | Sciencx (2022-03-05T11:10:13+00:00) How To Automate Your Smart Contracts Using Gelato. Retrieved from https://www.scien.cx/2022/03/05/how-to-automate-your-smart-contracts-using-gelato/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.