Feature Request: Add XDC Network Support (Chain ID 50)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Summary
Request to add XDC Network (Chain ID 50) support to the Uniswap Interface.
XDC Network Details
| Property | Value |
|---|---|
| Chain ID | 50 |
| Network Name | XDC Network |
| Native Token | XDC |
| Block Time | ~2 seconds |
| Consensus | XDPoS 2.0 |
| EVM Compatible | Yes |
RPC Endpoints
- Primary: https://erpc.xinfin.network
- Backup: https://rpc.xdc.org
- Alternative: https://rpc.ankr.com/xdc
Block Explorer
- Name: XDC BlocksScan
- URL: https://xdc.blocksscan.io/
Why XDC Network?
XDC Network is an enterprise-grade Layer-1 blockchain focused on:
- Trade Finance: Tokenization of trade finance assets
- RWA (Real World Assets): Growing ecosystem of tokenized real-world assets
- Low Fees: Sub-cent transaction fees (often <$0.0001)
- Fast Finality: ~2 second block times
- Energy Efficient: XDPoS 2.0 consensus
Ecosystem Growth
- Listed on MetaMask (default network)
- Listed on DefiLlama
- Support in viem.sh
- Support in Safe (Gnosis Safe)
- Active DeFi ecosystem with DEXs, lending protocols
Technical Requirements
- Add XDC chain info to
packages/uniswap/src/features/chains/evm/info/ - Update
UniverseChainIdenum in types - Add chain to
ORDERED_CHAINS - Deploy Uniswap contracts on XDC (if not already)
Resources
- Website: https://xdc.network
- Documentation: https://docs.xdc.network
- GitHub: https://github.com/XinFinOrg
- XDC in viem: https://viem.sh/docs/chains/xdc
Additional Context
XDC is already supported in:
- ✅ MetaMask (default network list)
- ✅ viem.sh
- ✅ RainbowKit
- ✅ Thirdweb
- ✅ Safe (Gnosis Safe)
- ✅ DefiLlama
Would love to see Uniswap support this growing enterprise blockchain!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting packages/uniswap/src/features/chains/evm/info/ and the types defining UniverseChainId, then trace how ORDERED_CHAINS is assembled. Verify whether Uniswap contracts are deployed on XDC before deciding the implementation scope. Done means XDC Network with chain ID 50 is consistently represented in the interface and any required deployment work is accounted for.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100