Semvi

Connecting to Tari mainnet…

A payment vault on Tari Ootle

Retry the payment.
Never pay it twice.

Your worker sends a payout, the response never comes back, and it tries again with a fresh transaction. Semvi’s contract remembers the business job, not the transaction. The second payment is refused on chain.

Live vault · Tari mainnet

Job card

–/256 jobs used

Balance
–
Template
–
Component
–
Each punched hole is a job ID the contract has paid. It is never cleared. Read from Tari’s public indexer as this page loads.

Was this job paid?

Enter the business reference your worker used, such as an invoice number, or paste a 64-character job ID. The page computes the job ID the way the Semvi CLI does and asks the live vault.

On mainnet, one job, many transactions

Real transactions against vault component_ca03…. Every retry is a new transaction with a new hash. Only the first one moves money.

Fetches each finalized receipt from Tari’s public indexer and compares its hash with the archived run.

What runs where on Tari

No server of ours holds the payment record. Each step uses a piece of the Tari Ootle stack.

  1. Payer key · intent sign

    Sign the job once

    The payer signs recipient, amount, expiry and job ID. Ootle’s signature binding ties it to mainnet and to this one vault component, under the domain semvi.payout.v1.

  2. Any wallet · tari_ootle_walletd

    Relay it, again and again

    A relayer builds a fresh transaction with Tari’s transaction builder and pays the network fee. Retries can use another account. The relayer cannot change who gets paid.

  3. Validators · Semvi template (WASM)

    Pay and record in one step

    // src/lib.rs · inside execute()
    assert!(!self.consumed.contains(&job), "OperationConsumed");
    // …expiry and signature checks…
    self.consumed.insert(job);
    let payment = self.funds.withdraw(amount);
    ComponentManager::get(recipient).invoke("deposit", args![payment]);

    If the deposit fails, the whole step rolls back and the job stays unpaid.

  4. Public indexer · indexer-a.ootle.tari.com

    Anyone can check

    Receipts, the vault’s job list and its balance are public substates. This page reads them directly, with no backend.

Operator console

Drive a real payout and retry through your own Tari wallet daemon. The console runs on your machine, so it only works when this page is served by node console/server.mjs.

cargo build --examples
TARI_WALLET_COOKIE_FILE=~/.tari/mainnet/.cookie \
SEMVI_PAYER_KEY=/secure/payer.key \
SEMVI_VAULT=component_… SEMVI_RECIPIENT=component_… \
SEMVI_RELAYERS=relayer-a,relayer-b SEMVI_APPROVED_NETWORK=mainnet \
node console/server.mjs

Then open http://127.0.0.1:4317/#console. Without SEMVI_APPROVED_NETWORK the console signs but will not submit.

What it promises, and what it doesn’t