API Key for Smart Wallets
What is the API Key used for
The API key lets you access thirdweb's bundler and paymaster infrastructure, which is required for the smart wallet to operate and optionally enable gasless transactions.
The SmartWallet API is composable - you can bring in your own 4337-compatible factory contract and you can also use your own bundler or paymaster services.
For more information on Smart Wallets, see our Portal docs here.
Does my thirdweb API Key for the Smart Wallet need to remain private?
The short answer is YES - it is important to keep your thirdweb API key private and personal to your project. Thus, we recommend adding your API Key in your private environmental variables.
Have any other questions? If you still have questions, contact our support team for help.