Sui.

帖子

分享您的知识。

deriss.
Jan 04, 2025
专家问答

How to automate SUI smart contracts like a cron job?

Hi folks! I'm trying to figure out if a SUI smart contract can execute its functions automatically, much like a cron job. Are there any blockchain mechanisms for this, and what are best practices to achieve it?

  • Sui
1
2
分享
评论
.

答案

2
LargeCappWithTwo.
Jan 5 2025, 17:36

不,除非由交易触发,否则SUI智能合约不会自动执行功能. 这意味着没有用于自主执行的本地时间事件.

2
最佳答案
评论
.
Elvin CLONE .
Jan 5 2025, 05:44

区块链平台通常本身不支持类似 cron 任务的功能. 您可能需要使用外部解决方案来按特定间隔触发智能合约功能.

1
评论
.

你知道答案吗?

请登录并分享。

Sui is a Layer 1 protocol blockchain designed as the first internet-scale programmable blockchain platform.

610帖子1384答案
Sui.X.Peera.

赚取你的 1000 Sui 份额

获取声誉积分,并因帮助 Sui 社区成长而获得奖励。

奖励活动七月