Power up your Farcaster Frames with 0x swaps

An overview of Frames on Warpcast, including exciting frames powered by 0x and resources you can use to build Frames of your own.

May 2, 2024

Learn & Build

At the beginning of this year, Farcaster released Frames. Frames turn any post in Farcaster’s social feed into an interactive app. Since then, we’ve seen an explosion of Frames onto the scene, including token swap frames, wallet activity frames, social engagement frames, and many more.

At the same time, Farcaster growth has skyrocketed, with Daily Active Users (DAU) reaching a peak of 50k casters in April.

We're awarding 20k DEGEN each to the top 3 most interesting Actions or Frames using 0x API. Check out more details on Warpcast.

In this post, we’ll highlight some exciting Frames powered by 0x for inspiration, a few of which came from the Frame bounty we launched in March, as well as resources you can use to build Frames of your own.

Frames powered by 0x

Paycaster

Paycaster offers the core building blocks to swap, send, and receive token payments, and grow revenue on Farcaster. Users can easily call these functions by tagging @swapbot and @paybot directly in the social feed.

@swapbot offers an easy way to swap tokens directly in the Farcaster feed. This is useful for users who are part of communities that have a token and want to be able to buy them directly without having to leave the app. Token swaps are powered by the 0x Swap API.

@paybot enables users to make payments directly in the Farcaster feed. This is beneficial to users who want to pay other users on the platform for products, services, raffles, bounties, giveaways, and tipping.

Learn more about Paycaster:

Airstack

Airstack offers robust developer tools for creating on-chain applications, including a suite of Farcaster development tools (e.g. frames validator, no-code frames) and compatibility APIs for various platforms including Ethereum, Base, Zora, Degen, XMTP, and Lens. Their advanced abstraction modules also help simplify adding features such as Trending Casts, Swaps, Tokens, and Mints to any app.

Airstack has also introduced a no-code Farcaster Frame that enables anyone to share Trending Swaps on the Base blockchain. Users are able to swap directly in the Frame, which is powered on the backend by 0x. You can see it in action here on Farcaster and configure your own on Airstack!

Learn more about Airstack:

Matcha Wallet Activity Frame

Matcha, a DEX aggregator, built a Frame that rewards Farcaster users who have traded on Matcha with tokens they can claim directly in-frame. When users click the Frame, it connects to the wallet address connected to their Farcaster account and checks whether or not the address qualifies for the reward.

Matcha’s first launched this Frame to anyone who swapped more than $5 using Matcha Auto on Base, and ended up giving away over 2.5 Million $DEGEN to their followers! Since then, they’ve launched multiple variations on other chains with claims for WETH or WBTC swaps.

Token Swap Frame

Frame Swap, built by @greg, allows users to swap ETH for ERC20 tokens directly. It’s configured to support a few Farcaster-native memecoins, but it can be modified to generate a Frame for any ERC20 token on Base or Optimism. 

Token Price Check and Swap

This Frame started by only showing the specified token price, but it has grown to enable buying with ETH, as well as displaying the token price chart, market cap, and volume.

In addition, @iamng also provides a service called Freddie Trade to set up a Frame that shows the latest market price and allow users to buy directly in-frame. 

TOSHI Token Frame

@complexlity created this Frame for all things $TOSHI. Users can buy, get rates, and monitor live market prices for the $TOSHI token.

Price Monitor Bot Frame

This Frame built by @ethspresso.eth can be used to monitor USD value of DEGEN and other Base tokens, with pricing powered by 0x APIs!

Token Swaps on Polygon

@siddesh built this Frame that allows users to swap 18 different Polygon tokens directly from their Warpcast feed.

Token Price Check Frame

 @koisose.eth set up this Frame to check the token price of any ERC20, with live pricing powered by the 0x Price API

How to build a Warpcast Frame

To build your own 0x-powered Frame, you can either code it up or leverage a no-code solution. Below is a shortlist of resources for both of these methods.

Also, make sure to read this How to Create Frames for Warpcast blog post from Matcha.xyz, which gives an overview of different types of Frames gaining traction in the space and details more tools for setting up Frames.

Code Your Own Frame

No-Code Frames

Test Your Frame

Before releasing your Frame, make sure to test it out using Warpcast’s built-in Frame Validator.

Share Your Build

We look forward to seeing the future of Frames continue to develop, and the SocialFi space continue to expand and find innovative integrations with on-chain transactions.

Are you building a Frame that uses 0x API and would like to be featured in our future posts? Reach out to us on Warpcast or share your Frame in the 0x channel. We look forward to sharing what you’ve built!

Contents

Subscribe to newsletter

By submitting you're confirming that you agree with our Terms and Conditions.
Yay! You’re signed up.
Oops! Something went wrong, but it's not your fault.

Up next

Fundamentals: Smart Contract Wallets

Oct 15, 2024

Compliance made easy with 0x Address Screening

Sep 26, 2024

0x's next-gen pricing engine is now live

Sep 25, 2024

Introducing state-of-the-art Buy/Sell Tax support

Sep 4, 2024

Take control of your balance sheet with 0x v2

Aug 15, 2024

0x v2 bug bounty program

Jul 30, 2024

What does the "best price" in DeFi really mean?

Jul 23, 2024

Eliminate allowance risk with Permit2

Jul 17, 2024

Introducing 0x's next-gen pricing engine

Jul 15, 2024

0x Dev Digest: May 2024

May 31, 2024

Frame spotlight: Paycaster

May 21, 2024

Frame spotlight: Airstack

May 9, 2024

0x Dev Digest: April 2024

Apr 30, 2024

Introducing 0x Trade Analytics

Mar 12, 2024

Coinbase Case Study

Jan 30, 2024

Introducing gasless swaps and approvals with Gasless API

Jan 22, 2024

Bitcoin ETFs have arrived

Jan 12, 2024

Building in the open: 0x pricing update

Dec 11, 2023

Matcha leverages Gasless API to bring users the most frictionless trading experience in DeFi

Nov 30, 2023

0x Dev Digest: October 2023

Nov 2, 2023

Monetize crypto trading in your app with Swap API

Oct 26, 2023

0x Dev Digest: September 2023

Oct 3, 2023

A comprehensive analysis of RFQ performance

Sep 26, 2023

Unlock optimal trades in Swap API with 0x RFQ liquidity

Sep 20, 2023

0x Dev Digest: August 2023

Aug 31, 2023

Portal launches swaps in its white label MPC wallet powered by 0x

Aug 16, 2023

0x Swap API is now live on Base

Aug 9, 2023

Introducing paid plans for Swap API

Jul 24, 2023

Decreasing Frictions in DeFi hackathon recap

Jul 12, 2023

0x's pricing principles

Jul 3, 2023

0x Dev Digest: June 2023

Jun 30, 2023

App spotlight: tastycrypto

Jun 27, 2023

App spotlight: 31Third

Jun 22, 2023

0x 101: Intro to gasless API

Jun 13, 2023

Inspiration for building with Swap API

Jun 8, 2023

0x Dev Digest: May 2023

May 31, 2023

Fundamentals: What are gas fees?

May 25, 2023

Decreasing Frictions in DeFi Hackathon

May 12, 2023

Swap API liquidity management

May 18, 2023

0x 101: Getting started with Swap API

May 16, 2023

0x 101: Intro to Swap API

May 9, 2023

0x 101: Intro to 0x Orders

May 4, 2023

0x 101: Intro to 0x Protocol

Apr 27, 2023

A new home for 0x Protocol

Apr 24, 2023

Say hi to the new 0x

Apr 20, 2023

0x Year in Review 2022

Jan 5, 2023

0x Swap API expands to Arbitrum

Sep 22, 2022

Managed liquidity

Apr 23, 2020

0x Smart Order Routing

May 19, 2020

App spotlight: Taho

Mar 8, 2022

Fundamentals: What is a Layer 2 chain?

Apr 19, 2023

Fundamentals: What is the difference between quoted, executed, and adjusted prices?

Apr 19, 2023

Fundamentals: What is price impact?

Apr 19, 2023

Fundamentals: What is slippage?

Apr 19, 2023

Fundamentals: What is an automated market maker (AMM)?

Apr 19, 2023

Fundamentals: What is market making?

Apr 19, 2023

Fundamentals: What is a DEX aggregator?

Apr 19, 2023

Fundamentals: What is liquidity?

Apr 19, 2023

Fundamentals: What is a decentralized exchange (DEX)?

Apr 19, 2023

0x at ETHDenver 2023

Mar 21, 2023

The 0x Mission and Values

Jun 7, 2018

Announcing support for new testnets

Aug 10, 2022

0x Swap API expands to Binance Smart Chain

Mar 17, 2021

Scaling DeFi — Layer One

Sep 1, 2021

Introducing Slippage Protection

Jul 14, 2022

San Francisco Blockchain Week 2022 Recap

Nov 21, 2022

0x Swap API adds new liquidity sources

Jul 11, 2022

Review of slippage performance

Sep 14, 2022

Phuture case study

Oct 20, 2022

Measuring the impact of hidden DEX costs

Apr 14, 2022

Market making in DeFi

Aug 12, 2021

Introducing 0x Labs

Jun 22, 2020

Introducing 0x Explorer

Oct 26, 2022

Growing DeFi with professional market makers

Aug 26, 2020

0x 101: How to Access 0x Data

Apr 25, 2023

GameStop chooses 0x Swap API

Jul 8, 2022

Build on Base with 0x

Feb 23, 2023

A comprehensive analysis on DEX liquidity aggregators’ performance

Oct 1, 2020

Announcing 0x Swap API v1

Oct 1, 2020

Access all DEX liquidity through 0x Swap API

Jan 28, 2020

Announcing the 0xpo Summit 2022

Aug 24, 2022

0x Protocol, a preview of what’s to come

Mar 16, 2023

Update to our Privacy Policy

Mar 14, 2023

Price Impact Protection has arrived

Dec 14, 2022

0x Limit Orders Go Multi-Chain

Dec 23, 2021

0x Labs raises $70M Series B led by Greylock to continue expanding Web3’s core exchange infrastructure

Apr 26, 2022

0x launches Tx Relay API in beta, with Robinhood Wallet as first partner

Mar 1, 2023

0x Labs raises $15M Series A to bring decentralized exchange markets to a global audience

Feb 5, 2021

App spotlight: Zerion

Jun 22, 2022

App spotlight: Matcha

Nov 24, 2021

App spotlight: DexGuru

Jun 17, 2021

App spotlight: DEXTools

Sep 23, 2021

App spotlight: DODO

Aug 10, 2021

App spotlight: DappRadar

Dec 16, 2021

App spotlight: DeFi Saver

Jul 20, 2021

0x + Brave partner to make crypto and DeFi more accessible to everyone

Jul 7, 2021

0x Swap API now supports 0x Protocol v4

Mar 1, 2021

0x Swap API is now available on Fantom

Oct 26, 2021

0x Swap API is now live on Optimism

Jan 11, 2022

0x Swap API is now available on Polygon

May 31, 2021