An automated bot for interacting with Prior Protocol's testnet on Base Sepolia. This bot helps users participate in the Prior Protocol testnet by automating the process of swapping PRIOR tokens to USDC.
- Automatically swaps PRIOR tokens to USDC on Prior Protocol's testnet
- Supports multiple wallets for batch processing
- Optional proxy support for IP rotation
- Automatic reporting of swap transactions to Prior Protocol's API
- 24-hour cycle timer to maintain consistent activity
- Error handling and automatic retries
- Node.js (v14 or higher)
- Prior tokens in your wallet(s) on Base Sepolia testnet
- Private keys for your wallet(s)
- Clone the repository:
git clone https://github.com/airdropinsiders/Prior-Testnet-Auto-Bot.git- Navigate to the project directory:
cd Prior-Testnet-Auto-Bot- Install dependencies:
npm install- Create a
.envfile in the root directory with your wallet private keys:
WALLET_PK_1=your_private_key_1
WALLET_PK_2=your_private_key_2
# Add as many wallets as you need
- (Optional) Create a
proxies.txtfile with your proxies (one per line):
user:pass@ip:port
ip:port
http://user:pass@ip:port
Start the bot by running:
node index.jsThe bot will:
- Load all wallets from your
.envfile - Check PRIOR token balances
- Approve PRIOR token for swapping (if not already approved)
- Execute swaps of 0.1 PRIOR to USDC
- Report successful swaps to Prior Protocol's API
- Wait 24 hours before starting the next swap session
- Each wallet needs at least 0.1 PRIOR tokens for swapping
- Make sure you have enough Base Sepolia ETH for gas fees
- The bot targets 5 swaps per session before waiting for the next cycle
- Keep your private keys secure and never share your
.envfile
- Network: Base Sepolia Testnet
- Prior Token: 0xeFC91C5a51E8533282486FA2601dFfe0a0b16EDb
- USDC Token: 0xdB07b0b4E88D9D5A79A08E91fEE20Bb41f9989a2
- Swap Router: 0x8957e1988905311EE249e679a29fc9deCEd4D910
You can modify the following parameters in the code:
- MAX_SWAPS: Number of swaps to perform per session (default: 5)
- Swap amount: Amount of PRIOR to swap (default: 0.1)
- Countdown timer: Time between swap sessions (default: 24 hours)
MIT
This bot is for educational purposes only. Use at your own risk. The developers are not responsible for any financial losses or other damages that may result from using this bot.