Skip to content

lol-my-id/nano-faucet-backend

Repository files navigation

nano.lol.my.id

This is the backend of nano.lol.my.id, a NANO/BAN/XDG faucet. It is written in Express with @decorators/express and uses MongoDB as a database.

The frontend can be found here

It is a pretty bold move to open-source a backend (it's over for me if anyone finds a vulnerability), but I believe that the community can benefit from it. If you want to support me, you can donate to the faucet or to my NANO address: nano_1iykwbzepxjqizaicq4mqsgs3bqsagwnr91dqtx63phudbo8mwqewyokk9ek

Technologies

Name Description
Node.js JavaScript runtime
TypeScript JavaScript superset
Express Web framework
@decorators/express Express decorators
MongoDB NoSQL database
Mongoose MongoDB object modeling
hCaptcha CAPTCHA service

Supported cryptocurrencies

Features

Faucet

  • Claim NANO, BAN, or XDG every 45 minutes
  • Anti-bot protection (hCaptcha)

Referral system

  • Invite friends to earn 20% of their claims
  • Referral link with unique code
  • Referral statistics
  • Payouts to referrers

Installation

  1. Clone the repository
  2. Install dependencies
npm install
  1. Rename .env.example to .env and fill in the required values
  2. Start the server as dev:
npm run dev

as prod:

npm run build
npm start

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Backend for the nano.lol.my.id NANO faucet written in TypeScript using express, express decorators and mongoose

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published