# Swapping

## Buying

1.  Within the main menu of Ghobot press **🟢 BUY** to begin a swap.\
    \


    <figure><img src="https://1643455207-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlAn5TL9-pSJxG2MRaf%2Fuploads%2FbUTRnlNoQUUUO1RPh8Fo%2Fimage.png?alt=media&#x26;token=3c4ca608-bfdc-4eaa-98d1-2cae4196440f" alt=""><figcaption></figcaption></figure>
2.  You will be asked to reply with the contract address of the token. In this example we have entered Shiboo using contract address: \
    \
    **4d7c5ece0a0dfeea697e6e79cbc9d75d589f2046dff701f944295f630825bd3d**\
    \


    <figure><img src="https://1643455207-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlAn5TL9-pSJxG2MRaf%2Fuploads%2FWTOo0Xao6C3yeT9z5n6B%2Fimage.png?alt=media&#x26;token=87b1e759-4731-479a-9076-71ed4baa103c" alt=""><figcaption></figcaption></figure>
3. Token information will be displayed with the options available to perform the swap.\
   \
   The wallet with the highest amount of funds will be pre-selected, you can select or change wallet if you have multiple generated by pressing 💳 symbol. \
   \
   Pre-selected amounts to swap are offered or to enter a specific amount press ️**🖋️ x CSPR** and reply with the amount required, in this example we replied with **100**.

<figure><img src="https://1643455207-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlAn5TL9-pSJxG2MRaf%2Fuploads%2Fsvx2BpRA27Gyu3kuHEwD%2FScreenshot%202024-03-25%20at%2015.06.50.png?alt=media&#x26;token=4e30f197-59d9-4873-bc51-e149686719c2" alt=""><figcaption></figcaption></figure>

4. Once happy with you options and settings selected press **Submit Swap** to perform the transaction. \
   \
   Successfully submitted swaps will display a message with your transaction hash.

<figure><img src="https://1643455207-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlAn5TL9-pSJxG2MRaf%2Fuploads%2FYrkJd9AePfog3MQmo9wc%2FScreenshot%202024-03-25%20at%2015.07.18.png?alt=media&#x26;token=edfea22b-162b-42e7-be48-e0ab9065c35a" alt=""><figcaption></figcaption></figure>

5. Once the Casper Network has successfully finalised your transaction you will receive a message of confirmation after a short amount of time.

<figure><img src="https://1643455207-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlAn5TL9-pSJxG2MRaf%2Fuploads%2Fqs5OyGqhRCKCnT8XNZ9A%2FScreenshot%202024-03-25%20at%2017.38.24.png?alt=media&#x26;token=3065af1d-8175-4576-859c-6ea0ece66bef" alt=""><figcaption></figcaption></figure>

## Selling

1.  Press **🔴 SELL**, you will be asked to enter the contract address of the token to sell. \
    \
    Using Shiboo again for the example we will enter contract:\
    \
    **4d7c5ece0a0dfeea697e6e79cbc9d75d589f2046dff701f944295f630825bd3d**\
    \


    <figure><img src="https://1643455207-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlAn5TL9-pSJxG2MRaf%2Fuploads%2F2Ga4N2JlgYXuLtc6E0p7%2Fimage.png?alt=media&#x26;token=845eb8c9-b27e-4066-b9a7-3cdfb8f9e4c3" alt=""><figcaption></figcaption></figure>
2. This will display the token information, balance of tokens and sell swap options. \
   \
   The process to sell is the same as when buying, select or enter the required amount to sell and check swap settings. \
   \
   Press **Submit Swap** to perform the transactio&#x6E;**.** Confirmation messages will appear for successful swaps.\


<figure><img src="https://1643455207-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlAn5TL9-pSJxG2MRaf%2Fuploads%2FmZtTKtKGkGeKXDUlS9zg%2FScreenshot%202024-03-25%20at%2017.48.16.png?alt=media&#x26;token=3eb2aefb-b053-4b93-8bcb-2e81be698d26" alt=""><figcaption></figcaption></figure>

## Swap Settings

#### 🌊 Slippage

Due to how AMM's work many trades may be occurring constantly changing the price of a token. If your swap fails please check the deploy hash for error codes,  error 65527 will indicate you need to increase the slippage. To do so press the **🌊 Max Slippage** button and adjust accordingly, we would suggest increasing by increments 10% if having trouble.

#### ⏳ Deadline

The default time set to 20 minutes is the given amount for the TX to process before failing. We suggest you do not modify this setting unless advised due to heavy network congestion.



