Learn how to integrate Para’s embedded wallets with the thirdweb SDK to onboard users without seed phrases
Learn how to connect Para with thirdweb. This guide shows you how to integrate Para’s embedded wallets with the thirdweb SDK to onboard users without seed phrases, while enabling full EVM and Solana compatibility, account abstraction, and seamless in-app payments.
In your login page or main application file, include the necessary imports:
Copy
Ask AI
"use client";import { useEffect } from "react";import { defineChain } from "thirdweb";import { viemAdapter } from "thirdweb/adapters/viem";import { createWalletAdapter } from "thirdweb";import { useSetActiveWallet, useActiveWallet, ConnectButton, PayEmbed } from "thirdweb/react";import { useViemClient, useViemAccount, useModal } from "@getpara/react-sdk";import { client } from "@/lib/thirdwebClient";
Initialize thirdweb client
Copy
Ask AI
const client = createThirdwebClient({ clientId: process.env.NEXT_PUBLIC_TEMPLATE_CLIENT_ID!,});// (Optional) choose your active chain the same way you do elsewhereconst chain = defineChain(1); // e.g., Ethereum mainnet, or your target EVM chain
// If the Para account goes away (user logs out / session expired),// make sure thirdweb disconnects too so state stays in sync.useEffect(() => { const syncDisconnect = async () => { if (thirdwebWallet && !viemAccount?.address) { await thirdwebWallet.disconnect(); } }; syncDisconnect();}, [thirdwebWallet, viemAccount?.address]);
Teams like Camp Network are already using Para wallets with thirdweb Account Abstraction tooling to power seamless onboarding and in-app transactions. Para provides the universal embedded wallet layer (Distributed MPC, passkeys, and multi-chain support), while thirdweb’s AA SDK gives Camp flexible smart account features like gas sponsorship, batched transactions, session keys.The result: users log in once with Para and get a gasless and bundled transaction experience through thirdweb, without ever touching seed phrases or juggling multiple wallets.