Shopping Cart

The Cart Feature on BetterSwap is a unique tool that makes swapping tokens on a decentralized exchange (DEX) more flexible and efficient.

Why the Cart Feature is Unique

Most decentralized exchanges require each swap to be confirmed individually, creating inefficiency when performing multiple operations. BetterSwap's Cart Feature addresses this limitation by enabling users to:

  • Queue multiple transactions and execute them with a single confirmation

  • Significantly reduce overall transaction fees through efficient batching

  • Implement more sophisticated trading strategies with ease

  • Manage and review all pending transactions in one convenient interface

This innovative functionality brings the multi-transaction convenience of centralized exchanges to decentralized trading, enhancing user experience while preserving the security benefits of blockchain technology.


How to Use the Cart Feature

1

Add Transactions to Your Cart

  • Select the tokens for swap, liquidity provision, or send operation as normal

  • Instead of executing immediately, click the "Add to Cart" button

  • The transaction is queued without being finalized on the blockchain

2

Continue Adding Transactions

3

Review Your Cart

  • Click the cart icon in the navigation bar to view all queued transactions

  • The cart summary displays token pairs, amounts, and associated operations

  • Review all pending transactions before proceeding

4

Execute All Transactions

  • After reviewing, click the "Execute All" button to process the batch

  • Your wallet (e.g., VeWorld) will prompt for confirmation of the combined transaction

  • The confirmation window displays a summary of all operations to be executed

5

Transaction Complete

  • Once confirmed, all operations process as a single transaction

  • The system updates token balances and positions accordingly

  • A single transaction fee applies to the entire batch instead of individual fe


Advantages of the Cart Feature

  • Transaction Batching Functionality

    • The interface allows combining multiple blockchain operations

    • Users can queue different transaction types for execution in one batch

    • The system processes all operations in a single blockchain transaction

  • Fee Efficiency

    • By consolidating multiple operations, users may reduce overall transaction costs

    • A single transaction fee applies instead of multiple individual fees

    • The batching process optimizes gas usage on the blockchain

  • Time-Saving Interface

    • The cart eliminates the need for multiple confirmation processes

    • Users can prepare several operations and execute them simultaneously

    • The feature reduces the time spent waiting for individual transactions to confirm

  • Enhanced Trading Experience

    • The cart provides a convenient way to manage complex trading strategies

    • Users can review all pending operations in one location

    • The feature brings centralized exchange convenience to decentralized trading

  • Cross-Feature Integration

    • The cart works across BetterSwap's features including Swap, Pool, and Send

    • Users can combine different operation types in a single transaction

    • This integration creates workflow efficiency across the platform

  • Transaction Management

    • Users can add or remove items from the cart before execution

    • The interface provides a clear overview of pending transactions

    • The system allows for careful review before blockchain confirmation


That’s how the Cart Feature works! It’s a great way to streamline your token swapping process and save both time and fees on BetterSwap. Give it a try to see how it enhances your DEX experience!

Last updated