Web2-style Experience

Build a Next.js PWA that uses social authentication to manage a sponsored smart contract wallet on the VeChainThor blockchain.

Beginner

30 minutes

PWA, Embedded Wallets, UserOperations, Paymasters (Fee Delegators), Bundlers, and DPoS Consensus.

Prerequisites

Familiarity with React/Next.js and Hardhat.

PWA with Privy and Account Abstraction 📱🔐

Welcome to the future of user onboarding! In this series, you’ll learn how to blend Privy (social logins) with Account Abstraction (smart contract wallets) to create a Progressive Web App (PWA) on VeChainThor. No more seed phrases, no more gas hurdles—just a seamless, "Web2-style" experience for your users!

Skills the Learner Will Acquire:

  • Integrating Privy for embedded wallets and social login.

  • Deploying and interacting with ERC-4337 style Account Abstraction (AA) contracts.

  • Implementing Fee Delegation to provide a "gas-free" user experience.