ParaProvider
component that handles both embedded and external wallets while maintaining full Wagmi compatibility.
Installation
Update your dependencies to replace Reown packages with Para SDK:Terminal
For a full list of dependencies, refer to the Quick Start Guide.
Setup
Configure Constants
Create a constants file for your Para configuration:src/config/constants.ts
Create Providers
Set up the Para provider to replace Reown’s WagmiProvider:src/context/ParaProvider.tsx
Update Root Layout
Replace your Reown context provider with the ParaProvider:src/app/layout.tsx
Usage
Connect Button
Replace Reown’s<appkit-button />
with Para’s modal hooks:
src/components/ConnectButton.tsx
Using Wagmi Hooks
ParaProvider
maintains full Wagmi compatibility. Your existing Wagmi code continues to work within the Para context.
src/components/Balance.tsx
Migration Checklist
Dependencies
Dependencies
- Remove
@reown/appkit
packages - Install
@getpara/react-sdk
- Keep Wagmi and Viem packages
- Run postinstall script
Configuration
Configuration
- Set environment variables
- Update Next.js config (remove Webpack externals)
- Import Para styles
- Configure chain list
Components
Components
- Replace
<appkit-button />
with custom component - Update provider hierarchy
- Test wallet connections
- Verify transaction flows
Testing
Testing
- Connect external wallets
- Test embedded login (email/social)
- Verify chain switching
- Check transaction signing