Skip to main content
Migrate your existing Thirdweb application to Para’s unified wallet system. Para provides similar wallet connection capabilities with additional features like embedded wallets and session management while maintaining a simple integration.

Installation

Replace Thirdweb with Para SDK:
Terminal
For a full list of dependencies, refer to the Quick Start Guide.

Configuration Changes

Before: Thirdweb Client

Your existing Thirdweb client configuration:
lib/client.ts

After: Para Configuration

Replace with Para configuration:
src/config/constants.ts

Provider Migration

Before: Thirdweb Provider

Your existing Thirdweb provider in the layout:
app/layout.tsx

After: Para Provider Setup

Create a Para provider component:
src/context/ParaProvider.tsx
Update your layout:
src/app/layout.tsx

Connect Button Migration

Before: Thirdweb ConnectButton

app/page.tsx

After: Para Connect Button

src/components/ConnectButton.tsx
Use it in your page:
src/app/page.tsx

Hook Migration

Account Information

Wallet Connection Status

Disconnect Wallet

Smart Contract Interaction

Para uses Wagmi for contract interactions, providing a different approach than Thirdweb:

Reading Contract Data

Writing to Contract

Feature Comparison

Advanced Features

Social Login

Para includes social login without additional configuration:
src/context/ParaProvider.tsx

Multi-Chain Support

src/context/ParaProvider.tsx

Custom Theme

src/context/ParaProvider.tsx

Migration Checklist

  • Remove thirdweb package
  • Install @getpara/react-sdk, wagmi, viem
  • Add @tanstack/react-query
  • Run Para postinstall script
  • Replace Thirdweb client with Para configuration
  • Update environment variables
  • Configure supported chains
  • Set up WalletConnect project ID if needed
  • Replace ThirdwebProvider with ParaProvider
  • Update ConnectButton implementation
  • Migrate hooks to Para/Wagmi equivalents
  • Update contract interaction code
  • Test wallet connections
  • Verify contract interactions
  • Check chain switching
  • Test social login if enabled

Common Patterns

Balance Display

src/components/Balance.tsx

Transaction History

src/components/TransactionHistory.tsx

Next Steps

Wagmi Documentation

Learn about Wagmi hooks for contract interactions

Hook Reference

Explore Para’s React hooks

Sessions

Implement session management