# Adding the Cron Module in Osmosis for dApps like Allin Gaming

**URL:** <https://forum.osmosis.zone/t/adding-the-cron-module-in-osmosis-for-dapps-like-allin-gaming/3510>\
**Category:** Proposal Discussion\
**Tags:** withdrawn\
**Created:** [March 2, 2025, 6:22am UTC](https://forum.osmosis.zone/t/adding-the-cron-module-in-osmosis-for-dapps-like-allin-gaming/3510 "2025-03-02T06:22:49Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![allingamingxyz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/allingamingxyz/32/2555_2.png) [@allingamingxyz](https://forum.osmosis.zone/u/allingamingxyz)\
**Post date:** [March 2, 2025, 6:22am UTC](https://forum.osmosis.zone/t/adding-the-cron-module-in-osmosis-for-dapps-like-allin-gaming/3510/1 "2025-03-02T06:22:49Z")

</div>

**PR has been raised** :

> <https://github.com/osmosis-labs/osmosis/pull/9016>
>
> Closes: #XXX
> 
> \## What is the purpose of the change
> 
> \> Add a description of t…he overall background and high level changes that this PR introduces
> 
> \*(E.g.: This pull request improves documentation of area A by adding ....\*
> 
> \## Testing and Verifying
> 
> \*(Please pick one of the following options)\*
> 
> This change is a trivial rework / code cleanup without any test coverage.
> 
> \*(or)\*
> 
> This change is already covered by existing tests, such as \*(please describe tests)\*.
> 
> \*(or)\*
> 
> This change added tests and can be verified as follows:
> 
> \*(example:)\*
> - \*Added unit test that validates ...\*
> - \*Added integration tests for end-to-end deployment with ...\*
> - \*Extended integration test for ...\*
> - \*Manually verified the change by ...\*
> 
> \## Documentation and Release Note
> 
> - \[\] Does this pull request introduce a new feature or user-facing behavior changes?
> - \[\] Changelog entry added to \`Unreleased\` section of \`CHANGELOG.md\`?
> 
> Where is the change documented?
> - \[\] Specification (\`x/{module}/README.md\`)
> - \[\] Osmosis documentation site
> - \[\] Code comments?
> - \[\] N/A

**Use Case: ALLiN GAMING**

ALLiN GAMING is a Gamefi dApp which will have casino games, NFT games and prediction market. For ALLiN GAMING, this enhancement would enable the scheduled execution of game contracts, ensuring that bets placed by players are resolved efficiently in the following block. This process would take place within the **begin-blocker of ABCI** , allowing for **timely and automated bet settlements.**

**Why This Matters for Osmosis**  
By adding `x/cron`, we empower developers and protocols within the Osmosis ecosystem to create **more automated, self-sustaining DeFi applications**. This means:

- **Automated Smart Contracts executions**
- **Timely contract state updates**

**Overview:**  
The **Cron module** plays a crucial role in scheduling and executing tasks, enabling **automated contract execution** during specific blockchain phases such as **begin blockers**. By integrating scheduled contract executions, `x/cron` enhances smart contract functionality, ensuring that critical operations are executed automatically and reliably.  
In its current form, the module will allow developers to register contracts as cron jobs—provided their addresses are **whitelisted** in the module parameters. Additionally, cron jobs can be **updated or deleted** when no longer needed.

**Proposal for Enhancements :**  
As Osmosis continues to evolve, including the Cron module will introduce **greater automation, efficiency, and flexibility** for smart contracts. The proposed upgrade will:

- **Expand contract execution capabilities** by allowing more dynamic scheduling options.
- **Improve security and governance** around cron job execution.
- **Optimize gas efficiency** by ensuring scheduled executions run within optimized computational limits.

**Seeking Feedback**  
We would love to gather community feedback. What additional features or optimizations would you like to see in the Cron module?

---

<div class="post-metadata">

**Author:** ![laxman\_lol](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/laxman_lol/32/2804_2.png) [@laxman\_lol](https://forum.osmosis.zone/u/laxman_lol)\
**Post date:** [March 4, 2025, 4:18am UTC](https://forum.osmosis.zone/t/adding-the-cron-module-in-osmosis-for-dapps-like-allin-gaming/3510/2 "2025-03-04T04:18:14Z")

</div>

ALLingaming coming on Osmosis? I like it if its true!!

---

<div class="post-metadata">

**Author:** ![SuperEra](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/superera/32/2256_2.png) [@SuperEra](https://forum.osmosis.zone/u/SuperEra)\
**Post date:** [March 4, 2025, 5:59am UTC](https://forum.osmosis.zone/t/adding-the-cron-module-in-osmosis-for-dapps-like-allin-gaming/3510/3 "2025-03-04T05:59:56Z")

</div>

This is an interesting addition, especially for projects that rely on **automated contract execution**.  
Having scheduled transactions within the blockchain itself could improve efficiency and reduce the need for manual interventions.

For something like **ALLiN GAMING** , where bet settlements need to be quick and reliable, this makes a lot of sense. Beyond GameFi, I can see this being useful for DeFi applications that require **timely contract updates**.

Curious to know how the **whitelisting process** for contracts will work.

Would it be permissioned, or could governance decide on adding/removing contracts over time?

---

<div class="post-metadata">

**Author:** ![Osmonauter](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/osmonauter/32/2807_2.png) [@Osmonauter](https://forum.osmosis.zone/u/Osmonauter)\
**Post date:** [March 4, 2025, 6:51am UTC](https://forum.osmosis.zone/t/adding-the-cron-module-in-osmosis-for-dapps-like-allin-gaming/3510/4 "2025-03-04T06:51:30Z")

</div>

Yes from me, would love to see more gaming on Osmosis 😍 I thought ALLiN was on Dymension, so does this mean it’s launching on Osmosis too or fully migrating?  
Anyways, I’m not a technical guy, but if x/cron is needed for gaming projects like ALLiN and it can be done, then let’s make it happen please.

---

<div class="post-metadata">

**Author:** ![Kawasaki](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/kawasaki/32/2808_2.png) [@Kawasaki](https://forum.osmosis.zone/u/Kawasaki)\
**Post date:** [March 4, 2025, 7:16am UTC](https://forum.osmosis.zone/t/adding-the-cron-module-in-osmosis-for-dapps-like-allin-gaming/3510/5 "2025-03-04T07:16:44Z")

</div>

I support the update. Looks beneficial for Osmosis a lot more than what i see in this post.

---

<div class="post-metadata">

**Author:** ![Abraham\_Effiong](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/abraham_effiong/32/2810_2.png) [@Abraham\_Effiong](https://forum.osmosis.zone/u/Abraham_Effiong)\
**Post date:** [March 4, 2025, 8:41am UTC](https://forum.osmosis.zone/t/adding-the-cron-module-in-osmosis-for-dapps-like-allin-gaming/3510/6 "2025-03-04T08:41:32Z")

</div>

Happy to see this move into Osmosis by ALLiN GAMING and going through all, The Cron module will do well to help projects and especially for dApps like ALLiN GAMING that rely on scheduled tasks.

ALLiN GAMING will benefit as far to automate bet settlements, ensuring faster payouts and a smoother user experience. It also enables scalable game mechanics like scheduled tournaments and jackpot draws, making gameplay more efficient and engaging.

Let’s keep it going

---

<div class="post-metadata">

**Author:** ![Degengem](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/degengem/32/2809_2.png) [@Degengem](https://forum.osmosis.zone/u/Degengem)\
**Post date:** [March 4, 2025, 9:05am UTC](https://forum.osmosis.zone/t/adding-the-cron-module-in-osmosis-for-dapps-like-allin-gaming/3510/7 "2025-03-04T09:05:28Z")

</div>

ALLiN Gaming’s x/cron proposal enhances their Gamefi dApp by enabling timely bet settlements via scheduled contract execution. It benefits Osmosis with automated DeFi applications. Suggested upgrades—dynamic scheduling, better security, and gas optimization—are solid.

This will be game changer but should the team consider adding user incentives and clearer governance details to strengthen adoption and trust.

---

<div class="post-metadata">

**Author:** ![odeg](https://avatars.discourse-cdn.com/v4/letter/o/cdc98d/32.png) [@odeg](https://forum.osmosis.zone/u/odeg)\
**Post date:** [March 5, 2025, 7:17am UTC](https://forum.osmosis.zone/t/adding-the-cron-module-in-osmosis-for-dapps-like-allin-gaming/3510/8 "2025-03-05T07:17:14Z")

</div>

Cron is a welcome addition to osmosis. There have been projects in the past that required cron module which were not able to launch on Osmosis. Using bots for frequent execution has a single point of failure. Finally!

---

<div class="post-metadata">

**Author:** ![Alex1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/alex1/32/2128_2.png) [@Alex1](https://forum.osmosis.zone/u/Alex1)\
**Post date:** [March 5, 2025, 7:49am UTC](https://forum.osmosis.zone/t/adding-the-cron-module-in-osmosis-for-dapps-like-allin-gaming/3510/9 "2025-03-05T07:49:57Z")

</div>

Are all those comments from new accounts genuine ? Or is it bots ? Quest/role farming from Allin Gaming’s discord or smth ?

---

<div class="post-metadata">

**Author:** ![LeonoorsCryptoman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/leonoorscryptoman/32/208_2.png) [@LeonoorsCryptoman](https://forum.osmosis.zone/u/LeonoorsCryptoman)\
**Post date:** [March 5, 2025, 7:35pm UTC](https://forum.osmosis.zone/t/adding-the-cron-module-in-osmosis-for-dapps-like-allin-gaming/3510/10 "2025-03-05T19:35:30Z")

</div>

I really hate threads with mainly new accounts, which show up on the forum one time and are never seen ever again afterwards. It is a bad habit to somehow incentivize people to put in comments while not contributing to the whole.

If those people would stick, then it would be awesome, but that is never the case…

On topic:  
We also have this thread: [Launch ALLiN GAMING on Osmosis | Whitelisting deployment address to upload contracts](https://forum.osmosis.zone/t/launch-allin-gaming-on-osmosis-whitelisting-deployment-address-to-upload-contracts/3533)  
This means this thread is not necessary anymore I guess? Because I see a summary somewhere stating “Based on our last forum post, we received confirmation from the Osmosis devs that we won’t need the cron module. Instead, they agreed to settle bets through off-chain bots, which saves us time on module upgrades. This means ALLiN Gaming will go live on Osmosis sooner than anticipated.”
