Last updated
Last updated
AmountTokensToSwap - the amount of tokens (sol, usdc etc) you want to use for trades
SecretKey - secret key from your solana wallet
CheckoutRpcUrl&Monitor - rpc for checkout & rpc for monitor Example: (dont use these nodes, it just an example)
PairAddress - the address of the pool you want to buy
GasUnitPriceBuy/GasUnitLimitBuy
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 1400000
Example - 25000/1400000 - use your own numbers
CheckoutSlot - the slot when bot will start sending buy transactions. Example: 245061308 (if u use this one -> the bot will start to checkout instantly) Note: Probably better to start a couple of slots before the drop - test for your best setup as always.
DelayBetweenTx(ms) - Delay 1 sends about 600 transactions per second, node dependant, change according to your setup.
MonitorDelay(ms) - Do not set a very low delay, I would test between 500-2000
RepeatSwapAmount - Make more than one swap in one transaction. Multiply this number and the number you set in AmountTokensToSwap to get your total buy-in amount.
This module is used for Meteora tokens