0xMiden / 0xMiden/wallet

SWAP UX IMPROVEMENT

Open
#633 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5
Forks
28
Avg merge
9h 50m
Merged PRs (30d)
123

Description

### Feature description

1. Show available token balance directly on the swap interface, so users know how much they have before entering an amount. Because sometimes, i want to carry out a swap and i would have forgotten the amount i have in the wallet, so i always have to go back to the main page. It's stressful dude.

Image

2. Add a percentage selector (e.g. 25%, 50%, 75%, 100%) around the blue-marked area, allowing users to quickly choose how much of their balance they want to swap.

3. I think we should also be able to bridge inside the wallet (on mainnet of course)

Image

### Why is this feature needed?

ADDITIONAL INFORMATION ON THE SWAP SIDE UX CAN POTENTIALLY IMPROVE USERS EXPERIENCE

Contributor guide

Open the contributing guide

Research direction

Look at the swap interface components in the wallet's frontend code, likely under src/components or src/views. Find where token balances are fetched and displayed. The percentage selector would be added near the amount input field. Check existing UI patterns for balance display and button groups. Testing involves verifying the balance updates correctly and percentage calculations work.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.