Skip to content

This bot allows you to increase the trading volume of any token on Uniswap by flash loaning ETH from Aave

License

Notifications You must be signed in to change notification settings

mgnfy-view/volume-bot

Repository files navigation

Contributors Forks Stargazers Issues MIT License


Volume Bot

A volume bot to boost the trading volume of any token on Uniswap V2
Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Roadmap
  4. Contributing
  5. License
  6. Contact

About The Project

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).

Built With

  • Foundry
  • Solidity
  • Node.js
  • Javascript
  • Ethers.js
  • pnpm

Getting Started

Prerequisites

Make sure you have git, node.js, pnpm, rust, foundry, and make installed and configured on your system.

Installation

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!

Roadmap

  • 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).

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

Reach Out

Here's a gateway to all my socials, don't forget to hit me up!

Linktree

About

This bot allows you to increase the trading volume of any token on Uniswap by flash loaning ETH from Aave

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published