A volume bot to boost the trading volume of any token on Uniswap V2
Report Bug
·
Request Feature
Table of Contents
This volume booster bot allows you to flash loan Eth from Aave V3, and use it to buy and sell a token on Uniswap V2 (while keeping a small amount of the token) all in a single transaction. The flash loan feature enables you to boost the volume by a large margin and a small capital (which will be used to pay fees only).
- Foundry
- Solidity
- Node.js
- Javascript
- Ethers.js
- pnpm
Make sure you have git, node.js, pnpm, rust, foundry, and make installed and configured on your system.
Clone the repo,
git clone https://github.com/mgnfy-view/volume-bot.git
Cd into the repo, and install the necessary dependencies
cd volume-bot
pnpm install
forge build
Start by filling out the .env.example file, and rename it to .env. Use export ENVIRONMENT="dev"
for local testing, or export ENVIRONMENT="production"
for going live on Eth mainnet. Add your private keys separated by a space as follows: export PRIVATE_KEYS="<P1> <P2> <P3>"
.
Load your terminal with the environment variables in your .env
file using
source .env
Run tests by
forge test --fork-url ${RPC_URL}
This will run a fork test for the flash loan and swap actions.
Deploy the FlashLoaner
contract using
forge script script/Deploy.s.sol --broadcast --rpc-url <YOUR-RPC-URL-HERE> --private-key <YOUR-PRIVATE-KEY-HERE>
Next, customize the bot's characteristics using the ./bot/utils/config.js
file. You're ready to run the bot now!
pnpm run bot
That's it, you are good to go now!
- Smart contract development
- Unit tests
- Bot development
- Write a good README.md
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Here's a gateway to all my socials, don't forget to hit me up!