Skip to content

Deprecate MetaMask faucet page and in-repo UI - #3004

Open
shahbaz17 wants to merge 2 commits into
mainfrom
fix-dep-faucet
Open

Deprecate MetaMask faucet page and in-repo UI#3004
shahbaz17 wants to merge 2 commits into
mainfrom
fix-dep-faucet

Conversation

@shahbaz17

@shahbaz17 shahbaz17 commented Aug 5, 2026

Copy link
Copy Markdown
Member

Summary

  • Deprecate and remove the MetaMask faucet from docs.metamask.io
  • Remove the in-repo React page (src/pages/developer-tools/faucet.tsx) and faucet UI (src/components/Faucet/), plus navbar/footer entry points and faucet-only assets.
  • Redirect target: /developer-tools/faucet/ (and /developer-tools/faucet/sepolia/) → https://www.infura.io/faucet (permanent).
  • Repoint four tutorial “MetaMask faucet” tips to the Infura faucet.

Slack: thread on faucet deprecation.

Preview

Link:

Test plan

  • Preview: /developer-tools/faucet/ redirects to Infura faucet (not 404)
  • Preview: /developer-tools/faucet/sepolia/ same redirect
  • Navbar and footer have no Faucet link
  • Tutorials link to https://www.infura.io/faucet
  • npm run build clean; sitemap has no faucet URL
  • @Jwhiles confirms no remaining dependencies on the faucet page

Note

Medium Risk
Large removal of a user-facing product surface and permanent redirect changes for bookmarked faucet URLs; scope is docs/navigation only with no auth or payment logic.

Overview
Removes the deprecated MetaMask faucet from docs.metamask.io: the /developer-tools/faucet/ React page, the entire src/components/Faucet/ UI (hero, FAQ, alerts, transaction table), related styles, and Faucet entries from the navbar and footer.

Legacy faucet URLs are handled via vercel.json: /developer-tools/faucet/ and /developer-tools/faucet/sepolia/ permanently redirect to https://docs.infura.io/dashboard/ (replacing the old in-site page and the internal sepolia→faucet redirect). .cursor/rules/product-infura.mdc is updated so docs must not link to MetaMask or Infura faucet products and should use generic testnet ETH guidance instead.

Four tutorials no longer point at /developer-tools/faucet/; they use wording like “use a public Sepolia faucet” with no specific URL. REF_FAUCET_PATH is removed from src/lib/constants.ts, so faucet is no longer in REF_ALLOW_LOGIN_PATH.

Reviewed by Cursor Bugbot for commit 95ea177. Bugbot is set up for automated code reviews on this repo. Configure here.

Remove the broken faucet React page and components, redirect
/developer-tools/faucet/ to the Infura faucet, and repoint tutorial links.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Aug 5, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
metamask-docs Ready Ready Preview Aug 5, 2026 1:55pm

Request Review

@cursor

cursor Bot commented Aug 5, 2026

Copy link
Copy Markdown

Current version of PR was reviewed by /review-bugbot on Aug 5, 08:50 GMT+4. It flagged 0 findings.

Bugbot on commit 202d48b is skipped.

@AndyMBridges AndyMBridges left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @shahbaz17 - Could you please remove the redirect to infura.io/faucet. This will also be sunset.

Infura faucet is also sunsetting, so point deprecated faucet URLs at
the Infura dashboard docs and use generic no-URL testnet tips in tutorials.

Co-authored-by: Cursor <cursoragent@cursor.com>
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