This repository was archived by the owner on Jun 27, 2019. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork9
Simple Zcash faucet built with Node.
License
NotificationsYou must be signed in to change notification settings
super3/zfaucet
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
NOTE: The service we used for cryptocurrency mining (Coinhive) for this website shut down, so this no longer works. |
---|
Simple Zcash(ZEC) faucet built with Node.
InstallZcash
Use theZcash Debian binary packages install guide. TheZcash 1.0 User Guide has additional information if needed. You will have to fully sync the node before you can send any payments.
sudo apt-get install apt-transport-httpswget -qO - https://apt.z.cash/zcash.asc| sudo apt-key add -echo"deb [arch=amd64] https://apt.z.cash/ jessie main"| sudo tee /etc/apt/sources.list.d/zcash.listsudo apt-get update&& sudo apt-get install zcash
InstallRedis
wget http://download.redis.io/releases/redis-4.0.9.tar.gztar xzf redis-4.0.9.tar.gzcd redis-4.0.9makesrc/redis-server
Clone the repo.
git clone https://github.com/ovsoinc/zfaucetcd~/zfaucetnpm install
Save this under~/zfaucet/.env
.
RPCUSER=[Zcash RPC Username]RPCPASS=[Zcash RPC Password]PORT=[Webserver Port]COINHIVEPUBKEY=[Coinhive Public Key]COINHIVEPRIVKEY=[Coinhive Private Key]WITHDRAWTHRESHOLD=[Coinhive Hashes Needed to Withdraw]
Run withPM2.
npm install pm2 -gpm2 start process.json
We run this as a crontab*/5 * * * * ~/script.sh
every 5 minutes.
#!/usr/bin/env shcd~/zfaucetgit fetch&& git reset --hard origin/master
node admin external new-key
node admin external list-keys
super3 | montyanderson | marktellez |