Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mgnfy-view/volume-bot
This bot allows you to increase the trading volume of any token on Uniswap by flash loaning ETH from Aave
https://github.com/mgnfy-view/volume-bot
ethersjs forge foundry javascript pnpm prettier smart-contracts solidity volume-booster volume-bot
Last synced: about 12 hours ago
JSON representation
This bot allows you to increase the trading volume of any token on Uniswap by flash loaning ETH from Aave
- Host: GitHub
- URL: https://github.com/mgnfy-view/volume-bot
- Owner: mgnfy-view
- License: mit
- Created: 2024-09-14T16:18:11.000Z (11 days ago)
- Default Branch: main
- Last Pushed: 2024-09-18T18:02:53.000Z (7 days ago)
- Last Synced: 2024-09-19T03:49:08.341Z (7 days ago)
- Topics: ethersjs, forge, foundry, javascript, pnpm, prettier, smart-contracts, solidity, volume-booster, volume-bot
- Language: Solidity
- Homepage:
- Size: 193 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
Volume Bot
A volume bot to boost the trading volume of any token on Uniswap V2
Report Bug
·
Request Feature
Table of Contents
## 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,
```shell
git clone https://github.com/mgnfy-view/volume-bot.git
```Cd into the repo, and install the necessary dependencies
```shell
cd volume-bot
pnpm install
forge build
```Load your terminal with the environment variables in your `.env` file using
```shell
source .env
```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=" "`.
Run tests by
```shell
forge test --fork-url ${RPC_URL}
```This will run a fork test for the flash loan and swap actions.
Deploy the `FlashLoaner` contract using
```shell
forge script script/Deploy.s.sol --broadcast --rpc-url --private-key
```Next, customize the bot's characteristics using the `./bot/utils/config.js` file. You're ready to run the bot now!
```shell
pnpm run bot
```That's it, you are good to go now!
## Roadmap
- [x] Smart contract development
- [x] Unit tests
- [x] Bot development
- [x] Write a good README.mdSee the [open issues](https://github.com/mgnfy-view/volume-bot/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](https://img.shields.io/badge/linktree-1de9b6?style=for-the-badge&logo=linktree&logoColor=white)][linktree-url]
[contributors-shield]: https://img.shields.io/github/contributors/mgnfy-view/volume-bot.svg?style=for-the-badge
[contributors-url]: https://github.com/mgnfy-view/volume-bot/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/mgnfy-view/volume-bot.svg?style=for-the-badge
[forks-url]: https://github.com/mgnfy-view/volume-bot/network/members
[stars-shield]: https://img.shields.io/github/stars/mgnfy-view/volume-bot.svg?style=for-the-badge
[stars-url]: https://github.com/mgnfy-view/volume-bot/stargazers
[issues-shield]: https://img.shields.io/github/issues/mgnfy-view/volume-bot.svg?style=for-the-badge
[issues-url]: https://github.com/mgnfy-view/volume-bot/issues
[license-shield]: https://img.shields.io/github/license/mgnfy-view/volume-bot.svg?style=for-the-badge
[license-url]: https://github.com/mgnfy-view/volume-bot/blob/master/LICENSE.txt
[linktree-url]: https://linktr.ee/mgnfy.view