Trustless Work
English
English
  • Welcome
    • Why Escrows Matter
    • Who Should Use This
    • Links
  • โš’๏ธCore Concepts
    • 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 Guide
    • ๐Ÿš€Developer Quickstart
    • Authentication
      • Request Api Key
    • Schema
    • Architecture
    • Stellar Wallets
      • Freighter Wallet
      • Albedo Wallet
      • xBull Wallet
      • Rabet Wallet
      • Lobstr Wallet
      • Hana Wallet
      • Additional Resources
      • Troubleshooting & FAQs
    • How to Get Testnet Tokens
  • API Reference
    • Introduction
    • Types
      • Basic
      • Entities
      • Payloads
      • Responses
      • Errors
    • Single Release Escrow
      • Deploy
      • Fund Escrow
      • Approve Milestone
      • Change Milestone Status
      • Release Funds
      • Dispute Escrow
      • Resolve Dispute
      • Get Escrow
      • Update Escrow
    • Multi Release Escrow
      • Deploy
      • Fund Escrow
      • Approve Milestone
      • Change Milestone Status
      • Release Milestone Funds
      • Dispute Milestone
      • Resolve Milestone Dispute
      • Update Escrow
      • Get Escrow
    • Helpers
      • Set Trustline
      • Send Transaction
      • Get Multiple Escrow Balance
    • ๐Ÿš€Smart Escrow API
  • React Library
    • Getting Started
    • useSendTransaction
    • useGetEscrow
    • useGetMultipleEscrowBalances
    • useInitializeEscrow
    • useUpdateEscrow
    • useFundEscrow
    • useChangeMilestoneApprovedFlag
    • useChangeMilestoneStatus
    • useReleaseFunds
    • useStartDispute
    • useResolveDispute
  • Templates & Components
    • ๐Ÿค–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
    • 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
  • Tools & Utilities
  • ๐ŸŒ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
  • ๐Ÿดโ€โ˜ ๏ธCommunity & Contribution
    • ๐ŸŒŽSpotlight: Kindfi
    • ๐Ÿ›ฃ๏ธRoadmap: The Journey Ahead
    • Contributor's Guide
    • ๐Ÿ“‚Open-Source Templates & Developer Tools
  • ๐Ÿ“ขAppendix & Archive
    • Contact and Support
    • Notion for Startups
    • Meru
    • โœ’๏ธ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
Powered by GitBook
LogoLogo

Links

  • Website
On this page

Was this helpful?

Export as PDF
  1. Templates & Components
  2. 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

๐Ÿค–