4 ms·
On Ethereum there is no built in way to have a contract be called periodically, say every 5 blocks, or at a specific time in the future. This contract creates a
by pipermerriam 11y ago
On Ethereum there is no built in way to have a contract be called periodically, say every 5 blocks, or at a specific time in the future. This contract creates a market which allows contracts to hire people to call them at the requested time.
- mmanfrin 11y agoWhat is a contract, and why would people want one called periodically?
- pipermerriam 11y agoA contract is the term for an application that has been deployed on Ethereum. Contracts expose functions as an API that others can use to interact with them.
- joeyspn 11y ago> What is a contract... A contract is a group of functions that live in the Ethereum Blockchain (a distributed virtual machine for running decentralized applications) > Why would people want one called periodically? For the same reason people need cron to call periodic functions.
- deleted 11y ago[deleted]
- calinet6 11y ago> This contract creates a market which allows contracts to hire people to call them at the requested time. Does that mean that if 'market conditions' deteriorate or make it unfavorable to 'take the job' as it were, that the reliability of this system would take a hit?
- pipermerriam 11y agoExecuting a scheduled call is always profitable, so no. People would just make less money. The market aspect is more akin to a marketplace where people are hired to do a job. And the job is entirely automatable.
- calinet6 11y agoIs there some world where demand for scheduled calls exceeds the market's capacity to execute them? And no one has the means or immediate liquidity to switch what they're doing to make a profit off that gap? I'm just thinking this is really loosely tied system, and it's interesting to think of all the possibilities for how it could break down.
- pipermerriam 11y agoI think the number of transactions/second will always be reached before demand could outpace the ability for people to execute the calls. You are correct that it would be an interesting world if somehow demand for scheduled call execution spiked to some massive number that outpaced the ability to execute them. I am having trouble thinking of realistic scenarios where that happens but that doesn't preclude it as a possibility.
- deleted 11y ago[deleted]