0x Labs debuts ‘gasless’ swap API used by Robinhood, Coinbase Wallet

The new product matches a general shift to a focus on “intents” in DeFi

article-image

0x and Adobe Stock modified by Blockworks

share

DeFi software firm 0x released an application programming interface, or API, that allows exchanges to abstract gas fees away from users. The so-called Tx Relay software was previously used in beta by platforms including Robinhood and Coinbase to enable “gasless swaps.”

Users still pay for gas with 0x’s API, but the software lumps the fee into the trade cost to reduce the number of failed trades. Tx Relay is emblematic of a larger shift from many developers toward intents-based systems that outsource some on-chain actions to protocols.

0x sells APIs focused on decentralized exchange (DEX) infrastructure. The San Francisco-based firm has notable venture ties, raising a $70 million Series B in 2022 led by Greylock with participation from Pantera, Brevan Howard and Coinbase Ventures. 

Robinhood’s crypto wallet began using Tx Relay API as early as March 2023. At the time, 0x said the software would make onboarding easier by obscuring gas fees and protecting users from maximal extractible value (MEV). Arbitrageurs making use of MEV can frontrun users’ transactions to profit off of things like price slippage.  

Matcha, a DEX aggregator built by 0x, also used Tx Relay in its beta phase, as did Coinbase for its wallet. 0x says Matcha was able to reduce failed trades by 85% compared to competitors after rolling out Tx Relay-based “Matcha Auto.”

“Gasless swaps have helped us create a simpler trading experience, where users can focus more on trading and less on network fees,” Coinbase wallet production manager Claudia Haddad said in 0x’s documentation on the API.

DeFi has lately seen a UX-focused shift toward intents-based systems, where users will say what trade they want to execute but not necessarily how the trade should happen. Instead of dealing with wrapped tokens or gas fees, users can tell a protocol to swap one token on one chain for a different token on another chain and let the software handle the rest. 

The marquee DEX Uniswap dipped its toes into intents with the release of UniswapX.  The protocol uses an auction process to execute intent-based gas-free swaps. 

Tx Relay is similar in consequence to intent-based systems, Theo Gonella, 0x’s director of product management, said in a direct message. 

“[I]t’s basically an intent based system with one single solver (0x, which fetches best AMM prices and connects to leading DEX Market Makers),” Gonella wrote. Solvers are the entities that carry out user intents in a blockchain context. 

Intents pare down the number actions users need to take on-chain. Obvious questions emerge as to who is handling the intents and what they do behind the scenes — but many see intents-based systems as a necessity to make crypto user-friendly.

“Almost nothing about the current blockchain UX will be acceptable for broader adoption,” Kevin Weaver, backend engineer at blockchain platform Metropolis, said in a text. “As long as an intent is designed in a way that doesn’t introduce new trust assumptions, I’m a fan of doing whatever we can to smooth out the rough edges.”


Start your day with top crypto insights from David Canellis and Katherine Ross. Subscribe to the Empire newsletter.

Explore the growing intersection between crypto, macroeconomics, policy and finance with Ben Strack, Casey Wagner and Felix Jauvin. Subscribe to the On the Margin newsletter.

The Lightspeed newsletter is all things Solana, in your inbox, every day. Subscribe to daily Solana news from Jack Kubinec and Jeff Albus.

Tags

Upcoming Events

Salt Lake City, UT

MON - TUES, OCT. 7 - 8, 2024

Blockworks and Bankless in collaboration with buidlbox are excited to announce the second installment of the Permissionless Hackathon – taking place October 7-8 in Salt Lake City, Utah. We’ve partnered with buidlbox to bring together the brightest minds in crypto for […]

Salt Lake City, UT

WED - FRI, OCTOBER 9 - 11, 2024

Permissionless is a conference for founders, application developers, and users. Come meet the next generation of people building and using crypto.

recent research

Research Report Templates (1).png

Research

Solana Mobile is a highly ambitious foray into the mobile consumer hardware market, seeking to open up a crypto-native distribution channel for mobile-first applications. The market for Solana Mobile devices has demonstrated a phenomenon whereby external market actors (e.g. Solana-native projects) continuously underwrite subsidies to Mobile consumers. The value of these subsidies, coming in the form of airdrops, trial programs, and exclusive NFT mints, have consistently covered the cost of the phone and generated positive returns for consumers. Given this trend in subsidies, the unit economics in the market for Mobile devices, and the initial growth rate and trajectory of sales, it should be expected that Solana mobile can clear 1M to 10M units over the coming years. As more devices circulate amongst users, Solana Mobile presents a promising venue for the emergence of killer-applications uniquely enabled by this mobile-first, crypto-native distribution channel.

article-image

Crypto’s Wild West era is over — it’s time to embrace regulation to secure the future of digital assets

article-image

Plus, Solana has now surpassed Ethereum in trailing 30-day decentralized exchange volume

article-image

Polymarket betters say Kamala Harris has better odds than Biden of winning against Trump

article-image

Bitcoin’s down Tuesday, while ETH-correlated assets like ENS and ARB see growth

article-image

Plus, let’s check on the nine ether ETFs now trading on US exchanges