How to build a faucet CLI using NodeJS 🚀

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • Inquirer.js

    A collection of common interactive command line user interfaces.

    Let's install a package called inquirer which is used to prompt the user for input. We would be using this package to prompt the user to open the browser or not.

  • Express

    Fast, unopinionated, minimalist web framework for node.

    express, to start a local server at port 9991 to handle the authentication.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • opn

    Open stuff like URLs, files, executables. Cross-platform.

    open, to open links in the browser from the cli.

  • chalk

    🖍 Terminal string styling done right

    chalk, to colorize the console output.

  • dotenv

    Loads environment variables from .env for nodejs projects.

    dotenv, to read the environment variables from the .env file

  • faucetli

    🦄 A command line tool to get tokens on testnets quickly!

    GitHub repo: https://github.com/Kira272921/faucetli

  • thw-faucet-cli

    🌈 A command-line tool to quickly get testnet tokens right from your terminal with metamask authentication!

    GitHub: https://github.com/Kira272921/thw-faucet-cli

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • vercel

    Develop. Preview. Ship.

    Let's deploy the frontend on Vercel. If you are building a Next.js application and want to deploy it, Vercel is the best option in my opinion.

  • templates

    Railway starters (by railwayapp)

    We would be deploying the backend on Railway. Create a new project and select "Deploy from GitHub repo"

  • metamask-extension

    :globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites

    To install the metamask extension, go ahead to https://metamask.io and install the extension.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts