SoaR Trading Bot that listens to new Raydium USDC or SOL pools and buys tokens for a fixed amount in SOL.
Depending on the speed of the RPC node, the purchase usually happens before the token is available on Raydium UI for swapping.
Note
This is provided as is, for learning and test purposes. Star & Fork for updates.
Automatic snipe new pair pool
Stoploss & Takeprofit
Filter by min & max liquidity
USDC & WSOL
Burn Check
Renounce Check
Fast Buy
First step:
- Create a new Solana wallet
- Transfer some SOL to this new wallet
- Convert some SOL to USDC or WSOL (you need USDC or WSOL depending on the configuration in .json file)
Tip
[1] git clone https://github.com/KypyoDev/Solana-Sniping-Memecoin-Bot
[2] npm init -y
[3] npm install
[3] node start.js
MY_PRIVATE_KEY
(your wallet private key)RPC_ENDPOINT
(https RPC endpoint) paid services are fasterRPC_WEBSOCKET
(websocket RPC endpoint) paid services are fasterBUY_AMOUNT
(amount used to buy each new token)USE_SNIPEDLIST
(bot buy only tokens listed in snipedlist.txt)SNIPE_LIST_REFRESH_INTERVAL
(how often snipe list should be refreshed in milliseconds)MINT_IS_RENOUNCED
(bot buy only if mint is renounced)MIN_POOL_SIZE
(bot buy only if pool size is > of amount)MAX_POOL_SIZE
(bot buy only if pool size is < of amount)TAKE_PROFIT=80
(in %)STOP_LOSS=30
(in %)
By default, auto sell is enabled. If you want to disable it, you need to:
- Change variable
AUTO_SELL
tofalse
- Update
MAX_SELL_RETRIES
to set the maximum number of retries for selling token - Update
AUTO_SELL_DELAY
to the number of milliseconds you want to wait before selling the token (this will sell the token after the specified delay. (+- RPC node speed)).
AUTO_SELL_DELAY to 0, token will be sold immediately after buy. There is no guarantee that the token will be sold at a profit or even sold at all. The developer is not responsible for any losses incurred by using this feature.
Use this script at your own risk. No financial advice.