Uniswap / Uniswap/interface

Feature Request: Add XDC Network Support (Chain ID 50)

Open
#8,002 1 comment 0 reactions 0 assignees View on GitHub

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

Block Explorer

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

  1. Add XDC chain info to packages/uniswap/src/features/chains/evm/info/
  2. Update UniverseChainId enum in types
  3. Add chain to ORDERED_CHAINS
  4. Deploy Uniswap contracts on XDC (if not already)

Resources

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.