littlebot
Published on 2025-04-08 / 1 Visits
0

【源码】基于C++和OpenCL的波场地址生成器

项目简介

本项目是基于C++和OpenCL开发的波场(TRON)地址生成工具,借助GPU进行加速。该工具可用于生成波场加密货币的公钥和私钥,主要服务于学习和研究,仅允许合法使用,禁止用于任何非法活动。

项目的主要特性和功能

  • GPU加速:借助OpenCL框架,发挥GPU并行计算能力,显著提升地址生成速度。
  • 多平台支持:支持Windows、Mac和Linux操作系统。
  • 安全修复:修复原版程序私钥可爆破漏洞,增强安全性。
  • 多签支持:建议对生成地址进行多签操作,进一步提高安全性。
  • 命令行操作:提供丰富命令行参数,支持自定义匹配规则、输出文件和网络接口。

安装使用步骤

1. 下载项目

用户已下载本项目的源码文件。

2. 安装依赖

Windows

  • 下载并安装Visual Studio,确保安装了C++开发工具。
  • 安装NVIDIA显卡驱动。

Mac

下载源码后,直接运行make命令进行编译。

Linux

  • 安装CUDA驱动和g++编译器。
  • 下载源码后,解压并进入目录,运行以下命令进行编译: bash g++ Dispatcher.cpp Mode.cpp precomp.cpp profanity.cpp SpeedSample.cpp -I./Curl/include -I./OpenCL/include -o profanity.x64

3. 运行程序

Windows

  • 从Release页面下载发布包(window.zip),解压后运行start.bat
  • 根据需要编辑start.bat配置运行参数。

Mac

运行./profanity.x64 [OPTIONS]

Linux

运行编译后的可执行文件: bash ./profanity.x64 [OPTIONS]

4. 命令行参数

```bash Usage: ./profanity [OPTIONS]

Help: --help Show help information

Modes with arguments: --matching Matching input, file or single address.

Matching configuration: --prefix-count Minimum number of prefix matches, default 0 --suffix-count Minimum number of suffix matches, default 6 --quit-count Exit the program when the generated number is greater than, default 0

Device control: --skip Skip device given by index

Output control: --output The file to output the results to --post The url to post the results to ```

5. 示例

bash ./profanity --matching profanity.txt --prefix-count 1 --suffix-count 8

注意事项

  • 请从官方仓库下载并运行程序,避免使用来路不明的版本。
  • 生成的地址和私钥需进行匹配验证,建议进行多签操作提高安全性。
  • 该工具仅用于学习和研究,请勿用于非法用途。

下载地址

点击下载 【提取码: 4003】【解压密码: www.makuang.net】