Giter VIP home page Giter VIP logo

banano-faucet's Introduction

Note: This project is archived! For a more up to date and cleaner version of the faucet, see Faucet-v2

Hello! This is the code (under MIT License, so feel free to fork, I'd appreciate it if you credit me though) for the banano, nano, and xdai faucet at https://faucet.prussia.dev

Just forked this? Interested in making your own faucet? Follow the steps below

  1. Get a seed and put as a env variable 'seed', change the faucet address variable in index.js to the seed's
  2. Get a mongodb cluster (free) and put in the secret as env variable dbpass. Also change the mongodb connection string in database.js. And create hcaptcha account and change sitekey and add env variable secret
  3. Change the frequency and payout amount (these are variables) in index.js
  4. You probably want to change LOGO.png to your own
  5. Install packages, run index.js. Congratulations, you have your very own banano and nano faucet

Also, you can also add env variable privkey for the xdai faucet.

If you want something more customized, or perhaps don't have enough programming experience to execute the instructions above, you can hire me. https://prussia.dev/to/discord

banano-faucet's People

Contributors

stjet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

banano-faucet's Issues

IP Cache error when hcaptcha isnt completed

People will get an error for Last Claim Too Soon if they accidentally forget to do the captcha. I also heard that someone forgot to put in their address and they got the error which was kinda weird.

New Captcha

Migration from hcapcha -> captcha.prussia.dev needed. This will be a separate repo, for reasons detailed in the discord announcement.

Unexpected Token

(node:1733) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at IncomingMessage. (/home/runner/Banano-Faucet/node_modules/bananojs/app/scripts/bananode-api.js:73:33)
at IncomingMessage.emit (events.js:326:22)
at endReadableNT (_stream_readable.js:1241:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.