Skip to content

feat(tempo): support machine-token charge payments - #385

Merged
gakonst merged 1 commit into
mainfrom
feat/machine-token-payments
Aug 14, 2026
Merged

feat(tempo): support machine-token charge payments#385
gakonst merged 1 commit into
mainfrom
feat/machine-token-payments

Conversation

@gakonst

@gakonst gakonst commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add canonical machineUSD deployments and exact approve + swapTo routing for Tempo mainnet and Moderato
  • prefer funded, successfully simulated machine-token routes before autoswap on charge clients
  • advertise machineTokenEnabled from server builders and verify canonical calls and swapper settlement logs

Ports the behavior merged in wevm/mppx#784.

Verification

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • cargo test --features tempo,stripe,ws,server,client,axum,middleware,tower,utils,integration-stripe,integration-ws
  • cargo test --all-features --lib machine_token

The external Tempo localnet suite was not run because localhost:8545 was not running.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Changelog not found.

A changelog entry is required before merging. We've generated a suggested changelog based on your changes:

Preview
---
mpp: minor
---

Added canonical first-party machine-token funding for Tempo charges. Clients now prefer the machineUSD approve/`swapTo` route when `machineTokenEnabled` is set and the payer is funded, and verification accepts the canonical swapper as the settlement sender.

Add changelog to commit this to your branch.

@gakonst
gakonst merged commit 0c45b7a into main Aug 14, 2026
12 checks passed
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.

1 participant