- Check for an existing
.gitignorefile in the project directory
ls -a| // This is a basic uniswap frontrunning MEV bot | |
| // Made by Merunas follow me on youtube to see how to use it and edit it: https://www.youtube.com/channel/UCJInIwgW1duAEnMHHxDK7XQ | |
| // 1. Setup ethers, required variables, contracts and start function | |
| const { Wallet, ethers } = require('ethers') | |
| const { FlashbotsBundleProvider, FlashbotsBundleResolution } = require('@flashbots/ethers-provider-bundle') | |
| // 1.1 Setup ABIs and Bytecodes | |
| const UniswapAbi = [{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_WETH","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"amountADesired","type":"uint256"},{"internalType":"uint256","name":"amountBDesire |
| # PHP 8.1.7 Set-up | |
| ScriptAlias /php817/ "C:/xampp/php817/" | |
| Action application/x-httpd-php817-cgi "/php817/php-cgi.exe" | |
| <Directory "C:/xampp/php817"> | |
| AllowOverride None | |
| Options None | |
| Require all denied | |
| <Files "php-cgi.exe"> | |
| Require all granted | |
| </Files> |
| Note for me to remember how to set Android Home on Mac | |
| Open Terminal and type in.. | |
| nano ~/.bash_profile | |
| Add the below paths | |
| The path should be where your android installation is located | |
| export ANDROID_HOME=/Users/username/Library/Android/sdk | |
| export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools | |
| Save file and type in terminal... | |
| source ~/.bash_profile |