Trustless Work
Spanish
Spanish
  • Bienvenido
  • Inicio
    • Guía rápida
    • Conceptos clave
    • Herramientas esenciales
  • ☀️Acerca de Trustless Work
    • Visión y misión
    • 🛤️Nuestro camino hasta ahora
      • 🤔El problema: orígen de Trustless Work
      • 👾El equipo se une
      • 💡La solución: escrows
      • 🏆Hitos clave
        • 🌠DraperU Stellar Astro Hacker House: un antes y un después
        • Lanzamiento de la API V1 en el Pura Vida ETH Hackathon
      • 🚀Programas actuales
        • 🌟DraperU Embark Program
        • 💻OD Hack Campaigns
      • 🛠️Desarrollo vertical
      • 🔮Visión a futuro
    • Equipo
  • ⚒️Descripción de la tecnología
    • 🚀Smart escrow API
    • ⛓️Smart contracts open-source de escrow
    • 📂Plantillas open-source y herramientas para desarrolladores
    • 💵USDC: La stablecoin detrás de Trustless Work
    • 🌟Stellar y Soroban: el motor de Trustless Work
  • 🌍Casos de uso: Escrow-as-a-service para cualquier industria
    • 🌎Proyecto destacado: Kindfi
  • 🤖Tutorial de Trustless Work Dapp
    • Paso 1: Accediendo a la Trustless Work Dapp e iniciando s
    • Paso 2: Creación de perfil y solicitud de clave API
    • Step 3: Crea un escrow
    • Step 4: Financiando un escrow
    • Paso 5: Marcando un hito como completo ✅
    • Paso 6: Aprobando el hito
    • Paso 7: Liberación del pago
    • Cómo obtener testnet tokens
  • 💻Developer Resources
    • 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
    • Referencia de API
      • Introduction
        • How to Integrate us
      • Deploy
        • Initialize Escrow
      • Autenticación
        • Request Api Key
      • Escrows
        • Schema
        • Fund Escrow
        • Get Escrow by Contract ID
        • Resolve Dispute
        • Change Milestone Status
        • Change Milestone Flag
        • Change Dispute Flag
        • Get Multiple Escrow Balance
        • Distribute Escrow Earnings
      • Helpers
        • Set Trustline
        • Send Transaction
    • Stellar Wallets
      • Freighter Wallet
      • Albedo Wallet
      • xBull Wallet
      • Rabet Wallet
      • Lobstr Wallet
      • Hana Wallet
      • Additional Resources
      • Troubleshooting & FAQs
  • 🫂Community and Roadmap
    • Community
      • Notion for Startups
      • Meru
    • Get Involved
    • 🛣️Roadmap: The Journey Ahead
  • 🎒Historical Context
    • 📜Escrow History:
      • 🗿Ancient to Colonial Era
      • 🏦Banking Era (19th - 20th Century)
      • 💻The Digital Era and Online Escrow
    • ⛓️Blockchain Era: Smart Escrows
  • 📢Appendices
    • Contact and Support
    • Links
      • ⚒️Trustless Work dApp
      • 🌐Trustless Work Website
      • 📣Telegram Chat
      • 💎Only Dust Profile
      • 👩‍💻Swagger for API
      • 📜Github
Powered by GitBook
LogoLogo

Links

  • Website
On this page
  • Roles, Parties, and Their Functions
  • Roles:

Was this helpful?

Export as PDF
  1. Developer Resources
  2. Smart Escrow Design

Roles in Trustless Work

Before we begin designing, let's understand what each role represents!

PreviousWhat does a Smart Escrow "look like"?NextEscrow Lifecycle

Was this helpful?

Roles are assigned to addresses. Anyone can deposit funds into an escrow, but the status while only changed by predetermined steps, which are initiated and signed by the corresponding roles.


Roles, Parties, and Their Functions

  • Roles: Each role has a distinct function within the escrow process, such as approving milestones or releasing payments.

  • Parties: These are the entities or individuals assigned to one or more roles, such as buyers, sellers, or platforms. They interact through a Stellar wallet for signing any interactions with the escrow. Only addresses with assigned roles can interact with the escrow.


Roles:

1. Milestone Approver

  • Function: Approves or disputes milestones marked as completed.

  • Examples:

    • Buyer in a freelance marketplace approves the deliverable marked as done by the freelancer.

    • Host in a security deposit scenario approves the checkout marked as done by the turist.

    • Platform in a crowdfunding campaign approves milestone marked as done by the company.


2. Service Provider

  • Function: Delivers the product, service, or objective set on milestine. Marks milestones as completed and ready for approval.

  • Examples:

    • Freelancer delivering a service and marking it as complete.

    • Company updating crowdfunding milestones and marking as complete.

    • Compliance department marking a withdraw complaince check as complete.

    • Real Estate inspector marks the house inispections as complete.


3. Release Signer

  • Function: Approves the release of funds for the amount set.

Release currently works as following: -All milestones need to be approved for payment to be released, since we are setting 1 amount for the whole contract. This will be changed to: Each individual milestone will have an amount, each amount can be individually released when approved.

  • Examples:

    • Airbnb (platform) releasing a deposit.

    • eBay (platform) releasing payment to a seller.

    • DAO releasing a payment to a contributor


4. Dispute Resolver

  • Function: Resolves disputes by adjusting milestone amounts, updating status, or canceling the contract.

  • Examples:

    • Platform (eBay, Airbnb) acting as arbiter for a deposit because turist broke something redirecting deposit to host.

    • Independent third-party arbitrator setting a new milestone price for an project milestone.

    • Cenceling an escrow amount and redirecting funds back to Client.


5. Platform Address

  • Function: An address designated to receive the platform fee, a percentage or fixed amount of the total funds processed through escrow. Platform can also update a milestone while it's status is still pending.

  • Examples:

    • Airbnb collecting platform fees.

    • Crowdfunding platform taking a fee from funds raised.


6. Receiver - Final Recipient

  • Function: The final recipient of funds after conditions are met or disputes are resolved.

  • Examples:

    • Freelancer receiving payment.

    • Turist receiving a security deposit.

    • Company receiving funds

💻
Roles are marked in black