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

token-sending-bot

v1.0.0

Published

A low gas fee token sending bot for Ethereum tokens

Readme

Token Sending Bot with Low Gas Fee

A Node.js bot for minting and sending ERC20 tokens with optimized gas fees on the Ethereum network.

Features

  • Mint new ERC20 tokens to multiple addresses
  • Send existing tokens to multiple addresses
  • Optimized gas fee calculations
  • Transaction tracking and retry mechanism
  • Environment-based configuration
  • Support for custom RPC endpoints
  • Automatic tracking of sent tokens to prevent duplicate transactions

Installation

npm install token-sending-bot

Configuration

Create a .env file in your project root:

# Ethereum Configuration
ETH_NODE_RPC_URL=https://rpc.katla.taiko.xyz
SENDER_ADDRESS=your_wallet_address_here
PRIVATE_KEY=your_private_key_here
CONTRACT_ADDRESS=your_token_contract_address_here

Usage

  1. Create a wallets.js file with recipient addresses:
const wallets = [
    '0x742d35Cc6634C0532925a3b844Bc454e4438f44e',
    '0x123f681646d4A755815f9CB19e1aCc8565a0c2AC'
];

module.exports = wallets;
  1. Run the bot:
npm start

How It Works

The bot performs the following operations:

  1. Token Minting:

    • Mints random amounts of tokens (1-1000) to each address in the wallets list
    • Automatically handles token decimals
    • Tracks minted addresses to prevent duplicate minting
  2. Transaction Management:

    • Calculates optimal gas fees
    • Handles transaction retries if needed
    • Maintains a record of successful transactions
  3. Progress Tracking:

    • Creates a received_addresses.json file to track successful transactions
    • Skips addresses that have already received tokens
    • Provides console output for monitoring progress

Important Notes

  • The sender address must have minting permissions on the token contract
  • The sender address must have enough ETH for gas fees
  • The bot will automatically retry failed transactions
  • Each address will receive a random amount of tokens between 1 and 1000

Security

  • Never commit your .env file
  • Keep your private keys secure
  • Use environment variables for sensitive data
  • The bot automatically tracks sent tokens to prevent duplicate transactions

Contributing

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

License

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

Author

Shakil Khan

Support

If you find this project helpful, please give it a ⭐️ on GitHub!