November Build Contest Thread: MVP!

RentVault — rental security-deposit escrow on Tari Ootle

Code (MIT): GitHub - factoruuu/rentvault · GitHub

MVP app (live demo, no wallet needed): RentVault — Rental Deposit Escrow on Tari Ootle

Tari payment address: 12C8uXfVLcwB668sTx8CE895k6TcLd3KU1y8LEJXGq2RMqyy13sL86eBguFGDkJoVUW3nM2g2jZFRwZxYQwwPCPCHMV

Announcement (Medium): https://medium.com/@v_sraddha/rentvault-the-rental-deposit-without-the-argument-7c71c7451f39

What it is

RentVault escrows a rental security deposit in an Ootle component that has no owner — not even its creator. When an agreement is created, the terms are locked: deposit amount, rental end epoch, dispute window, claim window. The renter locks exactly the agreed amount of TARI into the component vault. From Funded, the deposit resolves in exactly one of four ways:

  • Mutual release — both parties confirm a good return (either order) → full refund to the renter.
  • Owner claim — after the rental ends, the owner claims up to the deposit; execution waits out the dispute window; the unclaimed remainder refunds to the renter in the same call.
  • Renter dispute — inside the window, a dispute voids the claim → full refund to the renter. (Deliberate trade-off, stated openly: a dispute always refunds in full. Splitting a deposit fairly needs evidence and judgement a template cannot do — what it can do is make ignoring the renter impossible.)
  • Auto-refund — if the owner never claims within the claim window, anyone can trigger a full refund to the renter. Deposits cannot sit in limbo forever.

Security design

  • Component created with OwnerRule::None and rules locked at creation; nobody can re-rule it later.
  • Every restricted method is double-gated: the component access rule names the party’s public key, and the method re-checks the signer in code.
  • Settlement triggers (execute_claim, auto_refund) are permissionless but value-safe: balances move only to the renter/owner per the state machine, and the tests assert the stranger-trigger’s balance is unchanged.
  • Deposits accept the native token only, in the exact agreed amount; every state change emits a rent_vault.* event as the paper trail.

What’s included

  • Rust template (tari_template_lib), compiles to a 139 KiB release WASM.
  • 20 engine tests with tari_template_test_tooling, all passing — every transition plus the negative cases: owner depositing, wrong amount, double deposit/confirmation, early claim, renter claiming, claim above deposit, zero claim, early execution, late dispute, early auto-refund.
  • Walletless browser demo that mirrors the template’s state machine and rejection messages exactly; all four settlement paths were driven headlessly and matched the template tests’ balances.

Honest notes

The demo is a simulation — labelled as such, in the demo and in the README. The template has not been published to Esmeralda or mainnet yet, and there is no client app driving the real component; both are the stated next steps. This is new code written for this round; it borrows nothing from earlier entries.

Built with an AI coding agent under human direction; the design, review, and submission are ours.

Quick update — live MVP updated to v14 on the same link above :chequered_flag: • Mobile controls overhauled: floating 360° thumbstick across the left half of the screen (with ~5° deadzone and on-car aiming chevron), plus Relative Slide, L/R Buttons, and Auto-Gas toggles in the ☰ Menu. • Velocity-based camera look-ahead and cleaner mobile portrait HUD layout. • Added in-game Controls & Keyboard Shortcuts Guide (H key / ? button / ☰ Menu). • Fixed Miami coastline & Golf Club pond water detection with splash auto-reset. • Refined 5-stage Semi-Slick tire tuning for smoother dry and wet-rain cornering grip.

**OotleGig — escrow for freelance and micro jobs, native on Ootle**

Gig work between strangers has a trust problem: the client does not want to pay before delivery, the worker does not want to deliver before payment, and the usual fix is a platform in the middle taking a cut and holding the money. OotleGig replaces the platform with a contract. It is a complete, working MVP of a job escrow market primitive: the same pattern I have shipped for agent task desks on other chains, rebuilt natively as an Ootle template.

**How it works**

One job is one `JobEscrow` component instance:

1. The client creates a job by escrowing TARI against a hash of the task description (the task text itself never goes on-chain). The client sets a review window in epochs.

2. A worker accepts the job. The component records the transaction signer as the worker; the client cannot accept their own job.

3. The worker submits a hash of the delivered work. The delivery epoch is recorded on-chain.

4. The client approves: the full escrow is paid to the worker and the component mints a delivery receipt NFT into its own vault, which the worker collects as portable, verifiable proof of completed paid work.

5. If the client goes silent, the worker claims the full escrow once the review window has passed since delivery. The worker is never hostage to an absent client.

6. While a job is still open, the client can cancel and is refunded in full.

Every rule is enforced by the template itself (signer checks via the caller context), and every transition emits an event: `ootle_gig.posted`, `ootle_gig.accepted`, `ootle_gig.delivered`, `ootle_gig.released`, `ootle_gig.refunded`.

**Proof it works**

The template is covered by 11 integration tests that execute it on the real Tari engine (tari_template_test_tooling): the full happy path with exact balance assertions (the worker receives exactly the escrowed amount, the client is not refunded), the timeout claim at the exact window boundary and its rejection one epoch early, cancel/refund in full, and every authorization rule (only the worker can deliver, only the client can approve, no self-acceptance, no double release, receipt collectable exactly once and only by the worker). The release WASM builds clean (`cargo build --target wasm32-unknown-unknown --release`, 305,088 bytes). Run everything yourself: the README has the three commands.

The clickable demo is a browser simulation of the template’s exact state machine and rejection messages, clearly labelled as a simulation. The template has not been published to Esmeralda or mainnet yet; the engine tests and the WASM build are the proof of behavior for this round.

**Honest limits (v1)**

No dispute or arbitration flow: a silent client is covered by the timeout claim, an actively refusing client is not. Native TARI only. Task and delivery payloads move off-chain; only their hashes are anchored.

**Roadmap**

Publish the template and wire the demo to a real wallet, add a job-board factory component, support token-denominated jobs, and add an opt-in arbitrator role for disputes.

Code (MIT): GitHub - GHEA12/ootlegig · GitHub

Live demo (simulation): OotleGig — escrowed micro-jobs with verifiable delivery receipts (simulation)

Announcement: https://www.reddit.com/r/tari/comments/1y53ua1/i_built_ootlegig_escrow_for_freelance_gigs_as_an/

Tari payment address: 1224XCRDEf1xw5xm2m6Jftyk7yLRQcZnyHCszBN9cR2vvG2MsdTB694YRCfxVaMkucpPF7eaMLP4U5dqAtirQmdvpZX

Built by Indra Dwi Junianto, developed with an AI coding agent (agent development is explicitly welcome in this contest; the code, tests, and design decisions are mine and are all in the repo).

OneScan: verified source for Ootle templates

So On Ootle, every contract is compiled WASM, and anyone can put a GitHub link next to it. OneScan checks that link against the chain: paste a template address, it reads the bytes from the mainnet indexer, hashes them in your browser, and compares them with a public, isolated rebuild of the claimed commit, byte for byte. Verified results are recorded on chain in OneScan’s own SourceRegistry contract, and the site only counts records signed by the trusted key whose hash matches the live bytes.

Results so far: 8 of 13 November templates from other builders rebuild byte for byte (4 clean, 4 with honest warnings), 5 do not, each with the reason. OneScan also verifies its own registry contract. The verifier was red-teamed: 4 attacks (network escape, forged results, linker tricks, poisoned tools) are blocked, with public tests.

Builders: request a check from the site and add a badge to your repo.

App: OneScan: is this source what runs on Ootle?
Code: GitHub - Techkeyy/onescan-ootle: Check that public source is the code running at an Ootle template address: reproducible rebuilds, byte compare, on-chain attestations. · GitHub
Demo video (YouTube, also linked on the app’s home page): youtube.com/watch?v=2xtaRvOX1Pk
Registry on chain (Tari explorer): explorer.tari.mw/substate/component_9f72dfb5c6994599299c2498cd17540573edff3b6773a94c6636763abf3153ea
Announcement: @praiseprodigyy.bsky.social on Bluesky

Tari payout address: 12JM8ALwhKemSjMgEaUkZTuZzXu4goLGRGoMPUW1hLQ3nLHk1iydCMZTDG9CrjBTYEaPVZQefdCG3JtTexT8hqdUW9Z

Ootle Circle: rotating savings circles (jam’iya, tontine, susu) on Tari Ootle

Code (MIT): GitHub - Khazmi-lab/ootle-circle · GitHub
MVP app (no wallet needed): Ootle Circle: rotating savings circles on Tari Ootle
Announcement: https://www.reddit.com/r/tari/comments/1y5djxl/ootle_circle_a_jamiya_tontine_susu_savings_circle/
Tari payment address: 122eeZ3RfYGVKk5Pnc8kDkEcUeSVRMWoFxTVX2eqy1MPrdmB1rVDSs5NTeYPQbHHjSmVFg7MbwaHYR7Lw1tgD61GRRj

What it is. A rotating savings circle (ROSCA) is how hundreds of millions of people save without a bank: a jam’iya in North Africa, a tontine in West Africa, a susu in Ghana, a chama in Kenya, a tanda in Mexico. Everyone pays the same amount each round, and one member takes the whole pot until everyone has had a turn. Ootle Circle runs one on the Ootle with no cash-holder.

Why it’s an MVP you could launch today. The users already exist and already save this way; the product only removes the two things that break paper circles: the organizer holding the cash, and a member who stops paying after taking the pot.

  • The pot sits in the component vault. Only settle moves it, and only to the member whose turn it is.
  • Every member locks collateral when joining. A missed round is covered from the late member’s collateral, so the recipient still gets the full pot. With collateral = contribution × (members − 1), nobody can take out more than they put in.
  • Anyone can settle once everyone has paid or the deadline epoch has passed, so the circle keeps moving if the organizer disappears. Deadlines follow a fixed schedule.
  • Members are identified by their signing key; the organizer can reorder, start or cancel, but can never touch the funds.
  • When the last round settles, all remaining collateral goes back automatically.

What’s included.

  • Rust template (tari_template_lib 0.38), WASM release build about 146 KB.
  • 12 engine tests (tari_template_test_tooling 0.50.1) with exact balances: full circle, payout order, missed payment covered, collateral running out, fixed deadlines, change, double payment, outsiders, organizer-only methods, reorder, join/leave/cancel, bad parameters, info.
  • Web MVP: create a circle, pay, miss a payment, jump to the deadline, settle, and see the Ootle transaction each click maps to. Its engine mirrors the template and has 7 Node tests.

Honest notes. New code written for this round; it doesn’t borrow from earlier entries. The demo is a browser simulation and the template is not yet published on Esmeralda or mainnet. Pot sizes are public (revealed outputs); private contributions are the next step. Built with an AI coding agent under my direction.

Ootle Forge — a collectible crafting game on Ootle

Ootle Forge is a small, complete game built on Tari digital assets:

- Gather — mint 5 EMBER (fungible crafting material)

- Forge — burn 5 EMBER + a 1 TARI fee, receive a Relic NFT with a rolled tier (Common 62% / Rare 26% / Epic 9% / Legendary 3%); tier + serial live in the NFT’s immutable data

- Ascend — burn three same-tier Relics, receive one of the next tier

- Melt — burn a Relic, get 2/6/18/54 EMBER back by tier, so duplicates are never dead weight

The rules are enforced by the chain, not by a server: both resources can only be minted by the Forge component itself (locked mint rules), the component has no owner and cannot be upgraded or re-ruled, and forge fees accumulate in a vault only the admin-badge holder can drain. A Relic can only ever come into existence through forge or ascend.

Try it (no wallet needed): Ootle Forge — a collectible crafting game on Tari Ootle

A walletless browser simulation that mirrors the template rule-for-rule — same constants, costs, odds and failure cases — with a panel showing the exact Ootle call behind every action.

Code (MIT): GitHub - Rismahamja04/ootle-forge: Ootle Forge — a collectible crafting game on Tari Ootle. Entry for the Tari November Build Contest (MVP). · GitHub

A real Rust #[template] (tari_template_lib 0.40) with engine tests that run it in the Ootle engine in-process: exact-cost and exact-fee enforcement, tier minting, melt values, three-of-a-kind ascension, mixed-tier rejection, badge-gated fee withdrawal — cargo test in template/.

Honest limits: the template is not yet published to a network (the demo is a simulation and is labelled as one), and the tier roll uses engine transaction entropy — game-grade randomness for collectibles, not a gambling source.

Tari payment address: 122qfWjkf2MeAEqnmVHe5GUQzRUohfohHMr2qFLosv4oBGmT3Pf6sx3et771vivucRuHzxxdJs59uCkeBgdfGmmHzjn

Announcement: https://medium.com/@rismahamja01/ootle-forge-a-collectible-crafting-game-on-tari-ootle-november-build-contest-entry-3e6d3d9cd8f6