Hey everyone,
I built a basic sniping bot for Raydium its libraries. Simply put, you fill the settings in bot.js and it buys the token for the amount you choose when it hits the swap.
What are the features?:
- Buy early token gems with custom gas fee, slippage, amount. (DYOR)
- Auto approve fees
- Open source, with free node services (Literally don't have to pay anything to run this bot)
Working on:
- Sell bought token with custom gas fee, slippage, amount.
- Sell tokens with your custom increase in price, like 50%, 100%, 200%.
HOW TO RUN
- clone this code or download as zip
- $ npm install (<---- write this after you open the folder in the terminal of your favorite code editor) , this will download all npm packages. If you dont have npm installed, install node (js enviroment) https://nodejs.org/en/download.
- Set the variables in "Variables" at the top of bot.js
- Input enough funds for fees and purchases into your wallet
Run with "node bot.js" command in the same terminal
Stop bot with Ctrl + C.
Successfull 1,000 USD snipe the other day :)
TIPS AND TRICKS
- If you gettint error: throw new Error('Non-base' + BASE + ' character') ^ Error: Non-base58 character. Make sure you have provided correct private key in line 34.
- Have atleast few sonala's in funds, as you will need to get some fees, currencies and for the sniping itself. Also, to get everything working smooth as some tokens you will want to snipe have big slippage and if the transaction fails you still pay the gas so don't waste money
- Check new tokens on dextools
- DYOR on dextools and see if the token contract you are sniping doesn't have rug pulls included
WARNING This bot is free and I did it as a hobby project. Great starting place for new devs. DYOR.
TROUBLESHOOT If your transaction failed:
1)Your gas price is too small 2)Your slippage is too small (use 20+ for early token)