Skip to content

ALLIIPP/dropfarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dropfarm

Overview

This program is designed to simulate realistic trading activity on the Solana blockchain by copying legitimate traders' behavior. The goal is to generate organic-looking trading patterns to potentially qualify for a future pumpfun protocol airdrop.

Key Concepts

Terms

  • copy_account: The PumpFun trader's wallet being copied
  • main_account: Our account that mirrors the above trader's activity
  • wallet_group: A group of 1 or more accounts (typically 3-4) that transfer SOL/tokens amongst each other
  • dapp_config: Each wallet group comes with its own dapp_config. This config is used to generate the next Task that should be completed.
  • task: There are certain protocols that do not publish their IDLs so its very difficult/impossible to interact with their onchain programs without going through the front end, so, periodically a "Task" event is passed to the db that tells the user to perfroms a specific task on a specific account. These taks are done through the protocols front-end. The initial settings for a dapp_config can be set on wallet group creation. As tasks are completed, the dapp config changes in a way that make the protcol & sector being engaged with more likely to appear again just as with real users. (there is a front end for this app where tasks are done)

Strategy

The program creates wallet groups where each main_account has an assigned copy_account. When the copy_account trades on PumpFun or other protocols, the main_account mirrors those trades to appear as authentic user activity.

Benefits

  • Realistic Trading Patterns: ML algorthms can detect a persons typical trading hours and determine whether or not that person is a bot, so copying a trader is a good way to make sure that bot generating consistent, human-like activity
  • No Research Required: No need to research coins or stay on top of market trends
  • Volume Distribution: Most of the coins on pumpfun have very little liquidity so, if you wanted to push size into any coins for the sole purpse of generating volume, you would lose money very quickly since anybody that bought before you (including the token creator) would be up multiples and likely sell. While it is possible to bundle buy and sell orders using jito, reducing the liklihood of someone selling before you are able to get out, you flag yourself as a bot because no human is able to trade that fast. spreading this volume out across many different coins in much smaller increments is a much safer way to generate volume.

Risk Factors

  • We`re alwayes quoted a worse price for the trade because we are always buying after and selling after the copy trader
  • There is a hefty fee associated with each pumpfun trade (1.25%)
  • When swapping through the front end, pumpfun puts exhorbitant Compute Budget fees on every transaction. if we want to look genuine we need to copy these fees
  • If the account being copied is a poor trader we will lose money (too quickly)
  • The "porfitable" account being copied knows he is being copied and will manipulate his trades in such a way that all his copy traders lose money quickly. this is a common occurence so any program that looks to find profitable pumpfun traders must take this into account
  • The account being copied can withdraw the funds from his wallet or otherwise stop trading. This means that our account is not generating volume. When this copy account is changed, the hours at which our account is trading changes to match that of the new copy account. this change in trading hours could possibly be picked up by an ML algorithm.
  • The airdrop heavily weights actions that cannot be performed over the blockchain (comments,likes, friends, user profile fullness (name, bio, etc.), using the pumpfun phone app, etc.)

Note: This program is expected to lose money short-term, but the goal is generating enough volume that future airdrops will cover losses.

File Structure

Data Files

  • ./data/master_client_list.json: Configuration for all wallet groups

    • alias: Wallet group title
    • isOnline: Whether webhook events are being generated
    • walletApp: Wallet type (use Solflare/3 for consistent ComputeBudget fees)
    • subaccounts: List of accounts with private keys and copy account assignments
    • dateCreated: Creation timestamp
    • dappConfig: Task generation configuration
  • ./data/master_copy_list.json: List of valid copy accounts for future use

  • ./data/rpc.json: RPC endpoints for blockchain communication

  • ./data/webhook_id.json: Webhook ID storage

Code Structure

  • ./handlers/: Event handlers for different Solana protocols
  • ./pumpy/: PumpFun instruction parsers and builders
  • ./raydy/: Raydium instruction parsers and builders
  • ./utils/constants/: Various constants
  • ./utils/: Helper functions (dale_tools.js, helpers.js, sybilutils.js)
  • ./utils/events.db: MongoDB interaction helpers
  • ./watcher.js: Main entry point

API Endpoints

  • /: Root endpoint for webhook events
  • /getEvents: Returns all events (newest to oldest)
  • /gestault: Account balances and activity summary
  • /removeEvent: Remove event from database (marks tasks as completed)
  • /registerAccount: Create new wallet group
  • /editStream: Edit webhook configuration
  • /changeCopy: Assign new copy_account to main_account
  • /closeTokenAccounts: Close empty token accounts (deprecated - use SOL-INCINERATOR instead)

Setup Instructions

Prerequisites

  1. Fill in required constants:
    • MONGODB_URI: MongoDB connection string
    • HELIUS_API_KEY: API key for webhook management
    • WEBHOOK_URL: Server IP and port for receiving webhook events

Installation

  1. npm install
  2. Add RPC endpoints to ./data/rpc.json
  3. Add copy accounts to ./data/master_copy_list.json
  4. Run with node main.js (or use PM2 for background execution)

About

farming p_um4_fun on s/0Lana

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors