[infestor update] Adding an airdrop feature to Steem accounts

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@emrebeyler·
0.000 HBD
[infestor update] Adding an airdrop feature to Steem accounts
<center><img src="https://steemitimages.com/p/C3TZR1g81UNaPs7vzNXHueW5ZM76DSHWEY7onmfLxcK2iPZP7xUgX7ew6iQA4kLF9kUR6ZUFws35JpoWaXbCP13VMZpme1gd1TwaNwuJdLF4VdytcNVvhdx?format=match&mode=fit"></center>

[infestor](https://github.com/emre/infestor) is a command line/web application to claim and create discounted STEEM accounts. If your stake is at least dolphin level, you can claim discounted accounts (this resource credit requirement may change) in a periodical base.

Also, you can create gift codes for account creation which can be used in the web interface.


<center><img src="https://steemitimages.com/p/pBMyo3B2Sao2EbuHAFTX1CNWMbam25xJGPs4sKmLS6XL7pYqMzg2Rqa9pbUkHvaWbTdTDwAeF56FERptkavtPWUpGWqQoVRzrrscHXQbCBgjmM8R7qdwvpGUD3jV39AWafxnF6hWXhdad1E9ckj1y8mPsN3ft9DTFcCNYmyCJn9C8xhL?format=match&mode=fit"></center>
<center><sup>See it online at [freeaccounts.dpoll.xyz](https://freeaccounts.dpoll.xyz)</sup></center>

# Airdrop support to Steemians

With the new version, it's now possible for STEEM accounts to login (+with SteemConnect) and get free gift codes based on the reputation level.

<img src="https://cdn.steemitimages.com/DQmYSimwLXkw5Rin3F9gDZUY95bTCiHbXzpZsQBRcE5CytG/Screen%20Shot%202018-12-24%20at%2011.31.27%20AM.png"> 

The witness name for the bonus and the minimum reputation requirement are both dynamic fields which can be set as environment variables with ```INFESTOR_MINIMUM_REP``` and ```INFESTOR_OPERATOR_WITNESS```.

After the login, if the user fulfills the requirements, they see a page includes the fresh gift codes:

<center><img src="https://cdn.steemitimages.com/DQmf4d4W3LKJHcUD72cQGbUMTmukivarypS4jwR9JqDhwCV/Screen%20Shot%202018-12-24%20at%2011.01.59%20AM.png"></center>

# Updating 

```pip install infestor --upgrade```

# New configuration fields

Make sure you have set these **new** environment variables:

| Key                   | Value                                                     |
|-----------------------|-----------------------------------------------------------|
| SC\_CLIENT\_ID           | Steemconnect application client id                       
| SITE_URL       | Website URL               |
| MINIMUM_REP | Minimum reputation to claim a free gift code|

# Running the web interface

```
$ gunicorn infestor.web:app
```

# Pull Requests and Commits

- [pull/4](https://github.com/emre/infestor/pull/4)
- [commit/b04be90](https://github.com/emre/infestor/commit/b04be90e263d8aede4fe000614b455445cde0924)
- [commit/2f1c69](https://github.com/emre/infestor/commit/2f1c697859f446abb366c38b097aabe9c4f66a88)

# Where can I get my free accounts?

I run an infestor instance at [freeaccounts.dpoll.xyz](https://freeaccounts.dpoll.xyz). However, currently, I have set the airdrop feature's minimum reputation to 90. 

Once I accumulate 100 discounted accounts (It's 89, at the moment), I will set it to a lower reputation figure, maybe around 55-60 (what do you think?) and distribute the accounts to Steemians. It will be announced later, on my feed.

# You have discounted accounts and want to run an infestor node yourself?

If you're interested in running an infestor node which feeds from your account, let me know. I can arrange a "one-click" install to [heroku](https://www.heroku.com/) which you just pass related environment variables and run the app.
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,