Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

MetaMask/eth-faucet

Repository files navigation

eth-faucet

Greenkeeper badge

configure: create a config.js with private key and rpc endpoint. first namespace is used in docker-compose.yml.

cp config.js.example config.js

Or pass the environment variable FAUCET_CONFIG_LOCATION to the build step.

if you need more eth, dont build a spam bot

contact me or the Ethereum Foundation

development:

Running yarn setup will install and prepare dependencies.

Running yarn build will prepare the webapp.

Running yarn start starts the server.

Will not work without a config.js file. You can run it on a local testnet like 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:

the faucet regularly restarts to ensure its in a good state

deploy:

continuous deployment is setup via github actions and kubernetes

Releases

No releases published

Packages

No packages published