OnchainKit Profile picture
A kit to make building onchain easy for everyone. Made with love @coinbase. npm i @coinbase/onchainkit

Sep 24, 9 tweets

Introducing our Upgraded Swap Component 💫

v0.33.1

+ Support for low liquidity tokens on @base
+ Configurable max slippage
+ USD values for tokens
+ One-click swap with atomic batching
+ App interface fee
+ Gasless swaps

Start now: onchainkit.xyz/swap/swap

🛝 Try it live on our playground:

onchainkit.xyz/playground

Max slippage configurability

Take control of your trades with our new slippage configuration options.

We've added intuitive controls so users can set their preferred slippage tolerance, ensuring trades execute according to their risk preferences.

Tokens in USD values

No more wrangling of price APIs.

We now display token values in USD. Give users a clear picture of their trades at a glance, making informed decisions easier than ever.

One-click swap with transaction batching

From three clicks to one.

Get the best of AA with atomic batching.

Gasless swaps

Sponsor gasless swaps if the users are using smart wallets

Simply add the `isSponsored` prop to enable the Paymaster service

App interface fee

Apps can take a fee when their users swap tokens via their interface.

This opens up new business models to diversify in-app revenue stream.

This feature is in private beta. Reach out to us if you're interested. ✨

Sample txn: basescan.org/tx/0xdadc01e03…

As always, our design is open source

Join our Figma community of 300+ designers:


Fork & make it yours figma.com/community/file…

We're always looking for community feedback + contributions.

Submit your ideas/suggestions/bug reports here:

We read every one of them!github.com/coinbase/oncha…

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling