Case Study

Trust Wallet reduces user pain point with buy/sell tax support

"0x v2 enabled us to tackle one of our top user pain points - buy/sell taxes. Great support and collaboration with the 0x team made integrating v2 a smooth and seamless process."

Self-custody wallet

Swap

API

“We trusted 0x’s reputation as one of the most secure API providers in the space. 0x v2 enabled us to tackle one of our top user pain points - buy/sell taxes. Great support and collaboration with the 0x team made integrating v2 a smooth and seamless process.”

- Abderrahmen Hanafi, Swaps Technical Owner at Trust

Highlights

  • Trust, a leading multichain self-custody crypto wallet, utilizes 0x v2 as one of its main DEX aggregators within its swap engine.
  • Buy/sell tax support: 0x v2 provides Trust with real-time buy/sell tax detection and intelligent trade routing for the most reliable onchain execution in DeFi, minimizing error rates and enhancing the swap experience for their users.
  • Seamless integration: Trust was able to integrate 0x v2 into its swap engine in less than a week, a rapid integration time given Trust’s high standards for scalability, security, and QA.
  • Wide coverage: With support for 9+ million tokens and 140+ liquidity sources across 13 chains, 0x provides Trust with the coverage needed for a wide user base.

What is Trust?

Trust is a leading multichain self-custody crypto wallet with support for millions of assets and NFTs across 100+ chains, including Bitcoin, Ethereum, and Solana.

Trusted by over 140 million users worldwide, Trust is more than just a simple to use crypto wallet - it’s a gateway to Web3. Built on the core values of financial freedom, strong security, and user-friendly design, Trust is on a mission to build a seamless Web3 hub and open ecosystem for everyone.

For both beginners and crypto natives, Trust empowers users to fully own, control, and leverage their digital assets.

In this case study, we will take a look at how 0x helps power swaps for millions of Trust users.

The problem

Launched in 2017, Trust won users with smart functionality like their “automatically tokens” feature, which instantly reveals ERC-20 tokens associated with a user’s address without needing to input details of the contract address. As a product known for simple UX that speaks to both seasoned crypto users and beginners, the rise of custom parameters on ERC-20 tokens, like buy/sell tax, became a major pain point in their swap feature.

The rise of memecoins has led to an explosion of tokens with a buy or sell tax, also known as fee-on-transfer tokens (FoT), with ~25% of DEX users now trading these tokens on Ethereum. Buy/sell taxes throw a wrench into well built swap products, leading to not only high error and revert rates, causing headaches for developers, but also inaccurate quotes, leading to poor user experiences.

Revert rates for trades that include tokens with buy/sell taxes on top aggregators can reach as high as 30% and aggregators often exclude taxes in quotes, potentially misleading users about the final amount they will receive.

Trust needed an aggregation API with robust support for tokens with buy/sell taxes and comprehensive coverage of EVM chains, with the ability to quickly expand to new chains as they gain traction. Their search led them to 0x v2.

Alongside real-time buy/sell tax detection and support for 13 chains, the team also trusted 0x’s reputation as one of the most secure API providers in the space. 

0x v2 was able to meet Trust’s three primary needs in a swap aggregator:

  1. Security: Security has always been the backbone of Trust. 0x v2 is secure by design, utilizing Permit2 to eliminate allowance exposure and multiple third party audits to ensure there are no vulnerabilities to exploit.
  2. Reliability: Battle-tested since 2017, 0x offers best-in-class performance with 99.83% uptime.
  3. Optimal routing: Advanced order routing is the key to minimizing price impact for traders swapping serious size and delivering the best prices. 0x’s new Argon Router utilizes a state-of-the-art algorithm to deliver the optimal execution path utilizing multiplex and multihop.

Swaps powered by 0x

Trust Wallet gives users the ability to natively buy, swap and stake their favorite crypto without having to leave the app.

0x v2 serves as one of Trust’s main DEX aggregators within its swap engine - providing competitive quotes for single-chain transactions on 13 supported chains, helping users find the best all-in prices, and facilitating reliable trade execution.

Since integrating v2 in November, 0x has grown to account for 20% of Trust’s overall swap volume, with v2 performing exceptionally well on BSC and Base in particular.

Buy/sell tax support

0x v2 provides Trust with real-time buy/sell tax detection and intelligent trade routing for the most reliable onchain execution in DeFi, minimizing error rates and enhancing the swap experience for their users.

How does it work? Swap API simulates each trade to detect and calculate the correct buy/sell tax in real-time and intelligently routes the trade through liquidity sources that support buy/sell tax tokens, minimizing errors and reducing reverts. v2 also enables integrators to accurately surface the precise tax for a given trade to their users.

And it’s not just for a handful of tokens. 0x v2 features the widest tax token coverage in the space thanks to native detection. From the time these tokens hit the chain, v2 is able to generate executable routes within an hour.

All of this means reduced error and revert rates, expanded token coverage, and an improved experience for Trust users.

Seamless integration

Trust was able to integrate 0x v2 into its swap engine in less than a week, a rapid integration time given Trust’s high standards for scalability, security, and QA.

The Trust team found the process to be smooth and seamless, supported by strong documentation, understandable logic, and an easy-to-use interface.

Embed swaps in your app with 0x

0x makes it easy for developers to embed swaps in their onchain apps, from wallets to SocialFi and everything in between, with the best all-in prices.

Built to meet the needs of growing Web3 businesses, 0x v2 offers the most seamless swap experience at the best all-in prices with optimal trade execution, powerful new monetization controls, and enhanced security baked in at the ground level.

0x v2 is the next-generation trading engine for serious onchain apps. Join over a dozen teams, including Definitive, Matcha, and Interface, already building with 0x v2.

Sign-up for a free account on the 0x Dashboard to get started.

20% of volume

supported

1 week

to integrate

Ready to get started?

Create a 0x account and embed swaps in your app, for free, in less than five minutes.

Get started
Yay! You’re signed up.
Oops! Something went wrong, but it's not your fault.