View Demo · Report Bug · Request Feature
Table of Contents
Daily live on streams on YouTube: https://www.youtube.com/@0xAquaWolf
I have always dreamed about finding a infinite money glitch, making money passively while i'm sleeping, its one of the reasons i learned how to code.
This project endevours to accomplish this goal. If you resonate with that you can contribute to if you would like.
Here's why:
- I believe that Base Chain (built by Coinbase) will on board and increase user adoption with the Web3 space because they have 115 MAU and they have already onboarded 11.3 Million users https://tokenterminal.com/terminal/projects/base (MAU)
- I see code as leverage, we can deploy bots and run code in the cloud while we are sleeping and potentialy make money from that code
To get a local copy up and running, follow these steps:
-
local postgreSQL instance
-
Install Bun (a fast JavaScript runtime and package manager)
curl -fsSL https://bun.sh/install | bash
-
set up postgreSQL with the following creds and make sure to add them to your
.env
DB_HOST="localhost"
DB_PORT="5432"
DB_USER="aquawolf" # change to YOUR os username
DB_PASSWORD=""
DB_NAME="base_chain_scanner"
- Get a BaseScan free API Key at https://basescan.org/
- Get a Discord Developer free API Key at Discord Developer Portal
- Clone the repo
git clone https://github.com/0xAquaWolf/base-chain-sniper-bot-ts.git
- Install NPM packages
bun install
- Enter your APIs & DB Creds inside
.env
.env
needs to be placed inside of./.env
DISCORD_BOT_TOKEN="" # Slash Commands Discord bot
BASE_TOKEN_SNIFFER="" # Discord Bot for blockchain notifications
BASESCAN_API_TOKEN="" # sign up on basescan to get api key
STAGING_CHANNEL_ID="" # copy from discord server
DEBUG="true | false"
CUSTOM_START_BLOCK="123512352" # for debuging from a block
-
bun install
-
bun run dev
- setup project
- open sourced it
- create a readme
- added a license
- create a logo
- create basic folder structure for project
- add drizzle support for postgreSQL
- add drizzle support for postgreSQL
- setup drizzle kit
- introspected the current database scheme
- Create the blockchain scanner for all events
- New token event
- addLiquidityETH
- removeLiquidityETH
- Save events to the db (postgreSQL)
- listen db to events
- send events to discord
- add new token events
- addLiqudiityETH
- removeLiqudiityETH
- send events to discord
- add a 30 sec demo bootstraping the project and it scanning the network
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 GNU General Public License v3.0. See LICENSE
for more information.
Twitter - @0xAquaWolf
Youtube - @0xAquaWolf
Email - aquawolf369
These are all of the documentations to the packages that are being used in this project