- Clone repository
- Update config.json
./config.json
(see config.json with placeholders below) - Update
./public/index.html
: Find<div class="g-recaptcha" data-sitekey="type your reCaptcha plugin secret here"></div>
line and type your reCaptcha plugin secret indata-sitekey
attribute. For more info, see npm install
from project's root- cd
./public
npm install
npm run sass
npm run coffee
- Go to project's root and run
npm start
. Sokol POA Network faucet will be launched athttp://localhost:5000
{
"environment": "switcher between configurations: 'live' or 'dev'",
"debug": "switch on/off server logs: true or false",
"Captcha": {
"secret": "type your reCaptcha plugin secret here"
},
"Ethereum": {
"etherToTransfer": "type amount of Ether to be sent from faucet here, for example 0.5",
"gasLimit": "type Ethereum transaction gas limit here, for example, 0x7b0c",
"live": {
"rpc": "type Ethereum RPC address here, for example http://127.0.0.1:8545",
"account": "type sender address here, for example, 0xf36045454F66C7318adCDdF3B801E3bF8CfBc6a1",
"privateKey": "type private key of sender here, for example, 54dd4125ed5418a7a68341413f4006256159f9f5ade8fed94e82785ef59523ab"
},
"dev": {
...
}
}
}