The Automated Token Purchase Tool is a React application designed to automatically monitor the addition of liquidity for a specific token on the Binance Smart Chain (BSC) and execute a token buy operation a specified number of times when liquidity is added. The tool utilizes the PancakeSwap router contract and the BSC testnet for testing purposes.
- Clone the repository to your local machine:
git clone https://github.com/mohitchandel/auto-buy-token.git
- Install the project dependencies:
cd automated-token-purchase-tool
npm install
- Start the development server:
npm start
The application will open in your default web browser at http://localhost:3000.
Open the application in your web browser.
Fill in the required inputs:
-
Token Address
: Provide the address (BEP20) of the token you want to monitor for liquidity. -
Private Key
: Provide the private key associated with your wallet for buying tokens. -
Amount to Buy
: Specify the amount of the token you want to buy in each iteration. -
Number of Buys
: Specify the number of times to buy the token whenever liquidity is added. Click the "Start Automated Buys" button to begin monitoring liquidity and automated token purchases.
- Ensure that you have a valid Ethereum wallet with BNB balance on the BSC testnet to cover gas fees.
- The tool is for educational and testing purposes. Use caution and do not expose sensitive private keys or perform transactions on mainnet without thorough testing.
- The application utilizes the PancakeSwap router contract and BSC testnet for testing purposes. Modify the contract addresses and ABIs for use on mainnet.