Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Ashuxd-X/GrassNode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GrassNode

This repository contains the code for GrassNode, a bot designed to establish WebSocket connections through various HTTP and SOCKS proxies, specifically aimed at farming for Grass Airdrop Season 2.

Overview

GrassNode connects to a specified WebSocket server using both HTTP and SOCKS proxies. It leverages the ws library for WebSocket communication and integrates the https-proxy-agent and socks-proxy-agent libraries for enhanced proxy support. This allows for more versatile and resilient connections, accommodating a wider range of proxy types.

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/asish1346/grassnode.git
  2. Navigate to the project directory:

    cd grassnode
  3. Install the required dependencies using npm:

    npm install

Usage

  1. Obtain your user ID from the Getgrass website:

    • Visit https://app.getgrass.io/dashboard.

    • Open your browser's developer tools (usually by pressing F12 or right-clicking and selecting "Inspect").

    • Go to the "Console" tab.

    • Paste the following command and press Enter:

      localStorage.getItem('userId');
    • Copy the value returned, which is your user ID.

  2. Create a file named uid.txt in the project directory and list your user IDs, each on a new line, like so:

    hbgfvro8uhf90uh90ihjb
    iudhvg8uwhf9iuhgv9uh9ou
    
  3. To specify proxies, create a file named proxy.txt in the project directory and add your desired proxy URLs, following the same new-line format, like this:

    http://username:password@hostname:port
    socks5://username:password@hostname:port
    
  4. To run the GrassNode, execute the following command in your terminal:

    npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors