This project is a simple automated script to interact with the Pharos Network, performing token swaps and liquidity-related operations.
- Token Swapping on Pharos Network
- Liquidity Management
- Headless execution using
screen
- Configurable private key and loop count for batch operations
git clone https://github.com/takachan0012/pharos-network.git
cd pharos-network
npm install
setup private key
echo PRIVATE_KEY=your_private_key_here >> main/.env
setup loop count ( how many time you will run script in main.ts )
echo LOOP_COUNT=your_loop_count_here >> main/.env
setup amount in percent, it set for each tx of your asset. for example use 1% from asset balance
echo AMOUNT_IN_PERCENT=1 >> main/.env
set timeout in milisecond, it set for waiting next tx. for example below, next tx will be done in ranges 1minute to 2minutes
echo TIMEOUT_MIN_MS=60000 >> main/.env
echo TIMEOUT_MAX_MS=120000 >> main/.env
screen -S pharos
npm run start
Press: Ctrl + A, then D
screen -R pharos
Your bot is running in the background on the Pharos Network.
- Make sure your wallet is funded with enough gas (PHRS).
- Use at your own risk. Test carefully on testnet.
- This project for educational and testing purposes only.
Coffee: https://trakteer.id/Winsnipsupport/tip
Stay updated and connect with the Winsnip community:
Channel: https://t.me/winsnip
Group Chat: https://t.me/winsnip_hub
This ensures users can join the Telegram community easily and stay engaged with updates and discussions.