8000 GitHub - xmrjun/nodepay
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

xmrjun/nodepay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodepay

一个用于自动化 Nodepay 空投交互的机器人,包括会话管理和带代理支持的 Ping 功能。

环境要求

  1. Node.js (版本 14 或更高)
  2. npm (Node 包管理器)

安装

开始使用 Nodepay 空投机器人:

  1. 克隆代码仓库:

    git clone https://github.com/xmrjun/nodepay
    cd nodepay
  2. 安装依赖:

    npm install

配置

在运行机器人之前,需要创建两个文本文件:

1. token.txt

获取您的 Bearer 令牌:

  1. 注册 Nodepay 账号

  2. 获取令牌

    • 在浏览器中打开 开发者工具(右键 > 检查 或 按 Ctrl+Shift+I)。

    • 进入开发者工具中的 控制台 标签。

    • 输入以下命令获取令牌:

      localStorage.getItem('np_webapp_token')

    image

  3. 将令牌粘贴到 token.txt 文件中

    • 在项目根目录中创建一个 token.txt 文件,并将令牌粘贴到文件中(每行一个令牌)。

示例 token.txt 文件内容:

ey...
ey...
ey...

proxy.txt 将您的代理信息添加到 proxy.txt 文件中。每行的格式如下:

host:port:username:password

运行机器人

要启动机器人,运行以下命令:

npm start

机器人将开始连接会话,发送 Ping 请求,并记录相关信息。

日志

机器人会记录状态和活动,包括:

每个会话(UID)的连接状态。

每个会话的 Ping 状态。

每个代理所使用的 IP 地址。

日志存储在 bot.log 文件中,也可以在控制台中查看。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0