Skip to content

Winnode/Hot-Claim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hot Claiming Bot

This project is a bot that automates the claiming process for HOT accounts. It supports Telegram notifications to inform the user about the status of the claims.

Prerequisites

  • Node.js installed on your machine.
  • HOT account credentials.
  • A Telegram bot token and user ID for notifications.
  • Send Near to multi wallet near
  • To ensure that your NEAR claiming bot verifies that each account has at least 0.001 NEAR before attempting a claim

Setup

  1. Clone the repository and navigate to the project directory:

    git clone https://github.com/Winnode/Hot-Claim.git
    cd Hot-Claim
  2. Install the required dependencies:

    npm install

    OR

    npm install near-api-js moment crypto figlet readline-sync winston node-telegram-bot-api base64-arraybuffer
  3. Create a accounts.txt file in the project directory. This file should contain the NEAR account credentials in the following format:

    PRIVATE_KEY_1|ACCOUNT_ID_1
    PRIVATE_KEY_2|ACCOUNT_ID_2
    ...
    
  4. Create a config.json file in the project directory with the following content:

    {
      "telegramNotification": true,
      "telegramBotToken": "745xxxxxx",
      "telegramUserId": "5xxxxxx",
      "rpcUrl": "https://1rpc.io/near",
      "networkId": "mainnet",
      "claimContractId": "game.hot.tg"
    }
    • Set telegramNotification to false if you do not want to receive Telegram notifications.
    • Replace YOUR_TELEGRAM_BOT_TOKEN with your Telegram bot token.
    • Replace YOUR_TELEGRAM_USER_ID with your Telegram user ID.

Usage

To start the bot, run the following command:

node run.js

Password For those who are interested in joining our community, you can find the password at https://t.me/winsnip.

Enter password: ********

Create Telegram bot api and chat id

Telegram bot api

https://t.me/BotFather

chat id

https://t.me/GetMyChatID_Bot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published