November Build Contest Thread: MVP!

OotleInvoice — pay-by-link invoices with verifiable receipts on Tari Ootle

What it is. A freelancer or small merchant needs a simple way to request an exact XTM amount and give the payer a receipt both sides can check. OotleInvoice is an Ootle template plus a small web UI: the merchant creates an invoice (exact amount, memo hash, expiry), shares a link or QR code, the payer pays in one atomic transaction, funds go straight to the merchant’s account (no custody), and the payer receives a receipt NFT that only the invoice component can mint.

What’s built and tested

  • Rust #[template] on tari_template_lib 0.38, compiled to wasm32-unknown-unknown.
  • 8 tests executed in the official Ootle engine via tari_template_test_tooling 0.50: exact payment forwards funds and issues a receipt; wrong amounts are rejected with the payer’s balance unchanged; duplicate payment rejected; invoice creation idempotent per reference; expired invoices unpayable; invalid inputs rejected; only the owner can create invoices.
  • Web UI: create invoice → link + QR → pay page → receipt check. The published app is a clearly labelled DEMO MODE that simulates the ledger in the browser; it is not connected to a wallet or the Tari network yet.

Honest limits. The template has not been published to testnet or mainnet yet and is not audited. Refunds, partial payments and subscriptions are out of scope by design.

Next. Wallet-connected pay flow, then a network publish.