useThirdwebSmartAccount hook handles Para signer creation, smart wallet setup, and gas sponsorship configuration automatically — supporting both EIP-4337 and EIP-7702 modes.
Prerequisites
- Para API key from the Para Developer Portal
- thirdweb Client ID from the thirdweb Dashboard
- Node.js 18+ and React/Next.js development environment
Installation
Add your keys to .env.local
Setup Para Provider
Usage
Use theuseThirdwebSmartAccount hook to create and manage a thirdweb smart account. The hook handles Para signer creation, smart wallet setup, and gas sponsorship configuration internally.
Key Features
- Dual mode support: Choose between EIP-4337 (smart wallets via bundler) or EIP-7702 (EOA delegation)
- Built-in gas sponsorship: Enable
sponsorGas: truefor gasless transactions - Transaction batching: Send multiple transactions atomically via
sendBatchTransaction - Para wallet management: Embedded wallet infrastructure with MPC security
Next Steps
thirdweb Documentation
Explore thirdweb’s smart wallet features and SDK documentation
Account Abstraction Guide
See all supported AA providers and the unified SmartAccount interface