This sophisticated bot automates multiple operations on the Pharos Testnet, including points farming and lending operations. Designed for efficiency and reliability, it features color-coded logging, proxy support, and comprehensive error handling.
- Multi-Wallet Support: Process multiple wallets sequentially
- Points Farming:
- Token transfers
- PHRS wrapping/unwrapping
- Token swaps (WPHRS ↔ USDC/USDT)
- Liquidity pool additions
- Lending Operations:
- Faucet token minting (6+ assets)
- Collateral deposits (PHRS & ERC20)
- Asset borrowing
- Fund withdrawals
- Automated Verification:
- Daily check-ins
- Faucet claims
- Task verification
- Advanced Infrastructure:
- Proxy rotation (HTTP/HTTPS)
- Random user agents
- Retry mechanisms
- Gas optimization
- Node.js v18+
- Yarn/NPM
- Pharos Testnet accounts
- RPC endpoint access
- Clone repository:
git clone https://github.com/dicoderin/pharos.git
cd pharos
- Install dependencies:
yarn install
# or
npm install
- Create
.env
file:
PRIVATE_KEY_1=your_main_private_key
PRIVATE_KEY_2=secondary_private_key
# Add more keys as needed
# Optional configurations
DEBUG_MODE=true
NUM_SWAPS=25
NUM_LPS=15
DELAY_MINUTES=240
- Create
proxies.txt
(optional):
http://user:pass@ip:port
socks5://user:pass@ip:port
Variable | Default | Description |
---|---|---|
PRIVATE_KEY_[n] |
- | Wallet private keys |
DEBUG_MODE |
false |
Enable debug logging |
NUM_TRANSFERS |
1 |
Transfer operations per cycle |
NUM_WRAPS |
1 |
Wrap operations per cycle |
NUM_SWAPS |
20 |
Swap operations per cycle |
NUM_LPS |
20 |
Liquidity operations per cycle |
DELAY_MINUTES |
300 |
Minutes between cycles |
const NETWORK_CONFIG = {
name: 'Pharos Testnet',
rpc: 'https://testnet.dplabs-internal.com',
chainId: 688688,
symbol: 'PHRS',
explorer: 'https://testnet.pharosscan.xyz/tx/'
};
Run the bot:
node index.js
- Wallet initialization
- Daily check-in and authentication
- Faucet claiming
- Points farming:
- Token transfers
- Wrapping operations
- Token swaps
- Liquidity provision
- Lending operations:
- Token minting
- Collateral deposits
- Asset borrowing
- Fund withdrawals
- Cycle completion delay
==============================================
Pharos Testnet Bot - Points Farming Mode
==============================================
→ Wallet 1/3 • 0x5F3...dC4A
[•] Mengautentikasi dengan API Pharos
[+] Autentikasi berhasil!
[→] Melakukan daily check-in...
[+] Check-in berhasil
[→] Mengklaim faucet...
[+] Faucet berhasil diklaim
[SWAP] 0/20 completed
[→] Menukar 0.0001 WPHRS ke USDC...
→ TX SWAP: https://testnet.pharosscan.xyz/tx/0x3d...a1c (PENDING)
[•] Mengkonfirmasi transaksi 0x3d7ba1c...1/20
→ TX SWAP: https://testnet.pharosscan.xyz/tx/0x3d...a1c (CONFIRMED)
[+] Task terverifikasi: 0x3d7ba1c...
... additional operations ...
[+] Siklus farming selesai untuk semua wallet
Log Type | Color | Prefix | Description |
---|---|---|---|
INFO | Green | [✓] | General information |
WALLET | Yellow | → | Wallet-specific operations |
WARN | Yellow | [!] | Warnings |
ERROR | Red | [✗] | Critical errors |
SUCCESS | Green | [+] | Successful operations |
LOADING | Cyan | [•] | In-progress operations |
STEP | Blue | → | Operation steps |
TRANSACTION | Cyan | → | Tx details with explorer link |
USE AT YOUR OWN RISK
- This is experimental software
- Testnet operations only - no real funds
- Maintain sufficient testnet pharos ETH for gas
- Monitor bot operations regularly
- Compliance with Pharos Testnet ToS required
This project is licensed under the MIT License - see the LICENSE file for details.
Note: This bot is for educational purposes only. Always comply with the terms of service of any blockchain network you interact with.