mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 06:47:55 +00:00
feat: add WalletConnect v2 integration for mobile wallet connection
- Add @walletconnect/sign-client for dApp-side WC v2 support - Create walletconnect-service.ts with session management and Signer adapter - Create WalletConnectModal.tsx with QR code display - Update PezkuwiContext with connectWalletConnect(), session restore, walletSource tracking - Update WalletContext signing router: mobile → WalletConnect → extension - Update WalletModal with "Connect with pezWallet (Mobile)" button - Move WalletConnect projectId to env variable - Fix vite build: disable assetsInclude for JSON (crypto-browserify compat)
This commit is contained in:
@@ -94,6 +94,12 @@ VITE_ENABLE_P2P_MARKET=true
|
||||
VITE_ENABLE_GOVERNANCE=true
|
||||
VITE_ENABLE_STAKING=true
|
||||
|
||||
# ========================================
|
||||
# WALLETCONNECT
|
||||
# ========================================
|
||||
# Get from: https://cloud.walletconnect.com (Reown dashboard)
|
||||
VITE_WALLETCONNECT_PROJECT_ID=your_walletconnect_project_id_here
|
||||
|
||||
# ========================================
|
||||
# DEVELOPMENT & DEBUGGING
|
||||
# ========================================
|
||||
|
||||
Reference in New Issue
Block a user