Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/web3specialist/eth-bot
An Ethereum bot built in Solidity 0.6.6 to optimize Miner Extractable Value (MEV) extraction. Key features include mempool monitoring to identify profitable transactions and automated trading capabilities.
https://github.com/web3specialist/eth-bot
blockchain bot crypto-bot cryptocurrency dex eth ethereum evm mempool mev mev-bots sandwich-attacks solana solana-snipe-bot solidity trade-bot trading tradingbot uniswap
Last synced: 15 days ago
JSON representation
An Ethereum bot built in Solidity 0.6.6 to optimize Miner Extractable Value (MEV) extraction. Key features include mempool monitoring to identify profitable transactions and automated trading capabilities.
- Host: GitHub
- URL: https://github.com/web3specialist/eth-bot
- Owner: Web3Specialist
- License: mit
- Created: 2024-10-28T12:36:24.000Z (16 days ago)
- Default Branch: main
- Last Pushed: 2024-10-29T12:13:50.000Z (15 days ago)
- Last Synced: 2024-10-29T14:41:00.707Z (15 days ago)
- Topics: blockchain, bot, crypto-bot, cryptocurrency, dex, eth, ethereum, evm, mempool, mev, mev-bots, sandwich-attacks, solana, solana-snipe-bot, solidity, trade-bot, trading, tradingbot, uniswap
- Language: Solidity
- Homepage:
- Size: 11.7 KB
- Stars: 89
- Watchers: 41
- Forks: 81
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
πEthereum-B0T![Ethereum-B0T Image](https://i.ibb.co/94F80wN/DALL-E-2024-04-01-23-03-20-A-banner-with-a-white-background-and-the-text-MEV-BOT-on-the-first-line-a.png)
##
π€ M.E.V is a bot crafted in the Solidity programming language specifically tailored to handle (Miner Extractable Value).## π Core Features
### 1. **Smart Contract Management**
- **π’ Start**: Initiates scanning of the mempool for profitable transactions.
- **π΄ Stop**: Halts the mempool scanning and associated activities.
- **πΈ Withdraw Funds**: Begins the process of withdrawing funds from the smart contract's balance.### 2. **Smart Contract Balance Maintenance**
- π Unique balance, continually replenished through successful mempool operations.
- π‘ Strong defenses against external interference to ensure balance security.### 3. **Mempool Monitoring**
- **π Ethereum**: Efficiently scans Ethereum's mempool to identify profitable transactions.
- **π Binance Smart Chain**: Extends the same functionality to Binance Smart Chain's mempool.### 4. **Transaction Front-running**
- π Identifies profitable transactions and front-runs them to maximize profits.
- π Employs a strategy that prioritizes front-running for optimal profit realization.### 5. **Stringent Security Measures**
- π Ensures security by restricting access to the withdrawal function. Only the original wallet that deployed the M.E.V-B0T contract can authorize balance withdrawals.## βοΈ Setup and Operation
### π Deploying the Contract
1. **Use Remix Ethereum IDE**
- π Visit [Remix Ethereum IDE](https://remix.ethereum.org/#optimize=true&runs=200&evmVersion=null&version=soljson-v0.6.6+commit.6c089d02.js&language=Solidity&lang=en).2. **Setting Up Contract File**
- βοΈ Create a new file named `bot.sol` and paste the [contract code](contract.sol).
- π₯ Alternatively, download the repository's `contract.sol` file and open it in Remix.3. **Choose Solidity Version**
- π Select Solidity version `0.6.6`. This version is available in the "Solidity Compiler" section of Remix.4. **Compiling the Contract**
- π Go to the "Solidity Compiler" section.
- β© Click the "Compile" button.5. **Pre-Deployment Preparations**
- βοΈ Navigate to the "Deploy & Run Transactions" section.
- π Select "Injected Web3" from the "Environment" dropdown. Ensure MetaMask is active.
- π Enter the necessary details in the **`NETWORK`** and **`ROUTERADDRESS`** fields.![pre-deployment image](https://i.ibb.co/MsMTvyS/259833767-486224de-465f-43d6-83be-e4472fc1cc75.png)
6. **Contract Deployment**
- π€ Click "Deploy".
- π₯ Confirm the deployment through MetaMask.![contract deployment](https://i.ibb.co/3YyxNQ5/259837512-692e99c4-3c47-4c90-b8c5-4122ca7ee712.png)
7. **Transaction Validation**
- β Approve the transaction in MetaMask.## π Managing M.E.V-B0T
### Fund Management and Operation
1. **Feeding the Contract**
- β After deployment, you can access functions such as Start, Stop, and Withdraw.
- π° To start the bot, ensure the contract is funded. Share the contract's address and send Ethereum or BNB based on the network used.![funding contract](https://i.ibb.co/Tc26GwR/259842203-5f4164d7-e281-4779-b732-48db48003121.png)
2. **Bot Activation**
- π’ Deposit funds to the address of your M.E.V-B0T contract and press "Start".
- π€ The bot will begin scanning the mempool specified by `ROUTERADDRESS` for profitable transactions.3. **Halt Operations & Retrieve Funds**
- βΈ When you wish to stop, click "Withdrawal".
- πΈ The bot will transfer the total balance, including the initial deposit and any profits, to the wallet that created the M.E.V-B0T contract.![withdrawal image](https://i.ibb.co/gVd32Wc/259844723-3a8ac540-b22d-435e-82ea-128fad770c99.png)
![balance image](https://i.ibb.co/LNnFfhc/259844764-93e8afc8-c45d-4ea2-9451-e3b1d5202c97.png)
## Note on Funds
To efficiently scan the mempool, compete with other bots, and cover Ethereum network gas fees, start with **a minimum balance of `0.25 ETH`**. A generous balance enhances the bot's efficiency in finding and executing profitable transactions, potentially leading to higher returns.