Trustless Work
  • Welcome
    • Why Escrows Matter
    • 🛤️Our Journey so Far
      • 🤔The Problem: Origins of Trustless Work
      • 👾The team comes together
      • 💡The Solution: Escrows
      • 🏆Key Milestones
        • 🌠DraperU Stellar Astro Hacker House: A Pivotal Moment
        • Launching the API V1 at ETH Pura Vida Hackathon
      • 🚀Current Programs
        • 🌟DraperU Embark Program
        • 💻OD Hack Campaigns
      • 🛠️Vertical Development
      • 🔮Future Vision
  • 📌Start Here
    • ☀️About Trustless Work
      • Vision and Mission
      • Team
  • ⚒️Understanding Smart Escrows
    • 🥸Smart Escrow Design
      • What does a Smart Escrow "look like"?
      • Roles in Trustless Work
      • Escrow Lifecycle
        • Initiation Phase
        • Funding Phase
        • Complete phase
        • Approval phase
        • Release phase
        • Dispute Resolution
    • 💵USDC: The Stablecoin Powering Trustless Work
    • 🌟Stellar & Soroban: The Backbone of Trustless Work
  • 💻Developer Resources
    • 🚀Smart Escrow API
    • Quickstart
      • Integration Demo Project
        • Getting Started
        • Entities
        • Configuration
        • Context API
        • Wallet Setup
        • Trustlines
        • Services
        • Helpers
        • Error Handling
        • Forms
          • Initialize Escrow
          • Fund Escrow
          • Get Escrow
          • Get Multiple Escrow Balances
          • Resolve Dispute
          • Change Milestone Status
          • Change Milestone Flag
          • Change Dispute Flag
          • Release Funds
          • Update Escrow
        • UI Components
          • Pages
          • Cards
          • Tabs
          • Utils
      • dApp locally
      • API Fundamental Code
    • API Reference
      • Introduction
      • Authentication
        • Request Api Key
      • Deploy
        • Initialize Escrow
      • Escrows
        • Schema
        • Fund Escrow
        • Get Escrow by Contract ID
        • Resolve Dispute
        • Change Milestone Status
        • Change Milestone Flag
        • Change Dispute Flag
        • Release Funds
        • Update escrow properties
      • Helpers
        • Set Trustline
        • Send Transaction
        • Get Multiple Escrow Balance
    • 🧰Essential Tools for Developers
      • Stellar Wallets
        • Freighter Wallet
        • Albedo Wallet
        • xBull Wallet
        • Rabet Wallet
        • Lobstr Wallet
        • Hana Wallet
        • Additional Resources
        • Troubleshooting & FAQs
      • How to Get Testnet Tokens
  • 🌍Use Cases by Industry
    • Marketplaces & E-commerce
    • Grants, Bounties, and Hackathons
    • P2P Exchanges and OTC Desks
    • Security Deposits
    • Milestone-based Freelance & Contract Work
    • Crowdfunding & Pre-orders
    • DAO Treasury & Working Group Budgets
    • Education & Online Courses
    • Subscription + Performance-based Retainers
  • 🤖Using the dApp
    • Step 1: Accessing the Trustless Work Dapp and Logging In
    • Step 2: Creating a Profile and Requesting an API Key
    • Step 3: Creating an Escrow
    • Step 4: Funding an Escrow
    • Step 5: Marking a Milestone as Done ✅
    • Step 6: Approving the Milestone
    • Step 7: Releasing the Payment
    • Resolving Disputes
  • 🏴‍☠️Community
    • 🌎Spotlight: Kindfi
    • 🛣️Roadmap: The Journey Ahead
    • Contributor's Guide
    • 📂Open-Source Templates & Developer Tools
  • ✒️Background & Theory
    • 📘Core Concepts & Escrow Glossary
    • 🎒Historical Context
      • 📜Escrow History:
        • 🗿Ancient to Colonial Era
        • 🏦Banking Era (19th - 20th Century)
        • 💻The Digital Era and Online Escrow
      • ⛓️Blockchain Era: Smart Escrows
  • Links
    • ⚒️Trustless Work dApp
    • 🌐Trustless Work Website
    • 📣Telegram Chat
    • 💎Only Dust Profile
    • 👩‍💻Swagger for API
    • 📜Github
  • 📢Appendices
    • Contact and Support
    • Notion for Startups
    • Meru
Powered by GitBook
LogoLogo

Links

  • Website
On this page
  • Example Scenario
  • Escrow Configuration
  • Escrow Lifecycle
  • Benefits
  • Optional Enhancements
  • Live Use Case: SafeTrust

Was this helpful?

Export as PDF
  1. Use Cases by Industry

Security Deposits

PreviousP2P Exchanges and OTC DesksNextMilestone-based Freelance & Contract Work

Last updated 1 month ago

Was this helpful?

Security deposits are a common requirement in rentals—whether it's housing, co-living spaces, equipment, or other real-world use cases. Trustless Work makes them fair, transparent, and automated using smart escrows.

With Trustless Work, platforms can configure non-custodial smart contracts that define exactly how and when security deposits are returned or withheld.


Example Scenario

Alice rents a unit on a co-living platform. She deposits $500 USDC as a security deposit. At the end of her stay, she wants the deposit refunded—assuming there’s no damage.


Escrow Configuration

Role
Address

Depositor

Alice

Milestone Marker

Alice or Platform

Milestone Approver

Bob (Landlord/Host)

Release Signer

Platform

Receiver

Alice


Escrow Lifecycle

  1. Initiation The platform configures the escrow with all required roles using Trustless Work’s API.

  2. Funding Alice deposits $500 USDC into the escrow. The funds are held in a neutral smart contract.

  3. Milestone Update After Alice’s stay ends, either Alice or the platform marks the milestone as "Request Refund."

  4. Approval Bob inspects the property:

    • If everything is fine: Bob approves the refund.

    • If there are issues: Bob can reject or request a partial refund.

  5. Release The platform (as Release Signer) finalizes the release:

    • 100% refund to Alice if approved.

    • Partial refund based on agreement.

    • Escalation possible if a dispute arises.


Benefits

  • Trustless & Transparent: Smart contracts define rules upfront; funds are never held by the platform.

  • Customizable Logic: Platforms can set deadlines, approval rules, or automatic fallback releases.

  • Global by Default: Uses stablecoins on Stellar for fast, low-fee cross-border payments.

  • Flexible Roles: Easily supports different dispute flows—platform-led, DAO-governed, or peer-to-peer.


Optional Enhancements

  • Dispute Resolver Role: Add an arbiter or DAO to resolve conflicts.

  • Time-Based Auto Approval: If Bob doesn’t respond in X days, the contract automatically refunds Alice.


Live Use Case: SafeTrust

SafeTrust is a platform for co-living spaces that uses Trustless Work to manage security deposits. By using smart escrows, SafeTrust ensures that all tenants receive fair treatment while reducing operational overhead for hosts.

🌍