-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature for checking for snipers and bundles. #34
Comments
@backwardsmap I would like to pick this issue. But on what criteria will we flag snipers. With the help of bitquery api's we can get the pump fun data? |
I asked ChatGPT what it thought. To build a tool that analyzes bundles, snipers, and other attributes for a given mint address on Solana, we need a clear structure and defined criteria for flagging suspicious activity. Below is a breakdown of how we can design this tool, criteria for flagging snipers, and implementation suggestions using APIs like Bitquery or other Solana blockchain explorers. Tool Features Sniper Criteria Implementation Steps Mock Output Example Bundle Summary: Sniper Summary: Bubble Map Insights: Additional Checks: Next Steps |
@Tejoyasaswi-17 a sniper would be someone who bought within the first few blocks after the LP was created. This usually is inclusive with bundles but could also be a single wallet/bot that bought tokens quickly. |
import asyncio class SolanaTokenSniperAnalyzer:
Example usageasync def main(): Run the exampleasyncio.run(main()) |
@QuarkGrandNagus this looks pretty good, can you do this in Typescript and make it an agent tool? |
sure thing |
Should we create a new navigation. I have created a new navigation under memories called tools. It has this new tool for flagging snipers given the solana mint address. In this tools itself we can extend further(Complete due diligence report, OG request features) and add more tools so that it kind of becomes end-end analysis suite. |
interface TokenHolder { interface Bundle { interface BundleReport { interface SignatureInfo { class SniperDetector {
} |
committed these changes import { Connection, PublicKey } from '@solana/web3.js'; interface TokenHolder { interface Bundle { interface BundleReport { interface SignatureInfo { class SniperDetectorAgent extends Agent { constructor(mint_address: string, solana_client: Connection) { async start() { async fetchTokenHolders(): Promise {
} async analyzeTransactionHistory(): Promise<Bundle[]> { private identifySniperBundles(signatures: SignatureInfo[]): Bundle[] {
} private clusterTimestamps(timestamps: number[], max_time_diff: number = 60): number[][] {
} private analyzeBundle(primary_wallet: string, timestamps: number[]): Bundle {
} generateBundleReport(bundles: Bundle[]): BundleReport[] {
} // Create a new instance of the agent // Start the agent |
@Tejoyasaswi-17 |
Tools are injected into the agent |
Feature request description by @slimeonmyhead
Create a tool to check for bundles/snipers for a given mint address on solana.
This checker should catch snipers that originate outside the original mint bundle from pumpfun.
Each bundle identified should contain stats such as %supply, sol spent, # of unique wallets, how much they are still holding, etc.
Include an overall summary of the bundles
The text was updated successfully, but these errors were encountered: