Skip to content

Add a Max button and fix wallet detection - #3

Merged
ezedike-evan merged 2 commits into
mainfrom
max-button-wallet-detect
Oct 15, 2026
Merged

ezedike-evan merged 2 commits into
mainfrom
max-button-wallet-detect

Conversation

@ezedike-evan

Copy link
Copy Markdown
Member

What

  • Max button on the send amount, on both the Stellar and EVM forms. Fills in the wallet balance once it has been read; on Arc, less the USDC kept back for gas.
  • Wallet detection. The kit reports a wallet as "not available" if it takes more than 500 ms, and an idle extension is asleep and takes longer. Each wallet is now probed directly with a 5 s timeout, a detected wallet stays detected, and retries run longer after page load.

Checks

Typecheck, 292 tests and the production build pass locally. Not tried against real extensions.

🤖 Generated with Claude Code

Fills in the whole wallet balance once it has been read, and on Arc the
balance less the USDC kept back for gas. Written as a plain decimal so
the amount parsers read back exactly the same units.
The kit answers "not available" if a wallet takes more than 500 ms, and
an idle extension is asleep and takes longer. Ask each wallet directly
with a 5 s timeout, keep a wallet detected once it has answered, and
retry for longer after page load.
@vercel

vercel Bot commented Oct 15, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
xebra Error Error Oct 15, 2026 12:33pm UTC

@ezedike-evan
ezedike-evan merged commit 824c823 into main Oct 15, 2026
7 of 8 checks passed

This branch had an error being deployed

1 failed deployment
Preview — 6cdcfa89 Deployed Oct 15, 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.

1 participant