Persist swap inputs when switching networks
Open
Nobody has claimed this yet.
improvement
p1
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Desired Behavior:
- Enter swap details (e.g. 1 ETH for 120 UNI)
- Switch networks (e.g. L1 -> Optimism, or Arbitrum, in any direction)
- The user-entered value should persist. Once the new network is connected, the app should automatically fetch a quote for that trade and display it.
Use case: as a user I want to quickly compare prices across the different networks.
Current Behavior: all user input is dropped when we switch networks
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
No files, tests, or entry points are named. Start by tracing the swap form state and network-switch handling, then inspect how quotes are fetched after a network change; done means entered swap values survive switching between networks and a new quote is displayed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- blockchain, typescript
- Domain
- blockchain, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100