Website : https://faucet-testnet.firmachain.dev/
FirmaChain Faucet is a web service to obtain coins in testnet and devnet environments.
The coin provided should be used only for testing purposes. Also, we are not responsible for issues related to testnet/devnet coin.
WARNING: The coin obtained through faucet is not compatible with the coin of mainnet and has no value.
npm install
npm start:local
FAUCET_MNEMONIC='twist real vast bronze phrase impose million equip claim flight scatter embark nation thumb easy mother walk income talent better lesson horse arrest any'
Add site_key to .env.local (RECAPTCHA_SITEKEY)
RECAPTCHA_SITEKEY=8as9dfaasAAAKEflsefjJPk8wHPL4yGg6AHzfDh-
// line - 129
const reCaptchaSiteKey = process.env.REACT_APP_RECAPTCHA_SITEKEY;
// line - 218
const activateSendProcess = () => {
if(sendAddressInput === ''){
handleAlertOpen('Please fill in Address', 5000, 'error');
return;
}
if(sendAddressInput === nftMode.enable){
OptionActions.setNftMode(true);
return;
} else if(sendAddressInput === nftMode.disable){
OptionActions.setNftMode(false);
return;
}
// line - 232
// setOpenRecaptcha() => sendAddress()
setOpenRecaptcha(true);
}
// line - 367
{openRecaptcha &&
<ReCaptchaBox>
<ReCAPTCHA
style={{ display: "inline-block", height: '35px'}}
theme="light"
sitekey={reCaptchaSiteKey}
onChange={handleRecaptcha}
/>
</ReCaptchaBox>
}