MetaMask, a widely used self-custodial wallet, was migrated to a new architecture by Consensys, leveraging Next.js and Vercel to improve operational reliability, scalability, and iteration. The migration aimed to address limitations of the previous Static Site Generation approach, enabling faster workflows, dynamic content, and fewer bottlenecks. With the new setup, the team achieved significant performance improvements, including improved uptime, accelerated deployments, and enhanced SEO outcomes. The architecture now supports features like Incremental Static Regeneration and smart caching, allowing for richer dynamic content and real-time collaboration across teams. Consensys is confident in this setup to scale with their vision, enabling teams to focus on innovation rather than infrastructure.