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

gas-mint-cli

v1.2.0

Published

Beautiful CLI tool for minting gas tokens on Auto-EVM network

Readme

🚀 Gas Mint CLI

A beautiful, interactive command-line tool for minting gas tokens on the Auto-EVM network. Built with React and Ink for a modern, visually appealing terminal experience.

Gas Mint CLI Version License

✨ Features

  • 🎨 Beautiful UI - Modern terminal interface built with React Ink
  • Fast Minting - Efficient gas token mining with optimized parameters
  • 📊 Real-time Metrics - Track your mining performance and profitability
  • 🔄 Continuous Mining - Automated mining with customizable intervals
  • 💎 Auto-staking - Automatically stake portions of minted tokens for multipliers
  • ⚙️ Easy Configuration - Interactive setup wizard for wallet and settings
  • 🛡️ Secure - Private keys stored locally and encrypted
  • 🎯 CLI Flags - Quick configuration via command-line arguments

🚀 Quick Start

Installation

# Install globally via npm
npm install -g gas-mint-cli

# Or run directly with npx (no installation needed)
npx gas-mint-cli

First Run

  1. Launch the CLI:

    gas-mint
  2. Configure your wallet (first time only):

    • Enter your private key (stored securely locally)
    • Set your preferred mining parameters
    • Configure auto-staking if desired
  3. Start minting! 🎉

📖 Usage

Interactive Mode

Simply run gas-mint to launch the interactive menu:

gas-mint

Navigate through the beautiful interface to:

  • 🚀 Start single mints
  • 🔄 Run continuous mining
  • 📊 View detailed metrics
  • ⚙️ Configure settings

Command Line Flags

For power users and automation:

# Quick mint with custom parameters
gas-mint --private-key 0x... --writes 300 --include-intrinsic

# Continuous mining mode
gas-mint --private-key 0x... --continuous --interval 120 --auto-stake 25

# Configuration menu
gas-mint --config

# Custom RPC endpoint
gas-mint --rpc-url https://your-rpc-endpoint.com

Available Flags

| Flag | Description | Default | |------|-------------|---------| | -k, --private-key | Your wallet private key | - | | -r, --rpc-url | Auto-EVM RPC endpoint | https://auto-evm.mainnet.autonomys.xyz/ws | | -w, --writes | Storage writes per mint (1-369) | 369 | | -i, --include-intrinsic | Include intrinsic gas cost | false | | -m, --min-mint | Minimum mint amount (wei) | 0 | | --auto-stake | Auto-stake percentage (0-100) | 0 | | --continuous | Run continuous mining | false | | --interval | Seconds between mints | 60 | | --config | Show configuration menu | false |

🎯 How It Works

Gas Mint CLI interacts with the GasMintToken contract on Auto-EVM to:

  1. Perform Storage Writes: Execute configurable storage operations that consume gas
  2. Calculate Rewards: Mint tokens proportional to gas consumed: tokens = gas_used * gas_price * multiplier
  3. Apply Multipliers: Benefit from staking bonuses (up to 50% bonus for long-term staking)
  4. Track Performance: Monitor profitability, success rates, and mining statistics

Contract Details

  • Contract Address: 0xbC2982173e82D574773c3dd6d2A62fD59Dd8bF0A
  • Network: Auto-EVM (Chain ID 870)
  • Explorer: View Contract

📊 Metrics & Analytics

The CLI provides comprehensive analytics:

  • Total Mints: Number of successful mining operations
  • Success Rate: Percentage of successful transactions
  • Tokens Minted: Total GMT tokens earned
  • Gas Spent: Total ETH spent on gas fees
  • Profit/Loss: Real-time P&L calculation
  • Average Gas Price: Historical gas price tracking
  • Mining Efficiency: Performance analysis and recommendations

⚙️ Configuration

Secure Storage

Your configuration is stored locally using the conf package:

  • macOS: ~/Library/Preferences/gas-mint-cli/
  • Windows: %APPDATA%\gas-mint-cli\
  • Linux: ~/.config/gas-mint-cli/

Private keys are stored securely and never transmitted anywhere except directly to the blockchain.

Settings

Configure these parameters for optimal mining:

  • Storage Writes (1-369): Higher = more gas = more tokens
  • Include Intrinsic: Add 21,000 gas for higher yields
  • Auto-stake Percentage: Automatically stake % of earnings for compound growth
  • Mining Interval: Time between mints in continuous mode
  • Minimum Mint: Slippage protection for volatile gas prices

🔄 Continuous Mining

Perfect for passive income generation:

# Start continuous mining with 2-minute intervals
gas-mint --continuous --interval 120 --auto-stake 30

# Or use the interactive menu for full control
gas-mint

Features:

  • ⏱️ Customizable intervals
  • 📊 Real-time session statistics
  • 🔄 Auto-restart on failures
  • 💎 Automatic staking integration
  • ⏸️ Easy start/stop controls (Spacebar)

🛠️ Development

Prerequisites

  • Node.js 18+
  • npm or yarn

Setup

# Clone the repository
git clone https://github.com/yourusername/gas-mint-cli.git
cd gas-mint-cli

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

Project Structure

src/
├── components/          # React Ink UI components
│   ├── App.tsx         # Main application
│   ├── Header.tsx      # Header with wallet info
│   ├── MainMenu.tsx    # Navigation menu
│   ├── ConfigScreen.tsx # Configuration wizard
│   ├── MintScreen.tsx  # Single mint interface
│   ├── MetricsScreen.tsx # Analytics dashboard
│   └── ContinuousMintScreen.tsx # Continuous mining
├── services/           # Business logic
│   ├── Web3Service.ts  # Blockchain interactions
│   └── ConfigService.ts # Configuration management
├── types.ts           # TypeScript definitions
└── index.tsx          # CLI entry point

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

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

⚠️ Disclaimer

This tool is for educational and experimental purposes. Gas token mining involves real cryptocurrency transactions and gas fees. Always:

  • ✅ Test with small amounts first
  • ✅ Monitor gas prices and profitability
  • ✅ Understand the risks involved
  • ✅ Keep your private keys secure

Use at your own risk. The developers are not responsible for any financial losses.

🆘 Support


Made with ❤️ and ⚡ by the Gas Mint CLI team

⭐ Star this repo if you found it helpful!