Smart contract for swaps

Job ID: 33309189

Budget: $30 – $250 USD

Hello,

Can you create a smart contract that does single path swaps between MATIC/my token as well as my token/MATIC? Only special features I need are ability to specify how much MATIC or my token I will be swapping for the other token, and the ability to do a bunch of swaps in a row (probably easiest way to do this is a while loop)
Related categories: React.js Solidity Web3.js