Fix: Surface external testnet faucet link in console for new users without gas - #1
Merged
Merged
Conversation
…ithout gas Co-authored-by: Rorical <46294886+Rorical@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix faucet interaction on console page for new users
Fix: Add external testnet faucet link in console page for new users without gas
Mar 15, 2026
Copilot
AI
changed the title
Fix: Add external testnet faucet link in console page for new users without gas
Fix: Surface external testnet faucet link in console for new users without gas
Mar 15, 2026
Rorical
marked this pull request as ready for review
March 15, 2026 18:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The in-console contract faucet requires gas to call
claim(), creating a catch-22 for new users with zero balance. The external web faucet athttps://testnet-faucet.muri.moe/dispenses tokens gaslessly but was never surfaced in the console UI.Changes
Console.jsx— ImportFAUCET_URLfrom config; add a link to the external faucet in two places:ClaimTokensfaucet bar: adds a secondary hint below the claim button for users who lack gas for the first on-chain callConsole.css— Adds.faucet-bar__hintstyles (anda/a:hover) consistent with existing.console-gate__hintlink patternpackage-lock.json— Regenerated to sync withpackage.json; was missingutf-8-validate,@base-org/account,brotli-wasm, andpreact, causingnpm cito fail in CI📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.