Both Electron and Android apps now calculate the maximum transferable amount by subtracting estimated gas fees from the balance: Electron (Home.tsx): - Added calculateMaxAmount() async function that fetches gas price - Uses 21000 gas limit for simple transfers - Shows loading state while calculating Android (TransferScreen.kt): - Added calculateMaxTransferAmount() in TransactionUtils - Uses coroutine to fetch gas price asynchronously - Shows "..." while calculating, falls back to balance on error Both implementations: - Add 10% buffer to gas price for safety - Round down to 6 decimal places - Show error if balance insufficient for gas 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude | ||
| api-gateway | ||
| infrastructure | ||
| mpc-system | ||
| scripts | ||
| services | ||
| .env.windows | ||
| docker-compose.windows.yml | ||