An automated bot for performing daily swap transactions on the Hashkey testnet. This bot is designed to assist with airdrop farming activities by automating faucet claims and swaps between USDT and USDC tokens.
- Full automation for daily swap transactions.
- Easy configuration using a
.env
file. - Support for multiple private keys (wallets).
- Customizable number of transactions per day.
- Automatic scheduling for the next daily run.
Before you begin, ensure you have the following software installed:
- Node.js (version 16 or higher)
- npm (usually comes with Node.js)
Follow these steps to set up and run the bot:
-
Clone the repository:
git clone [https://github.com/vikitoshi/Hashkey-Auto-Bot.git](https://github.com/vikitoshi/Hashkey-Auto-Bot.git) cd Hashkey-Auto-Bot
-
Install dependencies:
npm install
-
Create a configuration file: Create a file named
.env
in the project's root directory. This file will store your private keys. -
Add your private keys to the
.env
file: Open the.env
file and add your private keys in the following format. You can add as many keys as you need.PRIVATE_KEY_1=your_first_private_key_here PRIVATE_KEY_2=your_second_private_key_here PRIVATE_KEY_3=your_third_private_key_here # Add more keys as needed
-
Start the bot: Open your terminal in the project directory and run the following command:
node index.js
-
Enter the number of transactions: The bot will prompt you to enter the number of daily swap transactions you want to perform for each wallet.
Enter number of daily swap transactions per wallet (USDT/USDC only): 5
-
Monitor the process: The bot will start executing the tasks. You can watch the logs in your terminal to see its progress. Once finished, it will display a countdown for the next run.
This script requires you to input your private keys. Using your private keys in any script carries inherent risks. Ensure you understand these risks before proceeding. It is highly recommended to use wallets that do not contain real funds. The author is not responsible for any loss of funds.