Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/poanetwork/poa-faucet
POA Network faucet
https://github.com/poanetwork/poa-faucet
dapp ethereum ethereum-dapp ethereumjs nodejs
Last synced: 21 days ago
JSON representation
POA Network faucet
- Host: GitHub
- URL: https://github.com/poanetwork/poa-faucet
- Owner: poanetwork
- License: mit
- Created: 2017-07-05T12:30:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-08-08T14:59:08.000Z (over 2 years ago)
- Last Synced: 2024-05-09T21:51:21.619Z (9 months ago)
- Topics: dapp, ethereum, ethereum-dapp, ethereumjs, nodejs
- Language: SCSS
- Homepage: https://faucet.poa.network
- Size: 1.09 MB
- Stars: 57
- Watchers: 9
- Forks: 83
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Sokol POA Network faucet
### Building from source
1. Clone repository
` line and type your reCaptcha plugin secret in `data-sitekey` attribute. For more info, [see](https://developers.google.com/recaptcha/docs/verify?hl=ru)
```
git clone https://github.com/poanetwork/poa-faucet
```
2. Copy `config.json.example` to `config.json`
```
cp config.json.example config.json
```
2. Update config.json `./config.json` (see config.json with placeholders below)
3. Update `./public/index.html`: Find `
4. Install dependencies `npm install` from the project's root
5. Run faucet with `npm start`. Sokol POA Network faucet will be launched at `http://localhost:5000`### Server config.json (`./config.json`) with placeholders
```
{
"environment": "switcher between configurations: 'prod' or 'dev'",
"debug": "switch on/off server logs: true or false",
"Captcha": {
"secret": "reCaptcha plugin secret"
},
"Ethereum": {
"etherToTransfer": "The number of milliEther to be sent from the faucet. For example, 500",
"gasLimit": "Transaction gas limit, for example, 21000",
"prod": {
"rpc": "JSON RPC endpoint. For example, https://core.poa.network",
"account": "The address from which the funds will be drained",
"privateKey": "Private key of the account"
},
"dev": {
...
}
}
}