OotleInvoice — pay-by-link invoices with verifiable receipts on Tari Ootle
- Code (MIT): GitHub - lisaaai200/ootleinvoice: Pay-by-link invoices with verifiable receipts for Tari Ootle · GitHub
- App (walletless demo): OotleInvoice — create invoice
- Announcement: https://youtu.be/4teqJk-69Yo
- Tari payment address:
12ANbyxjv4NWRUxuCBPRamVt1vKMAARgjHtQve1n8yxC96oD1gTubKPWNVk6wWAKx7qk4nVZc84QkQst9nCyD3JjjFi
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]ontari_template_lib0.38, compiled towasm32-unknown-unknown. - 8 tests executed in the official Ootle engine via
tari_template_test_tooling0.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.