Author Topic: [Tapin] Python-based BitShares Faucet Released  (Read 1699 times)

0 Members and 1 Guest are viewing this topic.

Offline fx4all

  • Newbie
  • *
  • Posts: 11
    • View Profile
  • BitShares: FX4ALL

Offline ripplexiaoshan

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 2300
    • View Profile
  • BitShares: jademont
BTS committee member:jademont

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
It's my pleasure to publish the first python-based faucet for BitShares.

https://github.com/xeroc/tapin

It is API-compatible to the existing faucet and should play nicely with the wallet. All you need to do is deploy one at a (sub-)domain you control and redirect the wallet's faucet to that address.

Configuration

There is config-example.py that shows what has to go where as well as a config.py that is an example that works nicely with environmental variables together with heroku.

Deployment

It's uses a temporary SQLite database to store account names and prevent abuse. This database is created on the first query and nothing needs to be done extra. If you want to use a different SQL database you need to modify it in __init__.py.

Easy deployment is available through a heroku deploy button. It will ask you for all required data and automatically run and host it for you depending on the plan you are using.

Development

Currently, tapin is still very basic and I am looking for people that want to help improve it beyond what is here already. Help is welcome. If you need something very specify, drop me a line and we can find a way to get what you need.

https://steemit.com/bitshares/@xeroc/tapin-python-based-bitshares-faucet-released