Skip to content

CodeChain-io/codechain-faucet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b106574 · Sep 14, 2020
Aug 30, 2018
Sep 13, 2018
Mar 29, 2019
Aug 30, 2018
Nov 12, 2018
Sep 14, 2018
Sep 12, 2018
Aug 23, 2018
Aug 20, 2018
Aug 30, 2018
Sep 7, 2018
Aug 21, 2018
Jun 27, 2019
Aug 30, 2018
Sep 14, 2018
Aug 30, 2018
Jun 27, 2019
Aug 30, 2018
Aug 30, 2018
Sep 14, 2020

Repository files navigation

Faucet site

This site gives CCC to a user from a specific CodeChain account. This site request the user to authenticate using twitter.

Install

Run yarn install Run yarn run build

Config

You should set below fields in config/local.json

{
    "codechainURL": "http://127.0.0.1:8080",
    "twitterConsumerKey": "",
    "twitterConsumerSecret": "",
    "marketingText": "I love CodeChain",
    "recaptchaSiteKey": "",
    "recaptchaSecret": "",
    "blockExplorerURL": "http://127.0.0.1:3000",
    "faucetCodeChainAddress": "",
    "faucetCodeChainPasspharase": ""
}

Config your CodeChain account

To run this site, you need CodeChain platform address with sufficient CCC. Set faucetCodeChainAddress to your CodeChain platform address, and then set faucetCodeChainPasspharase to the passphrase you used when creating the faucetCodeChainAddress.

Run

Run NODE_ENV=production yarn run start

About

CodeChain testnet faucet

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published