Smart Accounts unlock the ability for developers to sponsor gas on their users’ transactions. With the CDP SDK, it’s simple to integrate any paymaster URL and cover gas costs for all transactions originating from your smart accounts.
You can refer to this guide on how to set up a CDP Paymaster. You could also use any provider of your choice.
.env
file:Navigate to the CDP Portal to find or create your wallet secret, walletid, and client api key
All user operations on Base Sepolia are sponsored by default. For mainnet, you can specify a paymaster of your choice as follows:
You get up to $100 in free credits on CDP and you can apply for additional gas credits as you scale.
.env
file