Skip to content

MeoMunDep/Somnia-Network

Repository files navigation

🤖 Somnia Network Bot

This is an automated bot script designed to interact seamlessly with Somnia Network — a decentralized Web3 platform focused on providing users with token faucets, referral rewards, token swapping, minting, and various airdrop opportunities.

The bot automates common tasks such as claiming free tokens from faucets, managing multiple Ethereum wallets, rotating proxies, handling referrals, swapping tokens with customizable slippage tolerance, minting new tokens, and sending tokens to specified wallets.

Key Features:

  • 🔑 Effortlessly manage multiple wallet accounts with configurable delays and concurrency.
  • 🌐 Rotate and validate proxies to ensure smooth and anonymous operation.
  • 🎁 Automate referral codes to maximize rewards.
  • 🔄 Customize token-related actions including faucet claims, swaps, minting, and transfers.
  • 🐳 Run easily on any environment with Node.js support and Docker containerization.

By using this bot, users can optimize their participation in Somnia Network’s token distribution and maximize airdrop earnings with minimal manual interaction.


🚀 Getting Started

  • Run run.bat or run.sh to start immediately.
NodeJS Download

Download NodeJS to run the bot:

Link

Remember to download NodeJS version: 22.11.0 and NPM version: 10.9.0


📁 Configuration Files

1. configs.json - Adjust configuration

View configs.json sample
{
  "rotateProxy": false,
  "skipInvalidProxy": true,
  "proxyRotationInterval": 2,
  "delayEachAccount": [1, 1],
  "timeToRestartAllAccounts": 86400,
  "howManyAccountsRunInOneTime": 1,

  "autoReferrals": true,
  "refererCodes": ["4BB70DFF"],

  "setUsername": true,

  "doTXonQuills": true,

  "faucetToken": true,

  "amountToSend": [0.01, 0.05],

  "createNewToken": true,

  "swapToken": true,
  "slippage": 2.5,
  "amountOfPingForPong": 0.01,
  "amountOfPongForPing": 0.01,

  "mintToken": true,

  "toNewWallet": true,
  "sendAndMintTokenTo": [
    "add_your_wallet_addresses_here",
    "add_your_wallet_addresses_here",
    "add_your_wallet_addresses_here",
    "add_your_wallet_addresses_here",
    "add_your_wallet_addresses_here",
  ]
}

Configuration Guide for configs.json

View detailed config guide
Key Value Type / Example Description
rotateProxy Boolean (true or false) Enable or disable proxy rotation
skipInvalidProxy Boolean (true or false) Skip invalid proxies or stop execution when proxy fails
proxyRotationInterval Number (minutes), e.g., 2 Interval in minutes before switching to a new proxy
delayEachAccount Array [min, max] seconds, e.g., [1, 1] Delay range in seconds between account executions
timeToRestartAllAccounts Number (seconds), e.g., 86400 Time interval to restart all accounts
howManyAccountsRunInOneTime Number, e.g., 1 Number of accounts to run simultaneously
autoReferrals Boolean (true or false) Enable or disable automatic referral feature
referralCodes Array of strings, e.g., ["4BB70DFF"] List of referral codes used for auto-referrals
setUsername Boolean (true or false) Enable or disable automatic setting of username
faucetToken Boolean (true or false) Enable or disable claiming tokens from faucet
amountToSend Array [min, max] float, e.g., [0.01, 0.05] Range of token amounts to send in transactions
createNewToken Boolean (true or false) Enable or disable creation of new tokens
swapToken Boolean (true or false) Enable or disable token swapping functionality
slippage Number (percentage), e.g., 2.5 Acceptable slippage percentage for swaps
amountOfPingForPong Number (float), e.g., 0.01 Amount of Ping token to swap for Pong
amountOfPongForPing Number (float), e.g., 0.01 Amount of Pong token to swap for Ping
mintToken Boolean (true or false) Enable or disable minting new tokens
toNewWallet Boolean (true or false) Enable or disable sending/minting tokens to a new wallet
sendAndMintTokenTo Array of strings (addresses) List of wallet addresses to receive minted/sent tokens

💡 Modify values to suit your needs and avoid detection.


2. privateKeys.txt

View usage and format

Get it from here >>> Link

  • Wallet generator: Link
EVM privatekey
EVM privatekey
EVM privatekey

Note: Each line is an account. Faucet works with 1 IP/account; sending tokens can use multiple IPs.


3. proxies.txt

View usage and format

Proxy is optional. If you have, fill it in; else leave blank.

Get proxies here: Webshare

http://host:port
https://host:port
socks4://host:port
socks5://host:port
http://user:pass@host:port
https://user:pass@host:port
socks4://user:pass@host:port
socks5://user:pass@host:port

Usage:

  • cd to the extracted folder.
  • Run: cd "somnia-network"; node meomundep

📦 Running with Docker

View Docker setup instructions
  1. Install Docker.

  2. Clone repo:

    git clone https://github.com/MeoMunDep/somnia-network.git
    cd somnia-network
  3. Build image:

    docker build -t somnia-bot .
  4. Run container:

    docker run -d --name somnia-bot somnia-bot
  5. Check logs:

    docker logs -f somnia-bot
  6. Stop bot:

    docker stop somnia-bot

🔄 Updating with Git

View update commands
cd somnia-network
git pull origin main

# If using Docker:
docker build -t somnia-bot .
docker stop somnia-bot && docker rm somnia-bot
docker run -d --name somnia-bot somnia-bot

📞 Contact

📱 For Mobile Users (Termux)

View the guide here

Contact Links

⚠️ Disclaimer: This code is provided "as is" without any warranties. Use it at your own risk. You are solely responsible for any consequences arising from its use. Redistribution or sale of this code in any form is strictly prohibited.

✨ Thank you for using the bot, hope you earn from my scripts! Good luck! 🚀