project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

OathLock

Escrow contract for payment of eCommerce with real shipment result onchain (EAS).

OathLock

Created At

ETHGlobal New York 2025

Winner of

Zircuit

Zircuit - Best App Idea 1st place

Flow Foundation

Flow - Flow Builder Pool Prize

Prize Pool

Nora

Nora - Best Use of Nora for AI Coding

Project Description

OathLock reveals onchain reputation of past eCommerce transaction as past payment with dispute, that were going through this excrow contract, were stored into EAS: Ethereum Attestation Service.

OathLock also has builtin seller aligned incentive design for dispute resolving, which results in good person takes good financial benefit in long term.


What it solves Global e-commerce is ~$5T in 2025 (≈+12% YoY) and projected to surpass $7T by 2030, yet ~$500B is lost annually to counterfeit and fraud—especially in fashion, cosmetics, and electronics. OathLock reduces these losses by making reputation an enforceable, portable primitive: sellers and buyers accumulate negative-only attestations that cannot be gamed with fake positives.


How it works at a glance.

  1. Buyer opens an Oath (seller, expiry) and deposits USDC. Past attestations are visible before committing.

  2. Seller verifies the Oath and buyer's past attestations also, ships, and commits a tracking hash (deadline-gated).

  3. Buyer inspects on arrival: Approve -> immediate release to seller (even before expiry) Dispute (non-delivery/counterfeit with evidence URL) -> no refund, but a negative attestation is recorded

X) At expiry: Anyone can call settle(id) to guarantee liveness. not shipped -> refund to buyer; shipped -> full payment to seller.

This design removes the free-riding incentive for malicious buyers while crowd-sourcing high-signal evidence against bad sellers. When a seller’s fraud is confirmed by accumulated attestations, harmed buyers receive an information-provider reward—prioritizing prevention of future damage while keeping settlement rules simple and predictable.

How it's Made

  • Contracts & Tokens

    • OathLockEAS.sol (EVM) — escrow state machine: createOath(), sellerShip(), buyerApprove(), buyerDispute(), settle().

    • USDC (ERC-20) as the settlement asset; amounts locked/released by contract rules.

  • Attestations & Reputation

    • Integrates EAS (Ethereum Attestation Service) for immutable negative-only reviews and dispute tags (e.g., NON_DELIVERY, COUNTERFEIT, ABUSE).

    • Both sides accrue histories (buyers’ dispute habits are also visible), enabling markets to price trust over time.

    • Emits a full audit trail: OathCreated, SellerShipped, BuyerApproved, BuyerDisputed, SettledToSeller, RefundedToBuyer, Expired.

  • Chains and limitations

    • Flow EVM (mainnet/testnet) with EAS integrations
    • Zircuit mainnet with no EAS integration, but expecting their scam transaction takedowm feature.
  • Extensiblility Rolling reserves, AI risk scoring, community arbitration (ERC-792/Kleros), automation for time-based settlement, cross-chain flows, and AVS-style watchers slot in without changing the MVP’s core.

  • Notable hacks / choices

    • One-shot dispute before deadline to prevent spam and last-minute griefing.

    • Negative-only scoring to avoid review-gaming; quantity + tags > easily faked positives.

background image mobile

Join the mailing list

Get the latest news and updates