jklepatch / eattheblocks

Source code for Eat The Blocks, a screencast for Ethereum Dapp Developers
https://eattheblocks.com
4k stars 3.2k forks source link

How to automate a function in a smart contract? #159

Open qnxdev opened 2 years ago

qnxdev commented 2 years ago

Despite its name, ‘smart’ contracts in Ethereum are not self-executing. You need an external source (either human or machine) to call the smart contract and execute its code.

But projects like TIME wonderland has already automated rebase rewards. I wonder how is it possible.

Can someone explain?

Thanks in advance

moesaleh commented 2 years ago

Using Chainlink Keepers Node, you can run automated jobs in a decentralized manner

Kali-Decoder commented 2 years ago

Yes You Can automate smart contracts by the help of external package or external smart contract that helps to automate your smart contract functions that is Chainlink Keepers Oracle system Developed by chain link. Chainlink Keepers provide two function one for register your automate function and other one for self called function to automate your smart contract function and it takes gasFees also in terms Of LINK Token of chain link. hope it will Help you.

Happy Codding !!!