Execution Scheduled-task
interactive demo

Try a scheduled transfer with sample credits. Pause the task, simulate a failed attempt or add running funds, then review how each operation relates to Tondi.

Try the demo

Scheduled-task
demo

The demo transfers 10 sample credits every 60 simulated seconds, up to four successful transfers. Use “Jump to next run” to advance demo time without waiting.

Task DEMO-01Scheduled
Available credits40credits
Demo app10 credits / run
Recipient0credits
Funds for running the task2 demo fee units
Demo time
0 s
Next attempt
60 s
Successful runs
0 / 4
Use “Jump to next run” for the first transfer. Each attempt costs one demo fee unit.

A browser-only teaching demo, with no wallet needed. Credits and fees are sample values. It runs no Tondi contract and sends no transactions.

Download transcript

Task execution rules

Running-cost budget

A real scheduled task has a record called a WakeTicket. It keeps the task’s identity, schedule and running funds as the task continues. Pausing or resuming does not create a different task.

Business changes

A program requests the changes, then Tondi checks permissions and asset amounts. Related business changes all happen together, or none do. A failed attempt may still use its running fee.

Failure and retries

In this demo, a retry waits 15 simulated seconds. Two failed retries suspend the task. After the final transfer, unused running funds remain until you cancel. Real network fees, storage costs and timing follow the protocol’s rules.

Program execution
measurements

This recorded test runs programs for a shared app and a deposit. It separates the work used to calculate changes from the work used to check them. The data comes from one development computer.

Program work details · for developers
Work to calculate · cycles
3,681,256
Work to check · cycles
4,713,403
Change data · bytes
1,720
Shared records updated
2

These are program-execution measurements, not network speed or security results. Cycles are units of work used for billing, not seconds; bytes measure data size. The capture date says when this file was copied, not when the original test ran.

Snapshot captured:
Source file SHA-256
ade44d9372837c35710c05c826b028f5376bae3b345e68867281af737ac1b154
Source file
docs/SHARED_RUNTIME_BENCHMARK.json

The hash is a digital fingerprint for checking that you have the same file. It does not prove exactly which code version was used to run the original test.

Standalone JavaScript demo

Download the standalone JavaScript demo and run it with Node.js. It prints a sequence covering failed attempts, retries, funding, resuming, completion and cancellation. No Tondi node, key or wallet is needed.

Download source

This is a teaching example. Node.js is the software used to run JavaScript outside a browser.

node recurring-model.mjs
Read the architecture