Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

CodeChain-io/codechain-faucet

Open more actions menu

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

Contributors 5

Morty Proxy This is a proxified and sanitized view of the page, visit original site.