warp-id / solana-trading-bot

Solana Trading Bot - Beta
Microsoft Public License
1.3k stars 615 forks source link

Detect Total Tokens and SOL added to the Pool #46

Closed CHToken closed 2 months ago

CHToken commented 4 months ago

Hey guys I've been trying to get the amount added to the pool but the bot usually sends late info.

From the pool, I was able to get the tokens in the LP but that's after trading as started it was not able to get the exact amount but the balance

For example if owner adds 5 SOL to pool on bot sending messages the 5 SOL owner adds might have pumped to 12 Sol before it being sent by the bot to the console

Here is my code line https://github.com/CHToken/solana-sniper-bot/blob/master/buy.ts

CHToken commented 4 months ago

Am I doing something wrong or I need a filter to get the exact amount the owner adds into the pool?

nasko94 commented 4 months ago

Why is this information important?

CHToken commented 4 months ago

To filter rugs token

d4op commented 4 months ago

can i simple copy your one over the normal one ?

fdundjer commented 2 months ago

Added with new version