Self-hosted Node.js BitcoinZ Giveaway Tool. Test phase for the gateway with login.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_design_docs
controllers
docs
models
tests
utils
.gitignore
LICENSE.md
README.md
UPDATES.md
btcz-give.js
config.js.dev
deploy-design-docs.js
package-lock.json
package.json
smoke-test.js
worker.js
worker2.js
worker3.js

README.md

BTCz-Give (v0.1.2 beta)

Self-hosted Node.js BitcoinZ Giveaway Tool.

Test phase for the gateway with login.

Installation

Install nodejs 8.x

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install nodejs libzmq3-dev

Clone & install project:

git clone https://github.com/MarcelusCH/BTCz-Give && cd BTCz-Give
npm install
cp config.js.dev config.js

Install & configure Couchdb:

sudo apt-get install couchdb
curl -s -X PUT http://localhost:5984/_config/admins/User_Name -d '"Pass_Word"'
curl -u User_Name -X PUT localhost:5984/btczgive

Edit config.js:

  • Point it to a new Couchdb database
  • Point it to a BitcoinZ Core RPC server
  • Add tmp wallet with founds for speed payment

Running

nodejs btcz-give.js
nodejs worker.js
nodejs worker2.js
nodejs worker3.js

(For production use pm2)

Open http://localhost:2222 in browser, you should see the website sample. That's it, ready to use.

License

MIT

Author

Marcelus (BTCZ community)

TODO

  • Aggregate funds on final (aggregational) address.
  • TBD

UPDATES

Version 0.1.2 (beta)

  • Corrected Welcome eMail
  • Corrected Giveaway stats
  • Rewrite some code parts

Version 0.1.1 (beta)

  • Updated Login issue (eMail sensitive case)
  • Added Readme in the github