description |
---|
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:
{% embed url="https://www.airstack.xyz/notatoken" %}
From here, you can click on the Create Swap Frame button on above the Leaderboard as highlighted in red in the image below:
No-Code Create Swap Frame Button
By clicking the button, a popup will appear to configure your no-code token swap frame as shown below:
Token Swaps Frame Popup Configurations
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
Token Swaps Options: Trending & Custom
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.
Trending Token Swaps Configuration
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:
Trending Token Swaps Frames Referral
And simply click the Share to Warpcast button:
Trending Token Swaps Frames Share
to cast it with others in Warpcast so they can start swapping tokens from your Frame:
Cast Trending Token Swaps Frames on Warpcast
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:
Custom Token Swaps: Add Token Contract on Base
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:
Custom Token Swaps Frames Referral
And simply click the Share to Warpcast button:
Custom Token Swaps Frames Share
to cast it with others in Warpcast so they can start swapping the custom tokens that you choose from your Frame:
Cast Custom Token Swaps Frames on Warpcast