Return the ?chain= to the UI for custom paths
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
Token creators/companies, usually like to create a direct swap link, leading users to the correct swap. Currently the UI isn't allowing the chain addition to the link.
Describe the solution you'd like
Re - add the ?chain=, and have it trigger the switch chain request to user if not currently on the chain
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
Review the UI's custom-path handling and the custom-linking documentation at docs.uniswap.org/protocol/V1/guides/custom-linking. Trace how the chain query parameter is currently parsed, then verify that a custom swap link preserves it and prompts a chain switch when the wallet is on another chain.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100