https://github.com/codechain-io/codechain-faucet
CodeChain testnet faucet
https://github.com/codechain-io/codechain-faucet
ccc codechain faucet
Last synced: 7 months ago
JSON representation
CodeChain testnet faucet
- Host: GitHub
- URL: https://github.com/codechain-io/codechain-faucet
- Owner: CodeChain-io
- License: apache-2.0
- Created: 2018-08-14T09:59:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:14:58.000Z (about 3 years ago)
- Last Synced: 2025-07-04T21:07:11.626Z (7 months ago)
- Topics: ccc, codechain, faucet
- Language: JavaScript
- Homepage: https://corgi.codechain.io/faucet
- Size: 2.92 MB
- Stars: 16
- Watchers: 6
- Forks: 6
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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
```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`