Create a one-time task
CronCat tasks can have simple criteria (eg. execute my task at the future block height 123456789, or when a given timestamp is reached) or more event-driven criteria. The latter utilizes the "if-this-then-that" capabilities of CronCat, and means the task will populate the fields
transforms. For the purpose of this example, we'll stick to the simpler task.
|Cross-contract calls through CosmWasm messages or submessages
|Typically using the CosmJS dependencies, containing many helpers
|CosmJS is again excellent for this use case.
Note: when a task is created, it will return data that's a
TaskExecutionInfo struct, providing useful information. This can be used by a frontend or inside a CosmWasm contract's
Reply entrypoint and stored, if you wish.
See an example
Check out an example here.