/nodepay-bot

https://app.nodepay.ai/register?ref=ffWdlWvILxU2eSW

Primary LanguageJavaScript

image

Auto ping bot for NodePay, with multi accounts and multi proxies support.

https://app.nodepay.ai/

手把手中文使用教程 | TG Channel: https://t.me/+ntyApQYvrBowZTc1

Features

  • Multi accounts support.
  • Multi proxies support.
  • Auto ping every 6 minutes.
  • Parallel ping with multi accounts and multi proxies.
  • Auto retry when the connection is lost.

Usage

The nodepay-bot can be run using Docker or manually.

Get your user ID

you can obtain your user ID from the nodepay website:

  • Visit https://app.nodepay.ai
  • Open the 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:
copy(localStorage.getItem('np_token'));
  • Copy the value returned, which is your user ID.

Prepare proxies

You can buy proxies from ProxyCheap or any other proxy provider.

It seems that the official has restricted that a maximum of 10 nodes are valid for one account. So please don't configure too many proxies for each account. It is recommended to have a maximum of 10.

Running the Bot with Docker (not ready)

  1. Create a text file named tokens.txt with your copied np_token.
  2. Create a text file named proxies.txt with the desired proxy URLs. Ensure each URL is in the format:
http://username:password@hostname1:port
http://username:password@hostname2:port
// or
socks5://username:password@hostname1:port
socks5://username:password@hostname2:port

Note: You can use HTTP or SOCKS5 proxies, and you can config with multiple proxies in the proxies.txt file (one proxy per line).

  1. Run the nodepay-bot using Docker:

Single Accounts

docker run -d \
  -v $(pwd)/tokens.txt:/app/tokens.txt \
  -v $(pwd)/proxies.txt:/app/proxies.txt \
  overtrue/nodepay-bot

Multi Accounts

If you have multiple accounts, you can create a tokens.txt file with the following format:

eyJh...
eyJi...

and create a dir named proxies/N.txt with the following structure, N is the account index, starting from 1,

for example, if you have 3 accounts, you should create 3 proxies files:

proxies/1.txt
proxies/2.txt
proxies/3.txt

Note: You can use HTTP or SOCKS5 proxies, and you can config with multiple proxies in the proxies/N.txt file (one proxy per line).

It seems that the official has restricted that a maximum of 10 nodes are valid for one account. So please don't configure too many proxies for each account. It is recommended to have a maximum of 10.

and run the bot with the following command:

docker run -d \
  -v $(pwd)/tokens.txt:/app/tokens.txt \
  -v $(pwd)/proxies:/app/proxies \
  overtrue/nodepay-bot

Check running stats

# get containerid
docker ps

# show logs of containerid
docker logs -f <containerid>

Manual Installation

You need to have Node.js installed on your machine to run the bot manually.

  1. Git clone this repository to your local machine.
git clone git@github.com:web3bothub/nodepay-bot.git
  1. Navigate to the project directory.
cd nodepay-bot
  1. Create a text file named tokens.txt with your copied np_token.
  2. Create the proxies.txt file with the desired proxy URLs. Ensure each URL is in the format:
http://username:password@hostname1:port
http://username:password@hostname2:port
// or
socks5://username:password@hostname1:port
socks5://username:password@hostname2:port

Note: You can use HTTP or SOCKS5 proxies, You can config with multiple proxies in the proxies.txt file (one proxy per line).

It seems that the official has restricted that a maximum of 10 nodes are valid for one account. So please don't configure too many proxies for each account. It is recommended to have a maximum of 10.

  1. Run the nodepay-bot by executing the following command:
npm run start
  1. If you want to run the bot in the background, you can use the pm2 package:
npm install -g pm2
pm2 start app.js

Note

  • Run this bot, I don't guarantee you will get the reward, it depends on the Getgrass website.
  • You can just run this bot at your own risk, I'm not responsible for any loss or damage caused by this bot. This bot is for educational purposes only.

Contribution

Feel free to contribute to this project by creating a pull request.

Support Me

if you want to support me, you can donate to my address:

  • TRC20: TMwJhT5iCsQAfmRRKmAfasAXRaUhPWTSCE
  • ERC20: 0xa2f5b8d9689d20d452c5340745a9a2c0104c40de
  • SOLANA: HCbbrqD9Xvfqx7nWjNPaejYDtXFp4iY8PT7F4i8PpE5K
  • TON: UQBD-ms1jA9cmoo8O39BXI6jqh8zwRSoBMUAl4yjEPKD6ata