Skip to content

CandyShoppers/token-faucet-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running webapp (locally)

Setup Env

python3 -m virtualenv env
env/bin/pip install -r requirements.txt

Running

export ETHERUM_SERVICE_URL=https://token-eth-service.herokuapp.com
export FAUCET_ADDRESS=0x....
export FAUCET_PRIVATE_KEY=0x....
env/bin/flask run --host=0.0.0.0 --port=4000

Running on heroku

heroku buildpacks:add https://github.com/debitoor/ssh-private-key-buildpack.git
heroku buildpacks:add heroku/python

heroku config:set SSH_KEY=$(cat path/to/your/keys/id_rsa | base64)
heroku config:set ETHEREUM_SERVICE_URL=https://token-eth-service.herokuapp.com
heroku config:set FAUCET_ADDRESS=0x....
heroku config:set FAUCET_PRIVATE_KEY=0x...

git push heroku master
heroku ps:scale web:1

About

Simple app to provide an ethereum testnet faucet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 56.2%
  • HTML 43.8%