# Swap Tokens

## 1. Launch SafeSwap <a href="#id-1-launch-the-safeswap-platform" id="id-1-launch-the-safeswap-platform"></a>

Navigate to the SafeSwap platform via [https://app.safeswap.io](https://app.safeswap.io/)

![](https://docs-test.safeswap.io/img/SafeSwap-teaser5.PNG)

## 2. Select the Source Blockchain <a href="#id-2-choose-the-source-blockchain-example-vechain" id="id-2-choose-the-source-blockchain-example-vechain"></a>

This is where your tokens are currently held. For this example, you'd choose vechain.

![](https://docs-test.safeswap.io/img/howtoswap2.PNG)

## 3. Connect Your Source Wallet <a href="#id-3-connect-your-wallet" id="id-3-connect-your-wallet"></a>

Make sure you connect the appropriate wallet where your SHA tokens are currently stored.

![](https://docs-test.safeswap.io/img/howtoswap3.PNG)

## 4. Choose The Preferred Token and Amount <a href="#id-4-your-source-wallet-should-now-be-connected" id="id-4-your-source-wallet-should-now-be-connected"></a>

Upon connecting your source wallet, you can now pick the token you wish to swap (SHA in this case). Enter the quantity of tokens you desire to exchange.

For extra security, we display both the token contract address and the SafeSwap smart contract address for the selected chain, allowing you to verify details.

![](https://docs-test.safeswap.io/img/howtoswap4.PNG)

## 5. Configure Destination Blockchain and Wallet <a href="#id-5-repeat-steps-234-for-the-destination-wallet" id="id-5-repeat-steps-234-for-the-destination-wallet"></a>

The tokens you'll receive on the destination chain (Polygon, in this case) will be identical to the ones chosen on the source chain.

![](https://docs-test.safeswap.io/img/howtoswap5.PNG)

## 6. Ensure Source and Destination Wallets Are Connected <a href="#id-6-now-you-have-both-source-and-destination-wallet-connected" id="id-6-now-you-have-both-source-and-destination-wallet-connected"></a>

![](https://docs-test.safeswap.io/img/howtoswap6.PNG)

## 7. Approve Token and Amount to Swap <a href="#id-7-verify-your-token-and-the-amount-which-you-want-to-swap-from-source-to-destination-chain" id="id-7-verify-your-token-and-the-amount-which-you-want-to-swap-from-source-to-destination-chain"></a>

For first-time swaps, it's essential to authorize the swap contract to move your tokens.

Once done, the SafeSwap routing gets generated and the swap fees estimated.

![](https://docs-test.safeswap.io/img/howtoswap7.PNG)

![](https://docs-test.safeswap.io/img/howtoswap7a.PNG)

## 8. Initiate Swap <a href="#id-8-initiate-the-swap-with-swap-button-below" id="id-8-initiate-the-swap-with-swap-button-below"></a>

Click the "Swap" button to initiate.

![](https://docs-test.safeswap.io/img/howtoswap8.PNG)

## 9. Generate Secret Hash Code <a href="#id-9-confirm-creation-of-the-secret-hash-code-which-will-be-used-later-to-claim-swapped-tokens" id="id-9-confirm-creation-of-the-secret-hash-code-which-will-be-used-later-to-claim-swapped-tokens"></a>

As a safety measure, SafeSwap assigns each swap a unique code.

Important note: To claim your tokens on the destination chain, ensure you stick to the same device and within the same browser throughout the entire swapping procedure.

![](https://docs-test.safeswap.io/img/howtoswap9.PNG)

## 10. Pay Fees for Both Blockchains Involved <a href="#id-10-send-the-required-fees-to-each-chain-to-execute-the-swap" id="id-10-send-the-required-fees-to-each-chain-to-execute-the-swap"></a>

If any pop-ups appear, sign the transaction using your wallet's PIN or password.

![](https://docs-test.safeswap.io/img/howtoswap10.PNG)

## 11. Create Swap <a href="#id-11-after-the-fees-are-paid-the-swap-is-ready-to-proceed" id="id-11-after-the-fees-are-paid-the-swap-is-ready-to-proceed"></a>

The swap might take a while. Remember to keep SafeSwap open and be patient during this period.

Any prompts asking to sign a transaction will require your wallet's PIN or password.

![](https://docs-test.safeswap.io/img/howtoswap11.PNG)

## 12. Claim Funds <a href="#id-12-the-swap-was-successfully-created-now-you-can-claim-your-funds" id="id-12-the-swap-was-successfully-created-now-you-can-claim-your-funds"></a>

After SafeSwap's atomic swap protocol finishes, it's time to claim your SHA tokens on the Polygon chain. Click the "Claim Funds" button.

![](https://docs-test.safeswap.io/img/howtoswap12.PNG)

## 13. Swap Successful!

Upon successful claiming, the swapped tokens will be visible in your designated destination wallet.

And that's it, a successful atomic cross-chain swap of native SHA tokens!

![](https://docs-test.safeswap.io/img/howtoswap12a.PNG)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.safeswap.io/user-guides/swap-tokens.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
