In this thesis, we discussed the principles of blockchain technology and decentralised finance. We focused on the blockchains Avalanche and BNB Smart Chain, as well as the decentralised exchange Uniswap V2. We created a prototype using the Web3j framework to look for and execute cross-chain arbitrage opportunities between Avalanche and BNB Smart Chain on decentralised exchanges Trader Joe and PancakeSwap for the WETH/USDC token pair. We concentrated on locating arbitrage opportunities. Finally, we discovered unresolved issues that arise while implementing the execution of cross-chain arbitrage opportunities. This thesis' contribution is one of the first public examples of the method of arbitrage implementation, which takes place on two separate blockchains. This thesis' prototype can be used as a starting point for the actual implementation of software to discover and perform cross-chain arbitrage.
|