Version Update: New Contract Types, API Changes, and React Integration
technical

Version Update: New Contract Types, API Changes, and React Integration

2025-06-19

mainnetreleaseapidevelopersproduct

🚀 What’s New?

We just shipped one of our biggest updates yet. This is a leap forward in modularity, clarity, and dev experience.

🔁 Two Escrow Types: Choose Your Flow

We now support two distinct escrow contract types:

  • Single-Release: One-shot payouts. Great for one-off gigs or transactions with multiple milestones but a single payout (All milestones have to be approved for release).
  • Multi-Release: Milestone-based, and flexible. Ideal for freelance projects, grants, or phased payouts (Each milestone is approved and released independently).

📖 Learn more: Single vs. Multi-Release Escrows →


🧠 Smarter API Design

We’ve restructured the API to reflect this dual-contract logic. All endpoints are now scoped by escrow type:

Old: POST /escrow/fund-escrow

New:

  • POST /single-release/fund-escrow
  • POST /multi-release/fund-escrow

Every critical endpoint now uses this structure, including:

  • initialize-escrow
  • release-funds
  • change-milestone-status
  • approve-escrow
  • resolve-dispute
  • get-escrow

We also did some name changes, learn more here


⚛️ New React Library (Beta)

You can now integrate Trustless Work in your frontend with our official React library. This simplifies:

  • Escrow interaction
  • Milestone updates and approvals

👉 React SDK docs Here


🧰 Backoffice & Demo dApp — Upgraded and Open

Both our Backoffice dApp and Demo dApp have been upgraded to support the new Single-Release and Multi-Release contract flows.

  • The Backoffice dApp now includes a revamped UX for managing roles, viewing milestones, and releasing funds.
  • The Demo dApp shows exactly how to interact with the API and escrows from a frontend interface.

🔁 Clone them, fork them, customize them. They’re built to help you ship faster.

Try the new Backoffice dApp →
View and clone the Demo dApp →

These aren’t static dashboards—they’re working examples designed for developers building real workflows.


Why It Matters

This a more flexible, stable foundation for anyone building:

  • Grant platforms
  • P2P apps
  • Rental deposit flows
  • DAO bounties
  • Custom fintech workflows

🧪 Start Building

Try the new API
Try the backoffice dApp


If you're already building with us, update your integrations to use the new endpoint format. If you're just getting started, there's never been a better time.

Pura Vida!