create account

Recipe: Claim Hive account tokens automatically by emrebeyler

View this thread on: hive.blogpeakd.comecency.com
· @emrebeyler · (edited)
$63.75
Recipe: Claim Hive account tokens automatically
[infestor](https://github.com/emre/infestor) is a command-line application to claim and create discounted STEEM accounts. If your stake is around 2.5k/3k HP level, you can claim discounted accounts (this resource credit requirement may change) in a periodical base.

*I set this automation a couple of times for different accounts. Writing this quick recipe to remember in the future. :)*

<center>![](https://i.imgur.com/P3pqTDl.png)</center>
***
#### Requirements
***

- A server (Preferably Linux)


#### Installation
***
```
$ git clone git@github.com:emre/infestor.git
$ cd infestor
$ docker build -t infestor .
```
***

Now, infestor is installed in docker level and you can run any command with the `docker run -t infestor <sub_command>` syntax. 

#### Usage
***
To claim an account token:

***

```
$ docker run  -e INFESTOR_ACTIVE_KEY=<active_key> \
			  -t infestor claim_account --creator emrebeyler --minimum-rc 80
```

***
Output:
***
```
> Fetching RC details of emrebeyler
> emrebeyler has 140 pending claimed accounts. >  Claiming an account currently requires 4662831MM mana.
> emrebeyler has 91282493MM mana available and can claim 19 more accounts.
> Success! emrebeyler now has 141 pending claimed accounts.
```
***

`creator` is the creator account, `--minimum-rc` is the minimum RC level in percent to complete the operation. 

#### Schedule a job to run the infestor 
***

- `$ crontab -e`
- Add a new line

```*/5 * * * * /bin/bash  INFESTOR_ACTIVE_KEY=<active_key> /home/innerhive/environments/infestor-env/bin/infestor claim_account --creator innerhive --minimum-rc 90```

Save and exit.

Now, every five minutes, your RC will be checked automatically. If it's greater than 90%, it will claim an account token.

#### Support my witness
***
*Consider casting a witness vote  for me on [Hivesigner](https://hivesigner.com.com/sign/account-witness-vote?witness=emrebeyler&approve=1) or on [PeakD](https://peakd.com/witnesses)*
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 218 others
👎  ,
properties (23)
authoremrebeyler
permlinkrecipe-claim-hive-account-tokens-automatically
categorydevelopment
json_metadata{"tags":["infestor","python","lighthive"],"image":["https://i.imgur.com/P3pqTDl.png"],"links":["https://github.com/emre/infestor","https://hivesigner.com.com/sign/account-witness-vote?witness=emrebeyler&approve=1","https://peakd.com/witnesses"],"app":"hiveblog/0.1","format":"markdown"}
created2020-05-24 23:30:00
last_update2020-05-24 23:31:30
depth0
children7
last_payout2020-05-31 23:30:00
cashout_time1969-12-31 23:59:59
total_payout_value34.698 HBD
curator_payout_value29.054 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,949
author_reputation448,535,049,068,622
root_title"Recipe: Claim Hive account tokens automatically"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,569,851
net_rshares126,708,247,377,882
author_curate_reward""
vote details (284)
@chitty ·
I have picked your post for my daily hive voting initiative, Keep it up and Hive On!!
properties (22)
authorchitty
permlinkre-recipe-claim-hive-account-tokens-automatically-20200525t000337
categorydevelopment
json_metadata""
created2020-05-25 00:03:39
last_update2020-05-25 00:03:39
depth1
children1
last_payout2020-06-01 00:03:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length86
author_reputation86,901,300,608,582
root_title"Recipe: Claim Hive account tokens automatically"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,570,185
net_rshares0
@emrebeyler ·
Thanks mate.
properties (22)
authoremrebeyler
permlinkqavsy9
categorydevelopment
json_metadata{"app":"hiveblog/0.1"}
created2020-05-25 09:56:33
last_update2020-05-25 09:56:33
depth2
children0
last_payout2020-06-01 09:56:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length12
author_reputation448,535,049,068,622
root_title"Recipe: Claim Hive account tokens automatically"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,577,271
net_rshares0
@codingdefined ·
That's a great command line tool to have to automatically claim the tokens, now how to use these tokens if you are not creating additional accounts, is there a way to donate
properties (22)
authorcodingdefined
permlinkre-emrebeyler-2020525t6295215z
categorydevelopment
json_metadata{"tags":["infestor","python","lighthive"],"app":"esteem/2.2.5-mobile","format":"markdown+html","community":"hive-125125"}
created2020-05-25 00:59:54
last_update2020-05-25 00:59:54
depth1
children1
last_payout2020-06-01 00:59:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length173
author_reputation532,929,792,362,974
root_title"Recipe: Claim Hive account tokens automatically"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,570,777
net_rshares0
@emrebeyler ·
I create gift codes at https://accounts.hivekit.dev and share them with people :)
properties (22)
authoremrebeyler
permlinkqavmkj
categorydevelopment
json_metadata{"links":["https://accounts.hivekit.dev"],"app":"hiveblog/0.1"}
created2020-05-25 07:38:42
last_update2020-05-25 07:38:42
depth2
children0
last_payout2020-06-01 07:38:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length81
author_reputation448,535,049,068,622
root_title"Recipe: Claim Hive account tokens automatically"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,575,701
net_rshares0
@forykw ·
> discounted STEEM accounts

???
=)
👍  
properties (23)
authorforykw
permlinkre-emrebeyler-qavca8
categorydevelopment
json_metadata{"tags":["development"],"app":"peakd/2020.05.4"}
created2020-05-25 03:56:33
last_update2020-05-25 03:56:33
depth1
children1
last_payout2020-06-01 03:56:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length35
author_reputation93,070,587,174,835
root_title"Recipe: Claim Hive account tokens automatically"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,572,892
net_rshares2,240,720,700
author_curate_reward""
vote details (1)
@emrebeyler ·
That was the terminology back in the day. :)
properties (22)
authoremrebeyler
permlinkqavmj4
categorydevelopment
json_metadata{"app":"hiveblog/0.1"}
created2020-05-25 07:37:51
last_update2020-05-25 07:37:51
depth2
children0
last_payout2020-06-01 07:37:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length44
author_reputation448,535,049,068,622
root_title"Recipe: Claim Hive account tokens automatically"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,575,687
net_rshares0
@sergiomarquina ·
Thank you for this piece of code @emrebeyler. If you want to go fast go alone, if you want to go far go accompanied. Count on me to distribute your upvotes among great content creators and bring new upvotes for your witness.

Hive a nice day!

**The Hive Professor**
properties (22)
authorsergiomarquina
permlinkre-emrebeyler-qavy0w
categorydevelopment
json_metadata{"tags":["development"],"app":"peakd/2020.05.5"}
created2020-05-25 11:47:24
last_update2020-05-25 11:47:24
depth1
children0
last_payout2020-06-01 11:47:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length266
author_reputation690,496,725,025
root_title"Recipe: Claim Hive account tokens automatically"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,578,619
net_rshares0