Skip to content

Release: network dropdown, version marker, gas fixes, simulator UX - #117

Merged
stackdapp-dev merged 2 commits into
mainfrom
develop
Mar 26, 2026
Merged

stackdapp-dev merged 2 commits into
mainfrom
develop

Conversation

@stackdapp-dev

Copy link
Copy Markdown
Owner

Summary

  • Network dropdown on Cash In page — select between Ethereum ERC20 (default) and Arbitrum One, with network-specific deposit warnings
  • App version marker — global v{version}-{commit} display across all pages for deployment verification
  • Gas override removal — removed hardcoded gas overrides that caused "Unknown connector" errors on external wallets (MetaMask, etc.)
  • Simulator UX — default collateral to 1 so borrow slider is usable on load; moved Borrow Amount above collateral inputs
  • formatAmount fix — clamp decimals to prevent RangeError on edge cases
  • Developer mode default — changed to true by default, updated tests accordingly

Test plan

  • All 1629 tests pass (102 test files)
  • Verify network dropdown on Cash In page switches warning text correctly
  • Verify version marker appears at bottom of pages
  • Verify external wallet connections work without gas errors
  • Verify loan simulator loads with usable borrow slider

🤖 Generated with Claude Code

- Add Ethereum ERC20 / Arbitrum One network selector (defaults to Ethereum ERC20)
- Update warning text per network selection
- Add global AppVersion component showing version + commit hash
- Expose version and commit hash via next.config.ts env vars

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Mar 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
stackd-web Ready Ready Preview, Comment Mar 26, 2026 6:25am

…ances

- Add Arbitrum One / Ethereum ERC20 network dropdown on convert page
- Arbitrum tokens: WBTC, ETH, USDT; Ethereum tokens: XAUT, USDT, ETH
- Display chain-specific balances (not cross-chain totals)
- Pass chainId through useGaslessSwap → /api/swap and /api/0x routes
- Fix network auto-switch: use switchToNetwork(chainId) instead of ensureCorrectNetwork
- Add XAUT and ETH token addresses to swap API routes
- Remove FREE indicator from convert page network card
- Include native ETH in per-chain balance tracking

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@stackdapp-dev
stackdapp-dev merged commit cbbc0a7 into main Mar 26, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 63ae2149 Deployed Mar 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants