Skip to content

Not the prettiest or most documented but hopefully someone out there can get inspiration from it.

Notifications You must be signed in to change notification settings

nathanielangafor/Binance-Smart-Chain-Arbitrage-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



BSC MEV is a program that aimed to profit through the exploitation of block transaction fees.

Use Case

Your first question is most likely "well why isn't everyone using this money printer?" frankly, it does not exactly work as intended. Due to funding limits, I had to work with coins that had a low market cap which would require roughly $500-1500 to move the price by 5%. This allowed me to profit with almost every trade I made but the issue with low market cap coins is their susceptibility to rug pulls. On the other hand, larger coins that we verified often had other participants who had faster systems/networks, along with dedicated chain nodes which made it difficult to win block bids. If I had more resources, I would purchase a dedicated chain node and write it entirely in solidity to improve the program's speed. I did love working on this project though and it taught me a lot about Web3, different financial ideas, and of course the value of always being willing to learn something new.

Installation

Use the package manager npm to install the following packages

pip install selenium
pip install web3
pip install pysqlite3
pip install requests

Usage

This repo contains a buySide and a sellSide. The buy side monitors for new coins being created, scans the contract code to determine if it reaches the purchase criteria and finally buys. The sell side monitors the price change from when a coin was originally bought and determines if it has made enough profit to be sold.

# Starting the buySide program
python3 buySide.py
# Starting the sellSide program
python3 sellSide.py

I also included the concept code for the project written in JS because it is slightly faster and in the world of blockchain technology, even the smallest difference in speed could make the world of a difference.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.

License

MIT

About

Not the prettiest or most documented but hopefully someone out there can get inspiration from it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published