Ootle CrowdfundBuilt on Tari Ootle

Simulation · no wallet · no real funds

All-or-nothing crowdfunding.

Goal met, funds release in three stages that backers can veto; goal missed, every backer refunds in full.

Acting as

Wallets

  • Rani9,400
  • Bima10,000
  • Sari10,000

Epoch

0 / deadline epoch 5

Campaigns

Create a campaign

History

Simulated history — demo hashes, no real chain. Select an entry to open its block.

    About What this is · how it works

    What this page is

    This page runs a faithful in-browser simulation of the CrowdfundCampaign Rust template — same rules, same rejection messages. Nothing here touches a network or a wallet.

    How it works

    Live mode

    What live mode would need: a published template address on Esmeralda/mainnet, the window.tari provider (Sapient extension or Tari Universe web wallet), and indexer reads for campaign discovery. None of that is configured here, so this demo stays in simulation. The stub code in live.js only detects a wallet and reports status — it never prompts, never signs, and never submits a transaction.

    Build and test commands, stretch ideas, and the full honest-limits list live in the README.

    Proof

    52 / 52

    engine tests

    Real Ootle engine, in-process

    46 / 46

    parity checks

    Simulation matches the template

    160,863 bytes

    WASM template

    15.3% of the 1 MiB cap

    Run it yourself

    cargo test
    node --test app/sim.test.mjs
    cargo clippy --all-targets
    Guided walkthrough — about 4 minutes 0 / 16 steps complete

    Sixteen steps. Each ticks itself off as you do it — including the rejections.

    1. Pledge 400 as Bima on Community radio.
    2. Switch to Sari and pledge 600 on Community radio — the goal fills and the Funded event fires.
    3. Pledge 300 as Bima on Neighborhood mural. Do this before advancing time: pledges close at the deadline. This campaign will miss its goal — that is what makes the refund steps below possible.
    4. Switch to Rani and try Claim before the deadline — it must be rejected (too early).
    5. As Rani, create Rooftop garden: goal 900, promise “Backers get a name on the garden gate + first harvest share.”, deadline 5 epochs. Note the 100 TARI bond — it leaves Rani's wallet at creation.
    6. Fund Rooftop garden: pledge 600 as Bima, then 300 as Sari.
    7. Advance the epoch to 5 (the deadline).
    8. Claim Community radio as Rani — tranche 1 of 3 pays out (333 of 1,000).
    9. As Bima, Veto Community radio — 400 of 1,000 is under half, so the veto fails. The tally stays visible; the campaign continues.
    10. Jump +72 to epoch 77, then claim tranche 2 as Rani. The veto tally resets on release.
    11. Veto as Bima, then as Sari — together over half, so the veto succeeds and the rest freezes.
    12. As Bima, Refund Community radio — a pro-rata share of what remains, plus a share of the forfeited bond.
    13. Switch to Bima and Refund Neighborhood mural — full repayment.
    14. Refund the same pledge again — it must be rejected (double refund).
    15. Finish Rooftop garden as Rani: claim tranche 1, jump +72, claim tranche 2, jump +72, claim tranche 3 — then Claim bond.
    16. Try refunding Rooftop garden — it must be rejected (refunds closed after completion).
    Read before judging Honest limits

    Live mode — stub, detection only. Checking for a Tari wallet…