This repository contains the code for GRASS
, a bot designed to establish WebSocket connections through various HTTP and SOCKS proxies, specifically aimed at farming for Grass Airdrop Season 2.
GRASS
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.
- Single Account With Multiple Worker Based On Proxy
- Proxy Support (HTTP / SOCKS5)
- Auto Run Grass Node
- Server Proxy
-
Clone this repository to your local machine:
git clone https://github.com/Rambeboy/GRASS.git
-
Navigate to the project directory:
cd GRASS
-
Install the required dependencies using npm:
npm install
-
Configure your accounts
cp -r accounts/proxy_list_tmp.js proxy_list.txt && cp -r accounts/uid.txt uid.txt
- Obtain your user ID from the Getgrass website:
-
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.
-
Create a file named
uid.txt
in the project directory and list your user IDs, each on a new line, like so:123123213 123123123
-
To specify proxies, create a file named
proxy_list.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
-
To run the
GRASS
, execute the following command in your terminal:npm run start
This project is licensed under the MIT License - see the LICENSE file for details.