broomez420 / TurtleFaucet

A faucet for the greatest cryptocurrency of all time (turtlecoin.lol) sitting at

Home Page:https://faucet.trtl.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quickly thrown together faucet. Currently set to give out 10TRTLs a pop. Limiting is set to 3 per day.

Running this

First make sure Turtlecoind is running and fully sync'd. Then start walletd with these args: /path/to/walletd -w walletname -p walletpass -d

pip3 install -r requirements.txt You'll need to create a file called 'faucet.ini'. The file should look like this:

[uwsgi]
module = wsgi:app
protocol=http
http-socket = :9090
master = true
processes = 1

vacuum = true

die-on-term=true

#environment
env=RECAPTCHA_PUBLIC_KEY={KEY_FROM_GOOGLE}
env=RECAPTCHA_PRIVATE_KEY=KEY_FROM_GOOGLE}
env=SECRET_KEY={random_string}
env=WTF_CSRF_SECRET_KEY={random_string}
env=FAUCET_ADDR={address_to_deposit_to}

#logging
logger = /path/to/errlog.log
re-logger = /path/to/reqlog.log

After that, run

python3 -c 'from serve import db;db.create_all()'

then uwsgi --ini faucet.ini. Make sure you have turtlecoind and simplewallet running. I left in the google analytics because I couldn't find a way to add that at deployment. Enjoy :)

About

A faucet for the greatest cryptocurrency of all time (turtlecoin.lol) sitting at

https://faucet.trtl.me

License:GNU General Public License v3.0


Languages

Language:Python 42.1%Language:HTML 29.3%Language:JavaScript 22.5%Language:CSS 6.1%