Skip to content

Conversation

@swkatmask
Copy link
Contributor

@swkatmask swkatmask commented Sep 26, 2025

  • add Privy provider and API integration for wallet management
  • support Privy wallets in MaskWalletProvider and wallet hooks
  • enable login and wallet creation via X (Twitter) account with auth timeout handling
  • adapt transaction requests to handle Privy wallet signing
  • update cspell dictionaries and ignore reg exps for privy related domains
  • adjust UI components for importing/creating wallets with Privy option

https://mask.atlassian.net/browse/mf-6735

@swkatmask swkatmask force-pushed the feat/mf-6735-privy-wallet branch 10 times, most recently from f5aba3f to 487f75e Compare September 29, 2025 15:16
@swkatmask swkatmask marked this pull request as ready for review September 29, 2025 15:17
@swkatmask swkatmask force-pushed the feat/mf-6735-privy-wallet branch 2 times, most recently from 865a83e to a2ba668 Compare September 29, 2025 15:19
@guanbinrui guanbinrui requested a review from Copilot October 10, 2025 04:28
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request integrates Privy wallet support into the Mask Network extension, enabling users to create and manage wallets through X (Twitter) authentication. The implementation adds comprehensive Privy provider integration, updates UI components for wallet creation, and handles transaction signing through Privy wallets.

Key changes:

  • Added Privy provider and API integration for wallet management with OAuth flow
  • Integrated Privy wallet support in MaskWalletProvider and various UI components
  • Updated transaction request handling to support Privy wallet signing
  • Modified UI components to include Privy wallet creation options alongside traditional methods

Reviewed Changes

Copilot reviewed 75 out of 77 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
packages/web3-providers/src/Privy/ New Privy API client and type definitions for wallet integration
packages/web3-providers/src/Web3/EVM/providers/MaskWallet.ts Updated to include Privy wallets in wallet enumeration
packages/web3-hooks/base/src/usePrivyWallet.ts New hook for managing Privy wallet instances
packages/mask/popups/pages/Wallet/components/ImportCreateWallet/ Updated UI to include Privy wallet creation option
packages/mask/popups/pages/Wallet/Interaction/ Modified transaction and signing requests to handle Privy wallets
packages/shared-base/src/Privy/ Privy provider setup and chain configurations
packages/mask/background/services/helper/oauth-x.ts OAuth 1.0a implementation for X authentication

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@swkatmask swkatmask force-pushed the feat/mf-6735-privy-wallet branch 3 times, most recently from 6dc9b9c to cc1152b Compare October 11, 2025 02:49
@swkatmask swkatmask force-pushed the feat/mf-6735-privy-wallet branch from a39da49 to 3623775 Compare October 15, 2025 03:33
@swkatmask swkatmask force-pushed the feat/mf-6735-privy-wallet branch from 5ba15d6 to 792abd9 Compare October 15, 2025 11:04
@swkatmask swkatmask force-pushed the feat/mf-6735-privy-wallet branch 2 times, most recently from fecbba7 to 037e661 Compare October 16, 2025 02:06
- add Privy provider and API integration for wallet management
- support Privy wallets in MaskWalletProvider and wallet hooks
- enable login and wallet creation via X (Twitter) account with auth timeout handling
- adapt transaction requests to handle Privy wallet signing
- update cspell dictionaries and ignore reg exps for privy related domains
- adjust UI components for importing/creating wallets with Privy option
wrap application root providers and modals with PrivySetupProvider and mount PrivySetup where needed.
@swkatmask swkatmask force-pushed the feat/mf-6735-privy-wallet branch from 07798ab to 051a31d Compare October 21, 2025 03:05
@swkatmask swkatmask force-pushed the feat/mf-6735-privy-wallet branch from ee5f153 to 2431603 Compare October 21, 2025 03:27
@guanbinrui guanbinrui merged commit 4e11756 into develop Oct 21, 2025
11 of 12 checks passed
@guanbinrui guanbinrui deleted the feat/mf-6735-privy-wallet branch October 21, 2025 03:49
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.

4 participants