Skip to content

Clarify USDT0 bridge approval requirement

Created by: ihsraham

Summary

  • Updates WDK bridge docs to make the source-chain approval step explicit before bridge().
  • Removes stale approveHash and resetAllowanceHash guidance from the bridge API docs.
  • Updates x402, core protocol integration examples, and bundled WDK skill references so they no longer imply the bridge module approves internally.

Documentation Fixes

  • Addresses https://github.com/tetherto/wdk-protocol-bridge-usdt0-evm/issues/13.
  • Aligns GitBook examples with the current bridge module behavior: approve the token spender first, then execute bridge() using the same oftContractAddress when supplied.
  • Adds a note that quoteBridge() can also fail without allowance when providers estimate the bridge send transaction.

Validation

  • Ran stale-term checks for approveHash, resetAllowanceHash, internally approve, may internally approve, and bundled approval claims.
  • Ran git diff --check.
  • Ran GitBook block balance checks, fenced-code checks, HTML table checks, and Markdown table structure checks for changed Markdown files.

Merge request reports