Skip to content

Deposit watch and route choice #1176

Closed as not planned
Closed as not planned

Description

@filvecchiato

Pick the route before the provider delivers, then watch the deposit.

  • Accepted assets on Asset Hub: DOT, USDT, USDC, dotUSD (ids per network)
  • Route: PSM mint, pool swap or dotUSD teleport; fixed on the session
  • Balance-driven, re-entrant tick with persisted state
  • Shortfall, wrong asset and timeout outcomes

Done when A deposit to the temporary account moves the session to "convert", across a restart.
Depends on #1137, #1175
Refs getcash packages/core/src/tokens.ts · packages/funding/src/route.ts · pipeline.ts

Activity

  1. filvecchiato commented on Oct 5, 2026

    @filvecchiato
    CollaboratorAuthor
  2. self-assigned this
    on Oct 5, 2026
  3. filvecchiato commented on Oct 6, 2026

    @filvecchiato
    CollaboratorAuthor

    Not needed in core: the provider's worker watches its own deposit account (product-sdk funding toolkit).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions