DEV Community

Cover image for TokenSwap smart contract!
revoltez
revoltez

Posted on • Updated on

TokenSwap smart contract!

I wrote a TokenSwap smart contract that swaps two erc20 tokens and takes a fee, it has two panels, the user panel where users can buy one of the two erc20 tokens and an Admin panel that charges the TokenSwap smart contract with the Two tokens and sets the Ratio of TokenA to TokenB and set the fees

code on:
https://github.com/revoltez/TokenSwap

Top comments (1)

Collapse
 
ethben1987 profile image
Ethben1987

hi @revoltez, i minted erc20 token - thcv2 in gnosis chain, i need to bulkswap the tokens to stablecoins, is there any way for this ? if you could help i can give some thcv2 as my gift of gratitude.