Trustless Work
Home

Escrows Cards by Role

Card grid to browse escrows by role with quick stats and actions. This component contains a detailed view of the escrow, including the role, status, and actions.

EscrowsCardsRoleGridOverviewNEW

Installation

Before installing the block, make sure you have the required providers and blocks. You can read more in the dependencies section based on the block you are using.

1npx trustless-work add escrows/escrows-by-role/cards

Filters

-
Active
OnChain

Connect your wallet

To continue, connect your wallet and authorize the application.

Page 1
Important Notes
  • The trustless work hook used in this block requires a specific role. In [escrows-by-role/cards/EscrowsCards.tsx = const activeRole], the role is mocked with a filter for testing purposes. You should replace it with the role that best fits your use case.
  • If you don't want to use the escrowProvider context, you'll need to provide the payload through an alternative method.
Required Providers
<ReactQueryClientProvider />
<TrustlessWorkProvider />
<WalletProvider />
<EscrowProvider />
<EscrowAmountProvider />
<EscrowDialogsProvider />