Optional Flags
Flag | Description | Default Value |
---|---|---|
-chainname | Network name to display on the frontend | testnet |
-httpport | Listener port to serve HTTP connection | 8080 |
-interval | Number of minutes to wait between funding rounds | 1440 |
-payout | Number of Ethers to transfer per user request | 1 |
-proxycount | Count of reverse proxies in front of the server | 0 |
-queuecap | Maximum transactions waiting to be sent | 100 |
- Go (1.16 or later)
- Node.js
- Clone the repository and navigate to the app’s directory
git clone https://github.com/layeronly/faucet.git
cd onlyfaucet
- Bundle Frontend web with Rollup
npm run build
- Build binary application to run faucet
go build
export WEB3_PROVIDER=https://onlylayer.org
export PRIVATE_KEY=secret
./faucet
This project is licensed under the MIT License