path swaps between MATIC/my token

Job ID: 33311096

Budget: $250 – $750 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