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
      • Milestone Update 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
    • Types
      • Basic
      • Entities
      • Payloads
      • Responses
      • Errors
  • API Reference
    • Introduction
    • Single Release Escrow
      • Deploy
      • Fund Escrow
      • Approve Milestone
      • Change Milestone Status
      • Release Funds
      • Dispute Escrow
      • Resolve Dispute
      • Get Escrow
      • Update Escrow
      • Get Multiple Escrow Balance
    • Multi Release Escrow
      • Deploy
      • Fund Escrow
      • Approve Milestone
      • Change Milestone Status
      • Release Milestone Funds
      • Dispute Milestone
      • Resolve Milestone Dispute
      • Update Escrow
      • Get Escrow
      • Get Multiple Escrow Balance
    • Helpers
      • Set Trustline
      • Send Transaction
      • Get Multiple Escrow Balance
    • πŸš€Smart Escrow API
  • πŸ“šReact Library
    • Getting Started
    • useSendTransaction
    • useGetEscrow
    • useGetMultipleEscrowBalances
    • useInitializeEscrow
    • useUpdateEscrow
    • useFundEscrow
    • useApproveMilestone
    • useChangeMilestoneStatus
    • useReleaseFunds
    • useStartDispute
    • useResolveDispute
  • πŸ•Open Source Templates
    • πŸ€–dApp Overview
      • 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
    • demo Overview
      • 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
    • 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
  • πŸ΄β€β˜ οΈ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. Open Source Templates
  2. dApp Overview

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

πŸ•
πŸ€–