Trustless Work
HomeHome

Trustless Work React Library

A production-ready set of React blocks for integrating Trustless Work's escrow and dispute resolution flows.

Important

Would you like to customize the blocks?
You can do that by editing the blocks as you see fit.

What you get

  • UI blocks (cards/tables/dialogs/forms) to list and manage escrows
  • Providers for API config, wallet context, dialogs and amounts
  • TanStack Query hooks for fetching and mutating escrows
  • Wallet-kit helpers and error handling utilities

List all available blocks

With the CLI you can list all available blocks:

1npx trustless-work list
The init command will:
  • Show all available blocks.

Installation based on folder path

If you need all the child blocks, you can install them by pointing to their parent directory, so you won't have to install them one by one.

1npx trustless-work escrows // or other parent's blocks directory

This will install all the escrows blocks, including the escrow-context, single-release, etc.