One of the most frustrating aspects of onboarding to a new blockchain ecosystem is obtaining the native token to pay for transactions. In order to provide a seamless experience for our users who are new to the Sui ecosystem, Aftermath built Dynamic Gas.
Dynamic Gas allows users to use coins other than SUI to pay for gas to perform any transaction on Aftermath. This functionality is made possible by two Sui-native features: Sponsored Transactions and Programmable Transactions. Essentially how it works is that Aftermath sponsors the transaction with SUI, and takes payment from the user in the coin of their choice, all in one action and totally abstracted from the user.
Currently, Dynamic Gas supports afSUI, USDC bridged from Ethereum, Arbitrum, Solana, or BNB, as well as USDT bridged from Ethereum. To choose which gas token you would like to use, click the Settings button at the far right of the Menu Bar at the top of the screen. It appears as a gear icon:
Settings are accessed via the gear icon at the far right of the menu bar at the top of the screen
Clicking the gear icon will expand the settings dropdown. Here you will see an option for Gas, which when clicked on will open a menu which then lets you choose which coin you would like to use to pay for transactions.
Settings menu expanded
Choose your gas coin
The combination of zkLogin and Dynamic Gas make onboarding to Aftermath and the Sui Ecosystem seamless for new users.