bitshares / bitshares/bitshares-ui
[0.75] Prevent BTS balance button from spending all BTS
- Dominant language
- JavaScript
- Stars
- 520
- Forks
- 575
- Avg merge
- 12h 7m
- Merged PRs (30d)
- 5
Description
**Is your feature request related to a problem? Please describe.**
By clicking the BTS balance link all BTS are inserted for trade and no BTS are left for paying fees.
**Describe the solution you'd like**
The number, which is inserted to the trading form should be reduced by 10 time of the actual transaction fee, to have enough for paying fees.
**Additional context**
We already have this in the margin trading for max collateral.

Contributor guide
Research direction
Compare the existing margin-trading max-collateral behavior, then trace the BTS balance link and trading form that insert the amount. The change is done when using the balance leaves enough BTS for fees by reducing the inserted amount by ten times the actual transaction fee.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- blockchain, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100