πŸ’±Token Swap

Learn how to create a token swap frame with Airstack no-code frames builder to enable others to swap trending or custom tokens on Base.

To create a token swap frame that enables others to swap trending or custom tokens on Base. For every trade that occurs on your Frames, you will be rewarded Not A Token.

First, go to the Not A Token page:

From here, you can click on the Create Swap Frame button on above the Leaderboard as highlighted in red in the image below:

By clicking the button, a popup will appear to configure your no-code token swap frame as shown below:

In the popup, you have two options on the top to configure your Frame:

  • Trending: show all currently trending ERC20 tokens on Base to swap

  • Custom: show only a chosen ERC20 token on Base to swap

You can choose Trending for your no-code Frame if you would like to share with others a list of the most recent trending tokens to swap.

For further customization, you can change several of the following variables:

  • Time Frame: Defaults to 8 hours, can be configured from the last 1 Hour to the last 1 Week

  • Chain: Only offers Base blockchain for now.

  • Criteria: Defaults to Total swaps. Click on the dropdown to choose different criteria on whether a token is a trending swap or not.

Then, type and select your Farcaster profile in the referral section so that you can receive referral rewards for every swap others do on your Frame:

And simply click the Share to Warpcast button:

to cast it with others in Warpcast so they can start swapping tokens from your Frame:

Option 2: Custom

You can choose Custom for your no-code Frame if you would like to share with others certain tokens to swap.

For further customization, you can simply paste your preferred Base token contract address and press Enter:

Then, type and select your Farcaster profile in the referral section so that you can receive referral rewards for every swap others do on your Frame:

And simply click the Share to Warpcast button:

to cast it with others in Warpcast so they can start swapping the custom tokens that you choose from your Frame:

More Resources

Last updated