---
title: "Discussion on \"Build Your Own Token Swap Contract in Solidity\" | Hashnode"
description: "Discussion on \"Build Your Own Token Swap Contract in Solidity\". Swap Tokens\nIn this tutorial, we’re gonna walk you through creating a dope token swap smart contract in Solidity. This bad boy lets users swap one ERC-20 token for another, all while collecting a little fee. Let’s get it!\nPrerequisites\nBefore diving ..."
url: "https://hashnode.com/posts/build-your-own-token-swap-contract-in-solidity/671768407c89ede9863bf764"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Build Your Own Token Swap Contract in Solidity](https://grakshaya.hashnode.dev/build-your-own-token-swap-contract-in-solidity?utm_source=hashnode&utm_medium=feed)

Swap Tokens In this tutorial, we’re gonna walk you through creating a dope token swap smart contract in Solidity. This bad boy lets users swap one ERC-20 token for another, all while collecting a little fee. Let’s get it! Prerequisites Before diving ...

Oct 22, 2024 · 6 min read · grakshaya.hashnode.dev  
Read the article

-   [#solidity](https://hashnode.com/tag/solidity)
-   [#hardhat](https://hashnode.com/tag/hardhat)
-   [#smart-contracts](https://hashnode.com/tag/smart-contracts)
-   [#swap](https://hashnode.com/tag/swap)
-   [#swap-crypto](https://hashnode.com/tag/swap-crypto)
-   [#erc20](https://hashnode.com/tag/erc20)

## Written by

[Akshaya Gangatharan](https://hashnode.com/@0xakshaya)

@0xakshaya

  
[View profile](https://hashnode.com/@0xakshaya)

Blockchain developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
