Last updated
Last updated
All of these functions will use a Spam Transaction "mode". You set how many transactions you want to send in the setup of the task below.
AmountSolToSwap = how much wsol you want to spend on a token
SecretKey = your solana private key
RpcURL = your rpc node url
To find the AmmID if you do not have discord monitors, please navigate to the BirdEye link of the token you are trying to snipe and click solscan button of the liquidity add transaction (typically the 1st transaction in Birdeye and it is colored purple). Then, scroll down in solscan and find the listed ID
GasUnitPriceBuy/GasUnitLimitBuy&GasUnitPriceSell/GasUnitLimitSell
GasUnitPriceBuy = amount of gas used for the transaction, the higher it is, the more likely the validator will accept your transaction. EACH TX YOU SEND WILL COST YOU, EVEN IF THE TX FAILS! BE CAREFUL TO NOT DRAIN YOUR WALLET.
GasUnitLimitBuy = This can always be set 200000
GasUnitPriceSell = amount of gas used for the transaction, the higher it is, the more likely the validator will accept your transaction. (The sell TX does not necessairily need to be as high as the buy TX. IMO, getting a better entry is more important, but test for yourself) EACH TX YOU SEND WILL COST YOU, EVEN IF THE TX FAILS! BE CAREFUL TO NOT DRAIN YOUR WALLET.
GasUnitLimitSell = This can always be set to 200000
25000/200000&25000/200000 (default gas parameters, use your own)
AmountBuyTX = The amount of txs you will send for buying the token (to calculate fees, multiply your gas fees by the amount of buyTX to get the total amount of SOL you will be spending on fees)
AmountSellTX = The amount of txs you will send for selling the token (to calculate fees, multiply your gas fees by the amount of buyTX to get the total amount of SOL you will be spending on fees)
Delta(ms) = When the bot finds a token with a timestamp, use this parameter to start sending transactions X ms before launch time. (I recommend starting 1-2 seconds before, so put 1000-2000) This will be different for everyone, again, test what is best for you.
DelayBeforeSell(ms) = force the bot to delay before selling in ms. (put 0 to instasell the token)
DelayBetweenBuyTx(ms) = The delay between your buy transactions (node dependant, raise it if you are being ratelimited)
DelayBetweenSellTx(ms) = The delay between your sell transactions (node dependant, raise it if you are being ratelimited)
If you want to not sell the token automatically, please use the RaydiumSwapSellHotkey module. The setup is the exact same.
If you successfully purchased the tokens then bot will wait until you click "ESC" on your keyboard.
While its waiting for you to click "ESC" it will print the amount of sol you will receive for selling the tokens.
AmmID = This is NOT the token CA, in discord monitors it is commonly called the pool ID
Used to snipe a token and sell instantly upon purchase or while using a hotkey