Skip to content

wordpressers/eth-faucet

 
 

Repository files navigation

eth-faucet

Greenkeeper badge

configure: edit config.js to have your config details. first namespace is used in docker-compose.yml.

cp config.js.example config.js

development:

The npm start script runs node server.js, which runs browserify once on startup on the app.js script. That means the basic approach to development requires restarting the server on each change to see the result.

Good thing it's a simple app!

Will not work without a config.js file specified. You can run it with ganache-cli by pasting one of your generated private keys into a file like this:

module.exports = {
  'ropsten': {
    'privateKey': '0xe2e5b850dd3974c6d296ccd69556fc2dc57484206b3411e5e3de1fc54f5afcf8',
    'rpcOrigin': 'http://127.0.0.1:8545'
  }
}

note:

our nonce tracking sucks, so we shutdown the faucet regularly

deploy:

docker-compose build && docker-compose stop && docker-compose up -d && docker-compose logs -f

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.8%
  • HTML 7.1%
  • Dockerfile 2.1%