Skip to content

Commit a008cd0

Browse files
author
hdbg
committed
feat(depinbot): documentation
1 parent 3b01df8 commit a008cd0

3 files changed

Lines changed: 124 additions & 3 deletions

File tree

src/SUMMARY.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Summary
2-
3-
[Common Options]()
42
[Terms of Service](./tos.toml)
53
# Projects
64
- [AutoBlur]()
75
- [BlurRing](./blurring.md)
6+
- [DepinBot](./depinbot.md)

src/chapter_1.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/depinbot.md

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
# DepinBot
2+
> **Status**: Active development
3+
## Description
4+
Optimized multi-tasked farming of popular DePIN projects.
5+
Has functions of:
6+
- Registering new accounts (including verification by email)
7+
- Farming a multitude of projects at once
8+
9+
## Requirements
10+
- Appropriate captcha service and it's respective API key
11+
- Emails with at least IMAP access
12+
- List of usernames
13+
- ISP or Residential proxies. It's also possible to use DC proxies, however they are usually detected by projects
14+
15+
## Getting Started
16+
First of all, you, as a user, should load accounts into database.
17+
Each accounts acts as identity for each and every of supported projects.
18+
This was done for ease of your's use: now each dashboard would require only one password!
19+
20+
This is done by setting up following three files:
21+
1. A list of usernames. Each line is a new username. Username **can't** include spaces.
22+
2. A list of `email:password` pairs. (e.g. `login_of_email@domain.name:password_of_email`)
23+
3. A list of proxies in the format of: \
24+
`<protocol>://<username>:<password>@<ip>:<port>` \
25+
In case proxy doesn't require authentication, you can omit whole `<username>:<password>@` part. (Note leading @ character)
26+
27+
Supported proxy protocols are as following:
28+
- `socks5`
29+
- `socks4`
30+
- `http` [^1]
31+
32+
Next, you should decided on groups of to-be inserted accounts.
33+
Groups are create for you to classify your accounts.
34+
For instance, you might load accounts in different batches.
35+
In this case, you would like to name each batch with date accounts were loaded.
36+
If you don't want\need this functionality, you can just use `default` group name.
37+
38+
[^1]: This protocol assumes proxy supports TCP tunneling with HTTP CONNECT directive. Forwarding proxies (from HTTP/1.1 spec) **are not** supported!
39+
40+
When you are done with settings files, you should create `config.toml` file.
41+
In this file, you specify path's to files with resources and group name:
42+
```toml
43+
group = "default"
44+
emails_file = "resources/emails.txt"
45+
proxies_file = "resources/proxies.txt"
46+
usernames_file = "resources/usernames.txt"
47+
```
48+
In this case, files have been placed in one directory.
49+
50+
### Loading accounts
51+
Once config is done, you can command bot to add accounts to the database.
52+
> netsharesoft accounts add
53+
54+
This command requires each amount of resources to match. For example, 10 proxies = 10 usernames = 10 emails.
55+
In case this condition doesn't hold, bot will notify it about you in the error.
56+
Optionally, you can bypass this and other verifications conditions with `-i` (ignore) flag:
57+
> netsharesoft accounts add -i
58+
59+
### Registration
60+
Now accounts have to be registered in the services.
61+
First of all, you need to specify which services to register, by specifying it in `config.toml`.
62+
As of now, each project requires a list of referral codes for registration. They are specified in separate file,
63+
and bot will select 1 ref code randomly form the list:
64+
```toml
65+
[[projects]]
66+
name = "grass"
67+
ref_codes_file = "resources/grass_refcodes.txt" # file has to exist at this location
68+
```
69+
70+
Of course you can specify multiple projects, so they would register simultaneously:
71+
```toml
72+
[[projects]]
73+
name = "grass"
74+
ref_codes_file = "resources/grass_refcodes.txt" # file has to exist at this location
75+
[[projects]]
76+
name = "dawn"
77+
ref_codes_file = "resources/dawn_refcodes.txt"
78+
[[projects]]
79+
name = "oasis"
80+
ref_codes_file = "resources/oasis_refcodes.txt"
81+
```
82+
For the full list of supported projects and their instructions, please consult the table at the beggininng of this documentation.
83+
84+
Secondly, you have to specify captcha service. Currently with support two providers:
85+
- Anticaptcha
86+
- Capsolver
87+
88+
It's advisable to use Anticaptcha if you are planning to use Dawn functionality. Workers there solve image-based captcha much better.
89+
90+
In `config.toml`, write next for capsolver. In case of AntiCaptcha, replace `capsolver` with `anticaptcha`
91+
```toml
92+
[captcha]
93+
captcha_service = "capsolver"
94+
key = "CAP-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" # Specify your key here
95+
```
96+
97+
Thirdly, IMAP and/or POP3 servers of your emails have to specified.
98+
Please consult documentation of your email provider. We can't know each and every server address beforehand.
99+
In a nutshell, you should find **address** and **port** for one or two of the protocols.
100+
Next, you specify them in `config.toml` like that:
101+
```toml
102+
[[email_servers]]
103+
domains = ["onet.pl", "op.pl"]
104+
imap = {domain = "imap.poczta.onet.pl", port = 993}
105+
pop3 = {domain = "pop3.poczta.onet.pl", port = 995} # This or previous line can be ommitted,
106+
# but at least one of them must be present
107+
108+
```
109+
110+
Lastly, command bot to start the process:
111+
> netsharesoft exec register
112+
113+
### Farm!
114+
After the registration, option to farm accounts becomes available.
115+
To launch this process, you have to configure:
116+
- Projects to farm
117+
- Captcha service to use (some services might require solving while running)
118+
119+
The good news is that those options are compatible with last step! You don't have to change anything.
120+
121+
> netsharesoft exec run
122+
123+
Relax and watch your bags growing!

0 commit comments

Comments
 (0)