Skip to content

Docs/sdk bridge erc3009 smart wallets - #80

Merged
bastienrp merged 4 commits into
mainfrom
docs/sdk-bridge-erc3009-smart-wallets
Dec 2, 2026
Merged

bastienrp merged 4 commits into
mainfrom
docs/sdk-bridge-erc3009-smart-wallets

Conversation

@bastienrp

Copy link
Copy Markdown
Contributor

Summary

Docs i18n checklist

  • Edited docs/pages/en/ only (did not hand-edit cn/ko content)
  • Updated docs/sidebar.json (/en/) if pages were added, moved, or renamed
  • Reviewed the auto-generated cn/ko translations committed to this PR
  • If a page was deleted/renamed: applied the same change to cn and ko
  • npm run i18n:check reports 0 missing (stale warnings OK)

bastienrp and others added 2 commits December 2, 2026 11:31
- Reference: fully costed BridgeQuote, new bridge params (dstNativeDrop,
  feeBufferBps, refundAddress), prepareBridgeCalldata, estimateBridgeTime,
  trackBridge, route "oft", XAUt0 and PYUSD OFT meshes, per-asset chain
  table, eight new Chain entries, BRIDGE_CHAIN_CONFIGS.tokens,
  rpcOverrides, STABLE_PYUSD_ADDRESS, stable.authorization (ERC-3009).
- Fix the USDT0-on-Ethereum examples: 0x6C96... is the OFT adapter, not a
  token. Passing it as fromToken with route "oft" throws. Use canonical
  USDT, which the lockbox escrows.
- Quickstart: USDT -> USDT0 from Ethereum takes the OFT route, not LI.FI,
  so the quote shows nativeFee and a 1:1 toAmount.
- Prefer route "oft" over the deprecated "usdt0" alias across pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Reference: walletClient is StableWalletClient; new Smart wallets section
  (send-path table, one-chain binding, no switchChain); createStable
  rejects a client with no way to send; ERC-3009 contract signers
  (erc1271 signature type, bytes overload, deploy-first warning).
- How-to (viem): Safe via permissionless and Alchemy smart wallet setup.
- Overview: mention atomic batching from 1.2.0.

Documents @stablechain/sdk 1.2.0, which is not on npm yet. Merge after
it is published.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Styleguide check

✓ 135 en pages — 0 blocking, 9 warnings

docs/pages/en/explanation/autobahn.mdx

  • ⚠ warning: marketing word "robust" (L20)
  • ⚠ warning: marketing word "seamless" (L34)

docs/pages/en/explanation/consensus.mdx

  • ⚠ warning: marketing word "robust" (L32)

docs/pages/en/explanation/ethereum-compatibility.mdx

  • ⚠ warning: marketing word "seamless" (L10)

docs/pages/en/how-to/monitor-node.mdx

  • ⚠ warning: marketing word "comprehensive" (L7)

docs/pages/en/how-to/troubleshoot-node.mdx

  • ⚠ warning: marketing word "comprehensive" (L7)

docs/pages/en/reference/ramps.mdx

  • ⚠ warning: marketing word "seamless" (L28)

docs/pages/en/reference/wallets.mdx

  • ⚠ warning: marketing word "powerful" (L89)
  • ⚠ warning: marketing word "seamless" (L36)

Enforced by npm run style:check — see STYLEGUIDE.md.

github-actions Bot and others added 2 commits December 2, 2026 04:39
@stablechain/sdk 1.2.0 is on npm. Give smart wallet support its own page:
Safe (permissionless, EntryPoint v0.7) and Alchemy (EIP-7702) setup on
testnet, batched sends, ERC-3009 signing as the account, the send-path
table, and limits (one chain per client, bridge fee never sponsored,
deploy before signing, reads through a public client).

The viem page keeps a short pointer. Link the page from the overview,
the reference, the sidebar, and the Safe and Alchemy entries on the
wallets page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bastienrp
bastienrp merged commit c27d3d6 into main Dec 2, 2026
1 of 3 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