I’m trying to achieve a simple functionality with knowledge learned in DeFi 201. The operation works as below.
- Take a DAI Flashloan in Aave
- Enter DAI market in Compound
- Supply the some of the borrowed Dai into Compound.
This would be in Ropsten testnet. I’ve noticed the Dai borrowed via FL and Dai in Compound are two different custom DAIs so the Aave Dai can’t be supplied into Compound. I’m aware this won’t happen in the main net but wondering what’s the best way or common practice to develop such functionality in a testnet.