feat(bridge): add pyusd support through lifi#194
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| PYUSD: { | ||
| symbol: 'PYUSD', | ||
| name: 'PayPal USD', | ||
| }, | ||
| }; |
There was a problem hiding this comment.
Jumper is showing PYUSD as FLX, so we need to override symbol and name:
https://jumper.exchange/fr?fromChain=1&fromToken=0x6c3ea9036406852006290770BEdFcAbA0e23A0e8&toChain=42161&toToken=0x46850aD61C2B7d64d08c9C754F45254596696984
There was a problem hiding this comment.
Pull request overview
This PR adds PYUSD (PayPal USD) support through LiFi bridging between Ethereum and Arbitrum One. Previously, PYUSD was a withdraw-only token on Arbitrum One, meaning users could only withdraw it but not deposit. This PR enables bidirectional bridging via LiFi.
Changes:
- Removes PYUSD from the withdraw-only token list and adds its addresses to the common address registry, enabling deposits through LiFi
- Adds PYUSD to the LiFi token registry (
CUSTOM_TOKENS) and metadata overrides in both theappandarb-token-bridge-uipackages - Refactors the
normalizeTokenMetadatafunction inapp/registry.tsto use a data-drivenTOKEN_METADATA_OVERRIDESmap, and fixes the USDTnamefield from'USDT'to'Tether USD'
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
packages/arb-token-bridge-ui/src/util/WithdrawOnlyUtils.ts |
Removes PYUSD from the withdraw-only token list to enable deposits |
packages/arb-token-bridge-ui/src/util/CommonAddressUtils.ts |
Adds PYUSD addresses for Ethereum and ArbitrumOne to the common address registry |
packages/arb-token-bridge-ui/src/app/api/crosschain-transfers/lifi.ts |
Adds isPyUsdToken helper and PYUSD metadata override; fixes USDT name to 'Tether USD' |
packages/app/src/app/api/crosschain-transfers/lifi/tokens/registry.ts |
Adds PYUSD to CUSTOM_TOKENS; refactors normalizeTokenMetadata to use a data-driven TOKEN_METADATA_OVERRIDES map |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.

Summary
Steps to test