Skip to content

A script to automate token swaps and liquidity operations on the Pharos Network using Node.js. Supports configurable private key, looped execution, and headless runtime via screen sessions.

Notifications You must be signed in to change notification settings

winsnip/pharos-network

 
 

Repository files navigation

Pharos Network Swap and Liquidity Bot

This project is a simple automated script to interact with the Pharos Network, performing token swaps and liquidity-related operations.

Features

  • Token Swapping on Pharos Network
  • Liquidity Management
  • Headless execution using screen
  • Configurable private key and loop count for batch operations

Getting Started

1. Clone the Repository

git clone https://github.com/takachan0012/pharos-network.git

2. Navigate to the Project Directory

cd pharos-network

3. Install Dependencies

npm install

4. Set Environment Variables

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

5. Create a New Screen Session

screen -S pharos

6. Start the Bot

npm run start

7. Detach the Screen Session

Press: Ctrl + A, then D

8. Reattach the Screen Session

screen -R pharos

Done!

Your bot is running in the background on the Pharos Network.

⚠️ NOTES

Coffee: https://trakteer.id/Winsnipsupport/tip

Join Telegram Winsnip

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.

Have suggestions or improvements? Feel free to contribute!

About

A script to automate token swaps and liquidity operations on the Pharos Network using Node.js. Supports configurable private key, looped execution, and headless runtime via screen sessions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.4%
  • Solidity 1.6%