https://github.com/rosellines/prior-auto-bot
PRIOR TESNET AUTO BOT
https://github.com/rosellines/prior-auto-bot
bot nodejs npm
Last synced: about 2 months ago
JSON representation
PRIOR TESNET AUTO BOT
- Host: GitHub
- URL: https://github.com/rosellines/prior-auto-bot
- Owner: Rosellines
- Created: 2025-04-13T15:28:32.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-13T16:28:34.000Z (about 1 year ago)
- Last Synced: 2025-04-14T17:14:08.764Z (about 1 year ago)
- Topics: bot, nodejs, npm
- Language: JavaScript
- Homepage: https://testnetpriorprotocol.xyz/swap
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prior Testnet Auto Bot
This bot automates swapping PRIOR tokens for USDT/USDC on the Base Sepolia testnet to help users participate in the PRIOR airdrop activity.
## Features
- Support for multiple wallets through environment variables
- Automatic approval of PRIOR tokens
- Random amount swapping (between 0.001 and 0.002 PRIOR)
- Random token selection (USDT or USDC)
- Detailed transaction logging with status emojis
- Balance checking for ETH, PRIOR, USDT, and USDC
## Prerequisites
- Node.js (v14 or higher)
- NPM or Yarn
- Private keys for wallets with Base Sepolia ETH and PRIOR tokens
- take faucet on https://testnetpriorprotocol.xyz/faucet
## Installation
1. Clone the repository:
```bash
git clone https://github.com/Rosellines/Prior-Auto-Bot.git
cd Prior-Testnet-Auto-Bot
```
2. Install dependencies:
```bash
npm install
```
3. Create a `.env` file in the project root with your private keys:
```
PRIVATE_KEY_1=your_private_key_1
PRIVATE_KEY_2=your_private_key_2
PRIVATE_KEY_3=your_private_key_3
# Add as many as you need
```
Alternatively, you can use a single key:
```
PRIVATE_KEY=your_private_key
```
## Usage
Run the bot with:
```bash
node index.js
```
The bot will:
1. Display all loaded wallets
2. Ask how many swaps to perform per wallet
3. Execute random swaps between PRIOR and USDT/USDC
4. Show wallet balances before and after operations
## Smart Contract Addresses
- PRIOR Token: 0xc19Ec2EEBB009b2422514C51F9118026f1cD89ba
- USDT Token: 0x014397DaEa96CaC46DbEdcbce50A42D5e0152B2E
- USDC Token: 0x109694D75363A75317A8136D80f50F871E81044e
- Router: 0x0f1DADEcc263eB79AE3e4db0d57c49a8b6178B0B
## Network
- Base Sepolia Testnet (Chain ID: 84532)
- RPC URL: https://base-sepolia-rpc.publicnode.com/...
## Security Notice
- Keep your private keys safe
- This bot is for testnet only
- Never use your mainnet private keys
## Disclaimer
This project is for educational purposes only. Use at your own risk. The developers are not responsible for any potential loss of funds.
## License
MIT