Observed since 21 Oct, 11:41 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Cross-chain payment adapter for Tempo using Squid Router
Cross-chain payment method for mppx that fulfills MPP charge challenges via Squid Router.
Given a viem Account, it scans all Squid-supported EVM chains for available balances, selects a viable source token, bridges it to the challenge currency on Tempo mainnet, and returns a credential containing the destination tx hash.
Agent on Base (or other chain) → Squid bridge → Tempo chain → MPP recipient
npm install @0xsquid/mpp
import { Mppx } from "mppx/client"
import { squid } from "@0xsquid/mpp"
import { privateKeyToAccount } from "viem/accounts"
const account = privateKeyToAccount(process.env.PRIVATE_KEY! as `0x${string}`)
const { fetch: mppxFetch } = Mppx.create({
polyfill: false,
methods: [
squid({
account,
integratorId: "my-app"
})
]
})
const response = await mppxFetch("https://some-mpp-api.com/resource")
console.log(await response.json())
| Option | Type | Required | Description |
|---|---|---|---|
account | Account | yes | viem Account — Squid scans all supported chains for available funds |
integratorId | string | yes | Your Squid integrator ID |
{ amount, currency, recipient } from a 402 response{ type: "hash", hash } containing the Tempo destination tx hashThe server verifies the credential by fetching the receipt from Tempo and checking that the Transfer event matches the challenge parameters exactly (token address, recipient, amount).
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.2.0Registry latest | 24 Mar 2026 | 7 | |
| 0.1.1-beta.4 | 23 Mar 2026 | 7 | |
| 0.1.1-beta.3 | 23 Mar 2026 | 7 | |
| 0.1.1-beta.1 | 23 Mar 2026 | 7 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 11:41 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:23946ead27a9541e199039f45d403296bfb8142b1ea10f376a27869f783c2111