Skip to content

cunnil-eth/Torque

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Torque

EVM-compatible NFT minting bot

📖 Table of Contents

  1. Features
  2. Tech Stack
  3. Installation
  4. Error Handling & Fallbacks
  5. Future Improvements
  6. Contact
  7. License

📋 Features

  • Dynamic Gas Management: Ensures transactions are included in the first block using real-time gas prices.
  • Multi-Wallet Support: Execute minting simultaneously for multiple wallets.
  • Fallback Mechanism: Fallback to provider.getFeeData if the BlockNative API fails.
  • Config Management: Easily save and load configurations for wallets and minting parameters.
  • Graceful Error Handling: Handles corrupted/missing configurations and transaction failures.
  • Customizable Timing: Dynamically calculate delays based on the blockchain network.

🛠️ Tech Stack

📦 Installation and Start

  1. Clone the repository:

    git clone https://github.com/cunnil-eth/Torque.git
    cd Torque
    
  2. Install dependencies:

    npm install
    
  3. Set up environment variables:
    Create a .env file in the root directory and configure your environment:

    RPC_API=
    PRIVATE_KEY=
    BLOCKNATIVE_API=
    
    • RPC_API: Your RPC provider API (Infura, Alchemy, etc.).
    • PRIVATE_KEY: The private key of the default wallet.
    • BLOCKNATIVE_API: API key for BlockNative.
  4. Start the bot:

    npx ts-node src/index.ts
    
  5. (Optional) Congifure multiple wallets:
    Provide private keys in wallet/wallets.txt

🛡️ Error Handling & Fallbacks

  • If the BlockNative API fails, the bot gracefully falls back to the provider.getFeeData method to fetch gas prices.
  • Missing or corrupted config.json files will be handled with default settings or user prompts.

📈 Future Improvements

  • Save data into a config
  • Contract ABI support

🤝 Contact

📜 License

This project is licensed under the MIT LICENSE. See LICENSE for details.

About

EVM-compatible NFT minting bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors