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 🙏

© 2025 – Pkg Stats / Ryan Hefner

ff-mint-bot

v1.0.4

Published

Multi-threaded CLI program for parallel Solana minting operations

Readme

FF Mint Bot - Multi-Threaded Solana Minting CLI

A powerful Node.js CLI tool for parallel Solana minting operations across multiple accounts.

Features

  • Parallel Processing: Run multiple accounts simultaneously with configurable thread limits
  • Smart Network Detection: Auto-detects network-specific LUT addresses
  • Real-time Monitoring: Live status updates and detailed reporting
  • Flexible Configuration: Support for custom RPC endpoints, mint addresses, and URC codes
  • Account Filtering: Run specific accounts or all accounts from keyfile
  • Balance Monitoring: Prevent failed transactions with automatic balance checks
  • Export Capabilities: Export account status to CSV for analysis
  • Global CLI: Install once and use anywhere without downloading source code

Installation

Global Installation (Recommended)

# Install globally from npm
npm install -g ff-mint-bot

# Or install from local package
npm install -g .

Development Installation

npm install
npm run build
npm link  # Create global symlink for development

Publishing to NPM

# Build the project
npm run build

# Login to npm (first time only)
npm login

# Publish to npm
npm publish

# After publishing, users can install globally:
npm install -g ff-mint-bot

Usage

Start Minting

# Basic usage - mint for all accounts
ff-mint-bot mint --mint C8mY9UzzDiLgiGJX789osFVoh4L3CSDqfsPfg6fLdk6s --urc FF06_URC

# With custom parameters
ff-mint-bot mint \
  --key-pairs ./keypairs/accounts.pri \
  --mint C8mY9UzzDiLgiGJX789osFVoh4L3CSDqfsPfg6fLdk6s \
  --urc FF06_URC \
  --rpc http://127.0.0.1:8899 \
  --interval 30 \
  --threads 10

# Mint for specific account only
ff-mint-bot mint --mint C8mY9UzzDiLgiGJX789osFVoh4L3CSDqfsPfg6fLdk6s --urc FF06_URC --account-id 5

# Network-specific examples
ff-mint-bot mint --mint C8mY9UzzDiLgiGJX789osFVoh4L3CSDqfsPfg6fLdk6s --urc FF06_URC --rpc https://api.mainnet-beta.solana.com

Check Account Status

# Basic status check
ff-mint-bot status

# With custom RPC and mint address for token balance
ff-mint-bot status --rpc https://api.devnet.solana.com --mint C8mY9UzzDiLgiGJX789osFVoh4L3CSDqfsPfg6fLdk6s

# Export status to CSV
ff-mint-bot status --export
ff-mint-bot export --mint C8mY9UzzDiLgiGJX789osFVoh4L3CSDqfsPfg6fLdk6s

# Show help
ff-mint-bot --help
ff-mint-bot mint --help
ff-mint-bot status --help

Command Reference

mint Command

Start parallel minting operations for all accounts.

Required Parameters:

  • -m, --mint <mint>: Token mint address
  • -u, --urc <urc>: URC code

Optional Parameters:

  • -k, --key-pairs <file>: Path to private key file (default: ./keypairs/accounts.pri)
  • -i, --interval <seconds>: Interval between mints per account (default: 30)
  • -a, --account-id <number>: Process specific account ID only
  • -r, --rpc <rpc>: RPC endpoint URL (default: http://127.0.0.1:8899)
  • -l, --lut <address>: LUT address (auto-detected by network)
  • -t, --threads <number>: Number of parallel threads (default: 10)

status Command

Display current status of all accounts including balances and activity.

Parameters:

  • -k, --key-pairs <file>: Path to private key file (default: ./keypairs/accounts.pri)
  • -r, --rpc <rpc>: RPC endpoint URL (default: http://127.0.0.1:8899)
  • -m, --mint <mint>: Token mint address (for token balance check)
  • --export: Export status to CSV file

export Command

Export account status to CSV file.

Parameters:

  • -k, --key-pairs <file>: Path to private key file (default: ./keypairs/accounts.pri)
  • -r, --rpc <rpc>: RPC endpoint URL (default: http://127.0.0.1:8899)
  • -m, --mint <mint>: Token mint address (for token balance check)

Network-Specific LUT Addresses

The CLI automatically detects the correct LUT address based on the RPC endpoint:

  • Localnet: 4L1wqXysMmpNqDqoVXpJexEv24upTp4TUcgoPsDLmsjf
  • Devnet: EebRqpLtUgjX17pJJNNbd6ngtYa34VGa51oYsibwJRXy
  • Mainnet: 7DK7pmNkUeeFB3yxt6bJcPCWcG4L3AdCe2WZaBguy9sq

You can override the LUT address with --lut parameter.

Key File Format

The private key file should be in CSV format with the following columns:

public_key,private_key_bs58,private_key_array
FhGn4TJykwL6tKmMkq19dZmV5XAdNcGUVWUA3Edfpf5x,5NyFiYrR2sd1V42kbhP3qK7pzacigfb5wQ7X8YFMA8cmo2mfoA1JwerqZbRxmgsnxAEfC2QQ59cKz9cyx5vkQ8Jr,[219,3,149,34,101,166,169,78,74,164,106,121,190,106,127,65,114,99,4,46,20,22,119,9,108,112,197,237,212,98,2,202,218,84,176,53,136,209,155,186,75,11,48,232,68,117,202,70,195,236,163,46,69,126,7,168,177,71,123,15,10,23,45,239]

Development

# Start development mode
npm run dev

# Build for production
npm run build

# Run linting
npm run lint

# Format code
npm run format

# Clean build directory
npm run clean

Error Handling

The CLI includes comprehensive error handling:

  • Insufficient SOL: Automatically skips accounts with < 0.02 SOL
  • RPC Connection Issues: Provides clear error messages for connection failures
  • Invalid Parameters: Validates all required parameters before execution
  • Worker Failures: Gracefully handles worker thread failures

Monitoring

During minting operations, the CLI provides:

  • Real-time status updates every 30 seconds
  • Individual account progress tracking
  • Transaction hash logging for successful mints
  • Error reporting for failed operations
  • Automatic retry mechanisms for temporary failures