I've been doing a little project of mine where users could donate ether to a certain campaign to reach a certain goal, but I wanted to extend this project a little further and wanted to allow the users to donate multiple ERC20 tokens.
So lets say a user has stated that he only accepts DAI on his campaign but the donor only has WETH on his account.
What do I need to implement in my project to make transactions with ERC20 tokens? (I am asking this because so far I have made simple ETH transactions between two addresses)
How would I swap that WETH for DAI(in this case), and how would I even get those ERC20 tokens to test if its working since I am doing this project on the Rinkeby test net?
I've been reading about the Uniswap Router but I don't know if I could do it on Rinkeby.