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

nft-mint

v1.0.4

Published

CLI tool for bulk NFT minting with batch processing and transaction logging

Readme

NFT Bulk Mint CLI

A production-ready command-line tool for bulk minting NFTs on Ethereum-compatible blockchains.

Quick Install

# Install globally via npm
npm install -g nft-mint

# Or run directly with npx
npx nft-mint --help

Features

  • Batch Minting: Automatically divides large mint quantities into manageable batches
  • Multi-Network Support: Works with any EVM-compatible blockchain (Ethereum, Polygon, Base, Arbitrum, etc.)
  • Progress Tracking: Real-time progress bar and detailed transaction logs
  • Comprehensive Logging: All minting details saved to mint-log.json
  • Error Handling: Graceful error handling with retry options
  • Security: Private key support via CLI or .env file (never committed)

Usage

Basic Usage

# Mint 1 NFT
nft-mint --contract 0x1234567890abcdef1234567890abcdef12345678

With Environment Variables

Create a .env file:

cp .env.example .env

Edit .env with your settings:

PRIVATE_KEY=0xyour_private_key_here
RPC_URL=https://eth.llamarpc.com

Then run:

nft-mint --contract 0x1234567890abcdef1234567890abcdef12345678 --quantity 100

Full Command Examples

# Mint 100 NFTs
nft-mint --contract 0xCONTRACT_ADDRESS --quantity 100 --rpc https://eth.llamarpc.com

# Skip confirmation (for automation)
nft-mint --contract 0xCONTRACT --quantity 50 --no-confirm

# Custom RPC URL
nft-mint --contract 0xCONTRACT --rpc https://polygon-rpc.com --quantity 25

# Specify gas limit
nft-mint --contract 0xCONTRACT --quantity 5 --gasLimit 100000

Command-Line Options

| Flag | Short | Description | Default | |------|-------|-------------|---------| | --contract | -c | NFT contract address (required) | - | | --quantity | -q | Number of NFTs to mint | 1 | | --privateKey | -k | Wallet private key | from .env | | --rpc | -r | RPC URL | from .env | | --batchSize | -b | Max NFTs per batch | 10 | | --mintAmount | -m | NFTs per mint call | 1 | | --gasLimit | -g | Gas limit per transaction | auto | | --no-confirm | - | Skip confirmation | false |

Output Example

╔═══════════════════════════════════════════════════════════╗
║         🚀 NFT Bulk Minting CLI - Production Ready        ║
╚═══════════════════════════════════════════════════════════╝

📋 Configuration:
────────────────────────────────────────
  Contract:     0x1234567890abcdef1234567890abcdef12345678
  Quantity:     100 NFTs
  Batch Size:   1 per tx
  Wallet:       0x742d35Cc6634C0532925a3b844Bc9e7595f8fC71
  Network:      https://eth.llamarpc.com
────────────────────────────────────────

💰 Wallet Balance: 0.5 ETH

🔄 Connecting to contract...

✓ Connected to contract successfully!

Minting Progress: |████████████| 100% | 100/100 batches

╔═══════════════════════════════════════════════════════════╗
║                    ✅ MINTING COMPLETE                     ║
╚═══════════════════════════════════════════════════════════╝

📊 Summary:
────────────────────────────────────────
  Total Batches:     100
  Total NFTs Minted: 100
  Total Gas Used:    15000000 units

📝 Logs saved to: mint-log.json

Log File

All minting transactions are logged to mint-log.json:

[
  {
    "timestamp": "2024-01-15T10:30:00.000Z",
    "batchNumber": 1,
    "quantityMinted": 1,
    "transactionHash": "0xabc123...",
    "blockNumber": 12345678,
    "gasUsed": "150000",
    "status": "success",
    "from": "0x742d...",
    "contract": "0x1234..."
  }
]

Supported Networks

  • Ethereum: https://eth.llamarpc.com
  • Polygon: https://polygon-rpc.com
  • Base: https://base.llamarpc.com
  • Arbitrum: https://arb1.arbitrum.io/rpc
  • Optimism: https://mainnet.optimism.io

Security Notes

  • Never commit your .env file - it's already in .gitignore
  • Use a separate wallet for minting - don't use your main wallet
  • Test first on testnet before mainnet

License

MIT

Author

Deji-Tech