I'm trying to create a token that holders can earn some amount contantly by a certain rate. Don't want to depend on transactions to give tokens to holders. An idle contract must constantly do it.
Is there any way to do this without running out of gas ?
Just an example:
- You buy 100 tokens and go sleep. The contract will reward you at 0.0001 token / hour
Yea I know I can't write anything to the constract storage without spend gas and fees so I can't see how I can do it.