BountyVault

On-chain escrow for bug bounties on Tari Ootle. A sponsor locks the bounty, a hunter submits a report hash, the sponsor pays or rejects, a referee settles disputes — and unclaimed bounties refund after the deadline.

DEMO SIMULATION — no wallet, no real funds. Every action shows the Ootle call it maps to.

1 · Act as

The template checks who is calling. Pick a role — the demo enforces the same rules on-chain.

You are acting as: sponsor. The sponsor creates the bounty; the hunter submits; the referee resolves disputes; anyone can call timeout after the deadline.

2 · Chain epoch (simulated)

Current epoch: 1000  ·  deadline is an epoch, not a date — a mainnet epoch is about 20 minutes.

3 · Create a bounty

scope_hash: —

Bounty status

State
— no bounty yet —
Vault balance
—
Sponsor
—
Referee
—
Deadline epoch
—
Scope hash
—
Submission
—

4 · Act on the bounty

report_hash: —

Event log

  1. No events yet.

How it works

  1. Create. The sponsor locks the full bounty in the component vault. State: Open.
  2. Submit. A hunter submits a report_hash (SHA-256 of the report). The report itself never goes on chain. State: Submitted.
  3. Approve pays the whole vault to the hunter. Reject clears the submission and reopens the bounty. State: Paid / Open.
  4. Dispute. If the hunter disagrees with a rejection path, they dispute. Funds stay locked. State: Disputed.
  5. Resolve. The referee — fixed at creation, never changeable — pays the hunter or refunds the sponsor. State: Paid / Refunded.
  6. Cancel / timeout. The sponsor can cancel while Open; anyone can call timeout once the deadline epoch passes. Both refund the whole vault to the sponsor. State: Refunded.

Only hashes go on chain. The scope text and the report stay off-chain — that is the point: a public bounty board that does not leak what was found, or where.

Live path — not connected yet

The BountyVault template has not been published to Esmeralda or to mainnet yet. This demo runs a walletless simulation of the exact same state machine.

When the template is published, this tab will show:

Template address: not published yet

Until then, nothing here moves real funds — and nothing here pretends to.