Skip to content

The source code for the Legendary Faucet Bitcoin Faucet Google Colab

License

MIT and 2 other licenses found

Licenses found

MIT
LICENSE
MIT
COPYING
MIT
COPYRIGHT
Notifications You must be signed in to change notification settings

demining/freecoins-Google-Colab


Run freecoins-Google-Colab

https://colab.research.google.com/drive/1OShIMVcFZ_khsUIBOIV1lzrqAGo1gfm_?usp=sharing


This is the code for the site Legendary Faucet, a simple bitcoin faucet that pays out 0.00005BTC or more if I'm in a good mood.

If you want to use this as your own faucet, check out config.example.json for some values you'll need to change. Be sure to change things like the footer file (views/_footer.haml) and the ad files, either deleting them (and the references to them) or changing them to reflect your own ads.

Attribution to this source would be greatly appreciated if you use this as your own faucet. It's a fork of the code from mdszy so all the real credit should go to them.


How To Setup for Heroku

First sign up for Heroku. Download and install Heroku Toolbelt Launch Heroku toolbelt either in the directory you have your code in, or navigate to it. Now let's run the commands:

heroku login You will be asked for your email. Enter this. You will then be asked for your password. Enter this.

Excellent. Now let's play a game of git.

git init git add . git commit -m "foo"

Now create your app heroku create

Let's push! git push heroku master

Assuming everything went fine, now you need your database

heroku addons:add cleardb:ignite

If you get a message about verifying your account go to the verify page and enter credit card details. So long as you don't use paid services you will NOT be charged.

Now get your database location heroku config:get CLEARDB_DATABASE_URL You will see a bit long string that starts mysql: copy this

heroku config:add DATABASE_URL='' Obviously set the contents of the string to what you got from above. ALL OF IT!

If you want automatic payouts, set up a cron job somewhere that runs curl -F secret=yoursecret http://yourapp.herokuapp.com/payout

Donations

The faucet is purely non-profit for me, it's about giving back to the community. So I won't accept personal donations for this project. However please feel free to send to 1GNCie7qmDKvPHhHmVmqpYHkY689Xx3wkU and they will be added to The Legendary Faucet!

Code Climate Build Status Dependency Status Coverage Status tip for next commit Codeship Scrutinizer Code Quality

[Flattr this git repo](https://flattr.com/submit/auto?user_id=parttimelegend&url=https://github.com/PartTimeLegend/freecoins&title=Legendary Faucet Source&language=&tags=github&category=software)


Donation Address
BTC 1Lw2kh9WzCActXSGHxyypGLkqQZfxDpw8v
ETH 0xaBd66CF90898517573f19184b3297d651f7b90bf