Skip to content

feat: support destination tokens in wallet deposits - #861

Merged
gakonst merged 1 commit into
codex/mach-funding-20261005from
centaur/add-deposit-destination-token-1791244000
Oct 6, 2026
Merged

gakonst merged 1 commit into
codex/mach-funding-20261005from
centaur/add-deposit-destination-token-1791244000

Conversation

@decofe

@decofe decofe commented Oct 5, 2026

Copy link
Copy Markdown
Member

Summary

Add optional destinationToken to the wallet_deposit request schema. Preserve the existing token source hint and requests that omit the new parameter. Document runtime wallet-support discovery and include a minor changeset.

This companion is stacked on accounts #859, the SDK branch already pinned by Tempo Wallet. Its diff contains only the destination parameter, its schema/type coverage, and destination-aware dismissal cases; it does not change MACH or other funding behavior.

Validation

  • 25 request-schema tests pass, including preservation of both source and destination hints and existing omitted-parameter coverage.
  • Four transport dismissal tests pass for omitted and OUSD destinations, including a wallet that ignores cancellation. These in-process cases ran with a temporary configuration without localnet setup; other localnet cases were not run.
  • SDK TypeScript project checks pass (pnpm exec tsc -b --noEmit).

Prompted by: @danrobinson

Co-authored-by: Derek Cofausper <256792747+decofe@users.noreply.github.com>
@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
accounts-site Ready Ready Preview Oct 5, 2026 11:35pm UTC

Request Review

@pkg-pr-new

pkg-pr-new Bot commented Oct 5, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/tempoxyz/accounts@861

commit: 24c5a4d

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor
Worker Preview
Wagmi https://aa8f7dd3-accounts-wagmi.porto.workers.dev

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor
Worker Preview
Playground https://e3d46b32-accounts-playground.porto.workers.dev

@gakonst
gakonst merged commit 0c70bc4 into codex/mach-funding-20261005 Oct 6, 2026
13 of 14 checks passed
@gakonst
gakonst deleted the centaur/add-deposit-destination-token-1791244000 branch October 6, 2026 00:29

This branch was successfully deployed

1 active deployment
Preview — 24c5a4d5 Deployed Oct 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants