0

Can I trigger a smart contract on specific date? If I deploy a contract today and I want execute some function of that contract tomorrow without any exteral intervention. Is it possible?

1
  • Depends on your definition for external intervention. Commented Aug 30, 2019 at 14:37

1 Answer 1

2

It is not possible for a Smart Contract to trigger itself. However, you could use an external service like the Ethereum Alarm Clock which will trigger the Contract for you.

3
  • can you share some code snippet of how can I use EAC for scheduling transaction on specific date?
    – Junior_K27
    Commented Aug 30, 2019 at 6:51
  • Does EAC scheduler continuously use gas to run?
    – Junior_K27
    Commented Aug 30, 2019 at 7:52
  • The duplicate answer link has a good explanation, alternativly, the development team has a very good description with code examples in their wiki: ethereum-alarm-clock.readthedocs.io/en/latest/… Commented Sep 2, 2019 at 8:32

Not the answer you're looking for? Browse other questions tagged or ask your own question.