DEV Community

georgina
georgina

Posted on

How to Execute a Token Swap on the 10kSwap AMM on Starknet

This guide provides a straightforward technical walkthrough on how to use 10kSwap, one of the first and most reliable AMMs on the 10kSwap Starknet DEX. We will focus on executing a simple 10kSwap token swap.

Step 1: Connecting to the 10kSwap dApp

Navigate to the 10kSwap Official platform. Connect your Starknet wallet (e.g., Argent, Braavos). The interface is designed to be clean and simple.

Step 2: Understanding the AMM Model

The 10kSwap AMM uses the classic x*y=k constant product formula. This means the price of an asset is determined by the ratio of tokens in the 10kSwap liquidity pools. It's a robust and battle-tested model.

Step 3: Executing the Swap

In the "Swap" interface, select the token you want to pay with and the token you want to receive.

Enter the amount you wish to trade.

The interface will show you the expected output and the price impact.

Click "Swap" and sign the transaction in your wallet.

The trade is executed on-chain. For more information on providing liquidity for 10kSwap yield farming, see the Full Official Documentation.

Top comments (0)