This step-by-step guide lays out the process for sending gasless transactions from your user-controlled SCA (Smart Contract Accounts) wallet on Testnet. Gasless transactions are no different than any other Programmable Wallet transaction. As long as a Gas Station policy is configured, and you use a supported wallet, gas fees will be sponsored automatically.
For Testnet, a preconfigured policy is already in place. Therefore, you are not required to create a Gas Station policy for this quickstart guide.
Before you begin, there are a few essential details to keep in mind:
- Supported Wallet Account Types: SCA only. Externally Owned Accounts (EOA) are not supported.
- Supported Blockchains: Ethereum Goerli, Polygon Mainnet, and Polygon Mumbai.
To learn more, refer to our Gas Station overview page here.
To create a wallet, follow our comprehensive quickstart guide on creating your first developer-controlled SCA wallet here. Remember, you must create an SCA wallet to perform gasless transactions. Once the wallet is successfully created, note down the wallet's address from step 3.
Alternatively, if you prefer to use user-controlled wallets, follow the Create Your First Wallet guide.
Next, you will fund your wallet with a token to provide an asset for conducting transactions. In this guide, we will transfer USDC into the wallet using the USDC faucet. While on the faucet, provide your wallet's address to complete the process.
Follow the instructions in the quick start guide Transfer Tokens from Wallet to Wallet. This guide will walk you through sending a transaction without requiring gas. Once completed, you can head to the developer dashboard paymaster page and view the sponsored transaction within the respective policy.
For those using user-controlled wallets, follow the Send an Outbound Transfer instead.
Congratulations on successfully sending a gasless transaction! With Circle taking care of the complexities, you can fully concentrate on providing a delightful user experience without the hassle of intricate setup.
To expand your knowledge and explore further, please visit the following resources:
- Gas Station Overview: Get familiar with Gas Station, its functions, and how it can be used in your app.
- Policy Management: Understand how to manage Gas Station policies effectively and view gas-sponsored transactions.
- Billing for Sponsored Gas Fees: Understand how you will be billed for sponsored gas fees.
- Paymaster: Dive deeper into the concept of Paymaster and its role in gasless transactions.
By leveraging these resources, you can enhance your understanding and maximize the potential of gasless transactions. Stay tuned for exciting updates and features as we strive to streamline the gasless transaction experience.
Updated 18 days ago