circle-check
Our docs are AI-ready. Use them as context for any AI, or ask questions via the search bar.

codepenDependent Blocks

Some blocks depend on shared modules (providers, helpers, query, etc).

Install the dependencies first.

circle-exclamation

Dependency diagram

Use the interactive dependency diagram to confirm what a block needs.


Dependencies by block group

Listings (Escrows by Signer / Escrows by Role)

Applies to:

Required modules:

  • wallet-kit

  • providers

  • handle-errors

  • helpers

  • tanstack

  • escrows/single-release or escrows/multi-release or escrows/single-multi-release (depends on which actions you want enabled)

circle-info

Include all providers for listings.

Listings open details dialogs and need the dialog + amount contexts.

Actions (single-release / multi-release)

All single-release and multi-release actions (Initialize Escrowarrow-up-right, Fund Escrowarrow-up-right, Change Milestone Statusarrow-up-right, Approve Milestonearrow-up-right, Releasearrow-up-right, Disputearrow-up-right, Resolvearrow-up-right, Update Escrowarrow-up-right) require:

  • wallet-kit

  • providers

  • handle-errors

  • tanstack

  • helpers


Provider wrapping (order matters)

Wrap your app with these providers, in this exact order.

Include EscrowDialogsProvider and EscrowAmountProvider when you use dialogs or amount context.

triangle-exclamation

Last updated

Was this helpful?