Skip to content

fix: tempo batch payment examples - #754

Open
parvahuja wants to merge 4 commits into
mainfrom
parv/fix-docs-code-examples
Open

fix: tempo batch payment examples#754
parvahuja wants to merge 4 commits into
mainfrom
parv/fix-docs-code-examples

Conversation

@parvahuja

@parvahuja parvahuja commented Jul 28, 2026

Copy link
Copy Markdown
Member

What

  • Build each TIP-20 transfer as a call to the token contract.
  • Submit all calls together as one atomic Tempo transaction.
  • Use the same direct-client pattern and correct ABI name in the payroll memo example.

Why

Tempo batches multiple calls inside one transaction.

Checks

  • Production build
  • Generated Markdown audit
  • Markdown component check
  • git diff --check

@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
tempo-docs Ready Ready Preview, Comment Jul 28, 2026 11:46pm

Request Review

@parvahuja
parvahuja force-pushed the parv/fix-docs-code-examples branch from 3719eba to c6ead4f Compare July 28, 2026 22:22
@parvahuja parvahuja changed the title Fix incorrect documentation examples Fix Tempo batch payment examples Jul 28, 2026
@parvahuja parvahuja changed the title Fix Tempo batch payment examples fix: tempo batch payment examples Jul 28, 2026
] as const
const amount = parseUnits('100', 6)

await client.faucet.fundSync({ account: client.account })

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this now implicitly only works on moderato - our examples should be "production" code

@parvahuja
parvahuja marked this pull request as ready for review July 28, 2026 23:46
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