https://github.com/krruzic/turtlefaucet
A faucet for the greatest cryptocurrency of all time (turtlecoin.lol) sitting at
https://github.com/krruzic/turtlefaucet
bitcoin cryptocurrency flask python turtlecoin
Last synced: 5 months ago
JSON representation
A faucet for the greatest cryptocurrency of all time (turtlecoin.lol) sitting at
- Host: GitHub
- URL: https://github.com/krruzic/turtlefaucet
- Owner: krruzic
- License: gpl-3.0
- Created: 2018-01-10T01:04:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:42:03.000Z (over 3 years ago)
- Last Synced: 2023-06-08T21:20:18.694Z (about 3 years ago)
- Topics: bitcoin, cryptocurrency, flask, python, turtlecoin
- Language: Python
- Homepage: https://faucet.trtl.me
- Size: 140 KB
- Stars: 14
- Watchers: 5
- Forks: 27
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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:
```ini
[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
```python
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 :)