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
    • Introduction
    • Schema
    • Types
      • Basic
      • Entities
      • Payloads
      • Responses
      • Errors
    • Quickstart
      • Integration Demo Project
        • Getting Started
        • 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
    • Authentication
      • Request Api Key
    • API Reference
      • Deploy
        • Initialize Escrow
      • Escrows
        • Fund Escrow
        • Get Escrow
        • Resolve Dispute
        • Change Milestone Status
        • Change Milestone Flag
        • Start Dispute
        • Release Funds
        • Update Escorw
      • Helpers
        • Set Trustline
        • Send Transaction
        • Get Multiple Escrow Balance
    • React Library
      • Getting Started
      • useSendTransaction
      • useGetEscrow
      • useGetMultipleEscrowBalances
      • useInitializeEscrow
      • useUpdateEscrow
      • useFundEscrow
      • useChangeMilestoneApprovedFlag
      • useChangeMilestoneStatus
      • useReleaseFunds
      • useStartDispute
      • useResolveDispute
    • ๐Ÿš€Smart Escrow API
    • ๐Ÿงฐ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

Was this helpful?

Export as PDF
  1. Using the dApp

Step 4: Funding an Escrow

PreviousStep 3: Creating an EscrowNextStep 5: Marking a Milestone as Done โœ…

Last updated 3 months ago

Was this helpful?

Once an escrow is initialized, the next step is to fund it. Funding locks the transaction amount in the escrow contract until conditions are met.


1. Open the Escrow Modal

  • Navigate to the Escrows section.

  • Click on the escrow you want to fund.

  • A modal window will appear with detailed information:

    • Escrow Title & Description

    • Assigned Roles (Approver, Service Provider, etc.)

    • Milestones & Status

    • Escrow ID (Top right)

๐Ÿ“Œ The Escrow ID is crucial for funding.


2. Three Ways to Fund an Escrow

Option 1: Send Funds Directly to the Escrow ID

  • Copy the Escrow ID from the modal.

  • Open your Stellar wallet.

  • Send USDC or XLM to the Escrow ID just like you would send funds to any Stellar address.

๐Ÿ”น Anyone with a Stellar wallet can fund the escrow using this method.


Option 2: Use the QR Code

  • Click on "Show QR Address".

  • Scan the QR Code with a mobile wallet app.

  • The wallet will automatically recognize the Escrow ID and prompt a transaction.


Option 3: Use the "Fund Escrow" Button (Recommended)

  • Click "Fund Escrow" in the modal.

  • A new dialog will appear asking how much to deposit.

  • Enter the desired amount and click "Fund Escrow".

  • Your wallet (Freighter, Albedo, etc.) will pop up for transaction review & signing.

  • Confirm and sign the transaction.


3. Confirm Funding

After funding:

โœ… The escrow balance updates. โœ… The status progresses (e.g., โ€œFundedโ€ or โ€œWorkingโ€). โœ… Milestones can now be marked as completed and approved.

๐Ÿš€ Next Step: Marking Milestones as Complete

๐Ÿค–