For the complete documentation index, see llms.txt. This page is also available as Markdown.

Smart Swaps

Users can conduct gas free, approval-less, swaps via their Sherpa Account directly.

In the input token selection menu you can toggle between your Wallet (EOA) and your Sherpa Account.
In the output token selection menu you can also toggle between your Wallet (EOA) and your Sherpa Account.

When using Sherpa Accounts as the source no approval transactions will be necessary. Simply fetch a quote and execute the trade in one transaction.

Swapping between a users connected wallet (EOA) and their Sherpa Account is also possible by setting the source and destinations according to their needs. This effective allows a user to deposit or withdraw assets while they swap.

At the bottom of the swap component there is a summary of the transaction path.

Possible Swap Types

Standard wallet to wallet swap

Sherpa Account to Sherpa Account swap

Swapping while depositing into your Sherpa Account

Swapping while withdrawing into your wallet

Note that once you add a quantity to the input field it will lock the source until you clear the quantity.

Last updated