Job Contract

Escrow

Trustless Work Execution Protocol

The Job Contract protocol provides a comprehensive framework for managing digital labor agreements on the blockchain. It replaces traditional reliance on platform intermediaries with a transparent, automated execution environment. By binding financial escrow with verifiable proof of work, the protocol ensures that payment is released only when agreed-upon conditions are mathematically met, eliminating the risk of non-payment or unjustified withholding.

The Four Pillars of Trust

The architecture is built upon four immutable principles designed to enforce fairness and transparency throughout the contract lifecycle.

Visual First Evidence

The protocol prioritizes objective visual data over subjective text descriptions. It integrates real-time video and augmented reality tools to capture the initial state of a task and the final deliverable. This visual data serves as the "genesis evidence," providing an indisputable reference point for contract terms.

Active Validation

Evidence is not merely recorded; it is actively validated by both parties. The system employs a "handshake" mechanism where each piece of evidence (e.g., a progress photo or a chat log) must be cryptographically signed by both the hirer and the worker to be considered valid. This prevents unilateral manipulation of the work history.

Objective Adjudication

Disputes are resolved through a decentralized adjudication layer. Instead of platform administrators, an independent panel of experts (Sultans) reviews the cryptographically secured evidence trail. This ensures that judgments are based solely on verified facts, not platform bias.

Cryptographic Anchoring

All critical contract states and validated evidence are anchored to the Cardano blockchain. This creates an immutable audit trail that persists independently of any single application, ensuring that the history of the work agreement cannot be altered or deleted.

Contract Lifecycle Management

The protocol manages the work agreement through three distinct phases, each secured by specific infrastructure modules.

Phase 1: Trust Establishment

Before work begins, the protocol facilitates a secure negotiation environment.

  • Visual Survey: Parties use real-time video tools to inspect the work site or requirements. This data is verified by Vedata and stored on LampNet.

  • Secure Negotiation: All terms are discussed via encrypted channels (ProofChat), creating a signed ledger of agreement that is hashed and anchored on-chain.

Phase 2: Execution and Escrow

Upon agreement, funds are locked in a smart contract escrow.

  • Anti-Stalling Mechanism: The contract includes automated timers to prevent indefinite fund locking. If a party becomes unresponsive after a valid submission, the protocol can automatically trigger payout or refund based on pre-set conditions.

  • AI-Assisted Verification: As work progresses, submitted evidence is analyzed by AI algorithms (via Vedata) to detect quality issues or discrepancies against the initial agreement, providing real-time feedback to both parties.

Phase 3: Settlement and Reputation

The final phase ensures fair compensation and reputation updates.

  • Automated Payout: Upon mutual confirmation of completion, the smart contract releases funds instantly without manual intervention.

  • Verifiable Reputation: The outcome of the contract, including performance metrics and validated reviews, is minted as a Jem NFT. This updates the worker's decentralized identity, building a portable and verifiable professional history.

Infrastructure Integration

The Job Contract protocol leverages the full stack of MagicLamp services.

  • LampNet: Stores large evidence files (video, high-res images) securely and redundantly.

  • PhoenixKey: Manages the cryptographic signing of contract terms and evidence handshakes.

  • Vedata: Provides the oracle services for validating time, location, and AI analysis of physical work.

Last updated