Skip to content

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

License

Notifications You must be signed in to change notification settings

krruzic/TurtleFaucet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quickly thrown together faucet. Currently set to give out 1 TRTL 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 faucet 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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published