Skip to content

docs: add LZD wrapping steps for bridging out of Tempo via Stargate#399

Merged
letstokenize merged 2 commits into
mainfrom
agent-1778647272-5086-1163
May 13, 2026
Merged

docs: add LZD wrapping steps for bridging out of Tempo via Stargate#399
letstokenize merged 2 commits into
mainfrom
agent-1778647272-5086-1163

Conversation

@decofe
Copy link
Copy Markdown
Member

@decofe decofe commented May 13, 2026

Adds the required LZD (LayerZero Dollar) wrapping steps to the "Bridge from Tempo via Stargate" section.

Why

Tempo has no native gas token, so LayerZero messaging fees are paid in a TIP-20 stablecoin via LZEndpointDollar. Before calling sendToken to bridge out, users must first wrap USDC.e into LZD so the endpoint can consume it as a fee. Without these steps, the bridge transaction will fail.

Changes

  • Updated intro paragraph to explain the wrapping requirement
  • Added 3 new steps to the cast walkthrough (between "Quote the fee" and "Approve token on Tempo"):
    1. Approve USDC.e to the LZD wrapper
    2. Wrap USDC.e into LZD
    3. Approve LZD to Stargate
  • Updated the TypeScript example with corresponding wrapping steps (steps 2–4) and wrapAbi

Tempo has no native gas token, so LayerZero messaging fees must be paid
via LZEndpointDollar using a wrapped TIP-20 stablecoin (LZD). Before
calling sendToken to bridge out, users need to:

1. Approve USDC.e to the LZD wrapper contract
2. Wrap USDC.e into LZD
3. Approve LZD to the Stargate pool

Added these steps to both the cast and TypeScript examples in the
'Bridge from Tempo via Stargate' section, with a brief explanation of
why the wrapping is necessary.

Amp-Thread-ID: https://ampcode.com/threads/T-019e1f72-8b2f-72ee-825f-65ca36fc42d5
@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

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

Project Deployment Actions Updated (UTC)
tempo-docs Ready Ready Preview, Comment May 13, 2026 5:08am

Request Review

Co-Authored-By: Uddhav <255779543+letstokenize@users.noreply.github.com>
@letstokenize letstokenize merged commit 6bb8e5c into main May 13, 2026
15 checks passed
@letstokenize letstokenize deleted the agent-1778647272-5086-1163 branch May 13, 2026 05:21
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.

2 participants