Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dante4rt/getgrass-bot

A bot for establishing WebSocket connections through various HTTP and SOCKS proxies for farming Grass Airdrop.
https://github.com/dante4rt/getgrass-bot

airdrop automated bot farming getgrass grass solana

Last synced: 3 days ago
JSON representation

A bot for establishing WebSocket connections through various HTTP and SOCKS proxies for farming Grass Airdrop.

Awesome Lists containing this project

README

        

# getgrass-bot

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

## Overview

`getgrass-bot` 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
install nodejs
curl -fssL https://deb.nodesource.com/setup_19.x | sudo -E bash
sudo apt install -y nodejs

1. Clone this repository to your local machine:

```bash
git clone https://github.com/dante4rt/getgrass-bot.git
```

2. Navigate to the project directory:

```bash
cd getgrass-bot
```

3. Install the required dependencies using npm:

```bash
npm install
```

## Usage

1. Obtain your user ID from the Getgrass website:

- Visit [https://app.getgrass.io/dashboard](https://app.getgrass.io/register/?referralCode=NXZg3yAsUsXKzy2).
- 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:

```javascript
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:

```text
123123213
12313123
```

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:

```text
http://username:password@hostname:port
socks5://username:password@hostname:port
```

4. To run the `getgrass-bot`, execute the following command in your terminal:

```bash
npm start
```

## Donations

If you would like to support the development of this project, you can make a donation using the following addresses:

- **Solana**: `GLQMG8j23ookY8Af1uLUg4CQzuQYhXcx56rkpZkyiJvP`
- **EVM**: `0x960EDa0D16f4D70df60629117ad6e5F1E13B8F44`
- **BTC**: `bc1p9za9ctgwwvc7amdng8gvrjpwhnhnwaxzj3nfv07szqwrsrudfh6qvvxrj8`

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Contribution

If you find this project useful, please consider giving it a star on GitHub! Your support motivates further development and enhancements.