npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mezcal-cli

v1.1.9

Published

The **mezcal-cli** is an interactive command‑line tool for managing a bitcoin mezcal wallet and interacting with Mezcal assets. It supports wallet generation, recovery, switching addresses, querying balances, transferring funds, minting and etching Mezcal

Readme

🌵 mezcal-cli

The mezcal-cli is an interactive command‑line tool for managing a bitcoin mezcal wallet and interacting with Mezcal assets. It supports wallet generation, recovery, switching addresses, querying balances, transferring funds, minting and etching Mezcal tokens, configuration management, and more.

🌵 Installation

  1. Install Node.js (v18 or higher).

  2. On your command line terminal, run:

    npm install -g mezcal-cli
  3. Youre all set! You can now use the mezcal command in your terminal. To view the commands you can call, run

    mezcal --help

🌵 Command Reference

The CLI command is invoked as mezcal. Below are the available commands along with usage examples:

Wallet Commands

  • Generate a New Address

    • Generates a new wallet address (or switches to the next index if a wallet already exists).
    • Usage:
      mezcal wallet generate
    • Example output shows the new wallet index and address.
  • Recover a Wallet

    • Recovers a wallet from a 12‑word mnemonic phrase.
    • Usage:
      mezcal wallet recover
    • Follow the prompts to enter your mnemonic phrase and set a password.
  • Reveal Mnemonic

    • Displays the mnemonic phrase for your active wallet.
    • Usage:
      mezcal wallet reveal
  • Show Wallet Info

    • Displays the current wallet address.
    • Usage:
      mezcal wallet info
  • Switch Wallet

    • Switches to another HD wallet index.
    • Usage:
      mezcal wallet switch <index>
    • Example:
      mezcal wallet switch 2
  • List Wallets

    • Lists all generated wallet addresses and their balances.
    • Usage:
      mezcal wallets

Balance & Transfer Commands

  • Balance

    • Display confirmed BTC and Mezcal balances for your wallet address.
    • Usage:
      mezcal balance
  • Transfer

    • Interactively build and broadcast BTC and/or Mezcal transfers.
    • Usage:
      mezcal transfer
    • Follow the interactive prompts to enter transfer details.

Mezcal Asset Commands

  • Mezcal Info

    • Shows metadata and the top holders for a Mezcal asset.
    • Usage:
      mezcal info <block:tx | mezcalName>
    • Example:
      mezcal info 859:1

= Discover mezcal =

  • Mezcal List

    • Lists all Mezcals on the network.
    • Usage:
      mezcal all <protocol>
  • Holders

    • Lists holders for a specific Mezcal asset.
    • Usage:
      mezcal holders <block:tx | mezcalName> [page]
    • Example:
      mezcal holders 859:1 3
  • Mint

    • Mint a Mezcal token that you have already etched (if mintable).
    • Usage:
      mezcal mint <block:tx | mezcalName>
    • Follows prompts for mint cost and confirmation.
  • Etch

    • Create a Mezcalstone etching and build a transaction.
    • Usage:
      mezcal etch
    • A guided wizard walks you through setting etching properties.

Configuration Commands

  • Set Configuration

    • Set Electrum API URL, Mezcals RPC URL, or Network (bitcoin | testnet | regtest).
    • Usage:
      mezcal config set --electrum <url> --mezcal <url> --network <env>
    • Example:
      mezcal config set --electrum https://regtest.anoa.io/api --network regtest
  • Show Configuration

    • Display the current Mezcals CLI configuration.
    • Usage:
      mezcal config show
    • You may also run:
      mezcal config

For more details or to report issues, please visit the GitHub Issue Tracker.