Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
Profanity
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Profanity
Commits
4266f1b9
Commit
4266f1b9
authored
Aug 14, 2023
by
GG4mida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: fix some device run error & docs upgrade
parent
7782dba8
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
11 deletions
+21
-11
.github/workflows/release.yml
.github/workflows/release.yml
+1
-1
Dispatcher.cpp
Dispatcher.cpp
+1
-1
README.md
README.md
+13
-4
dist/README.md
dist/README.md
+2
-1
dist/start.bat
dist/start.bat
+1
-1
help.hpp
help.hpp
+2
-2
kernel_sha256.hpp
kernel_sha256.hpp
+1
-1
No files found.
.github/workflows/release.yml
View file @
4266f1b9
...
...
@@ -35,7 +35,7 @@ jobs:
with
:
artifacts
:
"
${{
github.workspace
}}/dist/windows.zip"
token
:
${{ secrets.GH_TOKEN }}
tag
:
v2.
1
.0
tag
:
v2.
2
.0
draft
:
true
allowUpdates
:
true
replacesArtifacts
:
true
\ No newline at end of file
Dispatcher.cpp
View file @
4266f1b9
...
...
@@ -251,7 +251,7 @@ void Dispatcher::run()
std
::
cout
<<
std
::
endl
;
std
::
cout
<<
"Running..."
<<
std
::
endl
;
std
::
cout
<<
" Before using a generated vanigity address, always verify that it matches the printed private key."
<<
std
::
endl
;
std
::
cout
<<
" Before using a generated vanigity address,
pls
always verify that it matches the printed private key."
<<
std
::
endl
;
std
::
cout
<<
" Please make sure the program you are running is download from: https://github.com/GG4mida/profanity-tron"
<<
std
::
endl
;
std
::
cout
<<
" And always multi-sign the address to ensure account security. "
<<
std
::
endl
;
std
::
cout
<<
std
::
endl
;
...
...
README.md
View file @
4266f1b9
...
...
@@ -87,13 +87,17 @@ Fbi Warning:
| ---- | ---- |
|--help|查看帮助说明|
|--matching|固定写法,后面跟上匹配规则文件|
|--prefix-count|最少匹配前缀位数,默认 0。
比如你可以配置为 8,那就匹配 8 个 T 的地址
|
|--suffix-count|最少匹配后缀位数,默认 6。
比如你可以配置为 10,那就匹配 10 位的后缀(10位其实挺难的,估计要跑到天荒地老 :<)
|
|--prefix-count|最少匹配前缀位数,默认 0。
最大可设置为 10
|
|--suffix-count|最少匹配后缀位数,默认 6。
最大可设置为 10
|
|--quit-count|生成的地址达到指定的数量,即退出程序。比如你就想匹配一个地址,那就配置为 1。系统默认退出数量为 120|
|--output|将生成的地址输出到文件(追加)。一行一个,格式如:privatekey,address|
|--post|将生成的地址,发送到(GET)指定的 url,每生成一条就会发送一次。数据格式为:privatekey=xx&address=yy。这个配置主要便于其它系统的集成|
|--skip|跳过指定索引的 gpu 设备,如启动软件出现异常,请使用此参数跳过设备集成显卡|
> 说明:对于 `--prefix-count` 和 `--suffix-count` 配置的值,大于该值的匹配号也会一并输出。
> 说明:首次运行软件,建议可先将 `--suffix-count` 设置为一个比较低的值(比如6位,6位容易出结果),观察是否有结果输出(有结果输出说明软硬件都是 ok 的)。不要一上来就设置一个比较大的值,对于比较大的值,有可能你跑一天都不会出结果,就会疑惑是软件的问题,还是确实太难了跑不出来。
### 匹配规则
> 目前 `--matching` 参数支持指定单个地址或一个文件。
...
...
@@ -101,13 +105,13 @@ Fbi Warning:
#### 单个地址
```
bash
./profanity
--matching
TUqEg3dzVEJNQSVW2HY98z5X8SBdhmao8D
--prefix-count
2
--suffix-count
4
profanity.exe
--matching
TUqEg3dzVEJNQSVW2HY98z5X8SBdhmao8D
--prefix-count
4
--suffix-count
4
```
#### 文件
```
bash
./profanity
--matching
profanity.txt
--prefix-count
2
--suffix-count
4
--quit-count
1
profanity.exe
--matching
profanity.txt
--prefix-count
0
--suffix-count
8
--quit-count
100
```
匹配文件里面,目前支持两种写法,可参考内置
`profanity.txt`
。举个例子:
...
...
@@ -177,6 +181,11 @@ TUqEg3dzVEJNQSVW2HY98z5X8SBdhmao8D
> 请不要纠结于对比各种设备、各种平台差异化的运行速度。没意义。
最后,再重点说一下:
-
理论上
`2.2亿 H/s`
左右的速度,跑 8 位的号码,可能一晚上出几个,也有可能一个都不出。
-
你如果想跑
`10`
位的靓号,不论是10连的后缀,还是前6后5,没个几天,估计你是跑不出来的。
## 验证
生成的私钥和地址务必进行匹配验证。验证地址:
[
https://secretscan.org/PrivateKeyTron
](
https://secretscan.org/PrivateKeyTron
)
...
...
dist/README.md
View file @
4266f1b9
## profanity-tron
-
`windows`
下可直接运行
`start.bat`
启动程式。
-
请自行编辑
`start.bat`
配置运行参数。
-
请参考项目
`README.md`
参数介绍,自行编辑
`start.bat`
配置软件运行参数。
-
关于软件运行速度,以及跑什么规则的号需要多长的时间等类似问题,请阅读
`README.md`
速度章节说明。
-
运行如果有问题,请联系作者:
[
@jackslowfak
](
https://t.me/jackslowfak
)
。
\ No newline at end of file
dist/start.bat
View file @
4266f1b9
profanity
.exe
-
-matching
profanity
.txt
-
-output
result
.txt
-
-
prefix-count
1
-
-suffix-count
6
-
-quit-count
8
profanity
.exe
-
-matching
profanity
.txt
-
-output
result
.txt
-
-
suffix-count
6
-
-quit-count
32
pause
\ No newline at end of file
help.hpp
View file @
4266f1b9
...
...
@@ -28,8 +28,8 @@ Examples:
./profanity --matching profanity.txt
./profanity --matching profanity.txt --skip 1
./profanity --matching profanity.txt --
prefix-count 1 --suffix-count 8
./profanity --matching profanity.txt --prefix-count
1 --suffix-count 10
--quit-count 1
./profanity --matching profanity.txt --
suffix-count 6
./profanity --matching profanity.txt --prefix-count
2 --suffix-count 6
--quit-count 1
./profanity --matching profanity.txt --output result.txt
./profanity --matching profanity.txt --post http://127.0.0.1:7002/api
./profanity --matching TUqEg3dzVEJNQSVW2HY98z5X8SBdhmao8D --prefix-count 2 --suffix-count 4 --quit-count 1
...
...
kernel_sha256.hpp
View file @
4266f1b9
...
...
@@ -129,7 +129,7 @@ void sha256(const uint len, const uchar *key, uchar *output) {
}
}
void ethhash_to_tronhash(const uchar *ethhash, uchar *tronhash) {
void ethhash_to_tronhash(
__global
const uchar *ethhash, uchar *tronhash) {
uchar hash0[21];
uchar hash1[32];
uchar hash2[32];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment