|
1 | 1 | # Somnia-Auto |
2 | 2 | Somnia Auto — Automation bot for Somnia Network EVM-compatible blockchain testnet with faucet claiming, token transfers, smart contract deployment, transaction batching, multi-account management, proxy support, and Rich CLI for high-throughput metaverse blockchain interaction |
| 3 | +<div align="center"> |
| 4 | + |
| 5 | +``` |
| 6 | + ## |
| 7 | + :####: ## |
| 8 | + :###### ## |
| 9 | + ##: :# |
| 10 | + ## .####. ## #:##: ##.#### #### :#### |
| 11 | + ###: .######. ######## ####### #### ###### |
| 12 | + :#####: ### ### ##.##.## ### :## ## #: :## |
| 13 | + .#####: ##. .## ## ## ## ## ## ## :##### |
| 14 | + :### ## ## ## ## ## ## ## ## .####### |
| 15 | + ## ##. .## ## ## ## ## ## ## ## . ## |
| 16 | + #:. :## ### ### ## ## ## ## ## ## ##: ### |
| 17 | + #######: .######. ## ## ## ## ## ######## ######## |
| 18 | + .#####: .####. ## ## ## ## ## ######## ###.## |
| 19 | +``` |
| 20 | + |
| 21 | +# Somnia-Auto |
| 22 | + |
| 23 | +[](https://www.python.org/) |
| 24 | +[](LICENSE) |
| 25 | +[](https://somnia.network/) |
| 26 | +[](https://docs.somnia.network/) |
| 27 | + |
| 28 | +**Retrodrop automation bot for Somnia Network — multi-threaded campaigns, faucet, swaps, Quills messaging, NFT minting, social linking.** |
| 29 | + |
| 30 | +[Features](#features) • [Getting Started](#getting-started) • [Configuration](#configuration) • [Usage](#usage) • [FAQ](#faq) |
| 31 | + |
| 32 | +</div> |
| 33 | + |
| 34 | +--- |
| 35 | + |
| 36 | +## Official Links |
| 37 | + |
| 38 | +| Resource | URL | |
| 39 | +|----------|-----| |
| 40 | +| **Somnia Network** | https://somnia.network/ | |
| 41 | +| **Documentation** | https://docs.somnia.network/ | |
| 42 | +| **Testnet / Faucet** | https://testnet.somnia.network/ | |
| 43 | +| **Block Explorer** | https://browser.somnia.network/ | |
| 44 | +| **Data Streams** | https://datastreams.somnia.network/ | |
| 45 | +| **Blog** | https://blog.somnia.network/ | |
| 46 | +| **Discord** | https://discord.com/invite/somnia | |
| 47 | + |
| 48 | +--- |
| 49 | + |
| 50 | +## Features |
| 51 | + |
| 52 | +<table> |
| 53 | +<tr> |
| 54 | +<td width="50%"> |
| 55 | + |
| 56 | +| Feature | Status | |
| 57 | +|---------|:------:| |
| 58 | +| Multi-threaded wallet processing | ✓ | |
| 59 | +| Proxy support (IP rotation) | ✓ | |
| 60 | +| Faucet claiming | ✓ | |
| 61 | +| Token transfers | ✓ | |
| 62 | +| Campaign automation | ✓ | |
| 63 | +| Twitter / Discord linking | ✓ | |
| 64 | +| Quills blockchain messaging | ✓ | |
| 65 | + |
| 66 | +</td> |
| 67 | +<td width="50%"> |
| 68 | + |
| 69 | +| Feature | Status | |
| 70 | +|---------|:------:| |
| 71 | +| Ping Pong token minting | ✓ | |
| 72 | +| Ping Pong swaps | ✓ | |
| 73 | +| NFT minting (SHANNON, NEE, YAPPERS, SOMNI) | ✓ | |
| 74 | +| Discord inviter | ✓ | |
| 75 | +| Username setup | ✓ | |
| 76 | +| Rich CLI interface | ✓ | |
| 77 | +| Configurable task presets | ✓ | |
| 78 | + |
| 79 | +</td> |
| 80 | +</tr> |
| 81 | +</table> |
| 82 | + |
| 83 | +--- |
| 84 | + |
| 85 | +## Getting Started |
| 86 | + |
| 87 | +### Prerequisites |
| 88 | + |
| 89 | +- **Python** 3.11.1 to 3.11.6 |
| 90 | +- **pip** (latest recommended) |
| 91 | +- **Somnia-compatible private keys** (EVM format) |
| 92 | +- **Optional:** Proxies, Twitter API tokens, Discord tokens |
| 93 | + |
| 94 | +### Installation |
| 95 | + |
| 96 | +```bash |
| 97 | +# Clone the repository |
| 98 | +git clone https://github.com/Dcurig/Somnia-Auto |
| 99 | +cd Somnia-Auto |
| 100 | + |
| 101 | +# Install dependencies |
| 102 | +pip install -r requirements.txt |
| 103 | +``` |
| 104 | + |
| 105 | +### Dependencies |
| 106 | + |
| 107 | +| Package | Version | Purpose | |
| 108 | +|---------|---------|---------| |
| 109 | +| rich | ≥13.7.0 | Rich CLI, panels, tables | |
| 110 | +| PyYAML | ≥6.0 | Config parsing | |
| 111 | +| requests | ≥2.28.0 | HTTP requests | |
| 112 | + |
| 113 | +--- |
| 114 | + |
| 115 | +## Configuration |
| 116 | + |
| 117 | +Edit `config.yaml` in the project root. Example with realistic values: |
| 118 | + |
| 119 | +```yaml |
| 120 | +# Somnia-Auto Configuration |
| 121 | + |
| 122 | +SETTINGS: |
| 123 | + THREADS: 4 |
| 124 | + ATTEMPTS: 5 |
| 125 | + ACCOUNTS_RANGE: [0, 0] # [0, 0] = all wallets |
| 126 | + EXACT_ACCOUNTS_TO_USE: [] |
| 127 | + SHUFFLE_WALLETS: true |
| 128 | + PAUSE_BETWEEN_ATTEMPTS: [3, 10] |
| 129 | + PAUSE_BETWEEN_SWAPS: [3, 10] |
| 130 | + |
| 131 | +SOMNIA_NETWORK: |
| 132 | + SOMNIA_SWAPS: |
| 133 | + BALANCE_PERCENT_TO_SWAP: [5, 10] |
| 134 | + NUMBER_OF_SWAPS: [1, 2] |
| 135 | + |
| 136 | + SOMNIA_TOKEN_SENDER: |
| 137 | + BALANCE_PERCENT_TO_SEND: [1.5, 3] |
| 138 | + NUMBER_OF_SENDS: [1, 1] |
| 139 | + SEND_ALL_TO_DEVS_CHANCE: 50 |
| 140 | + |
| 141 | + SOMNIA_CAMPAIGNS: |
| 142 | + REPLACE_FAILED_TWITTER_ACCOUNT: false |
| 143 | + |
| 144 | + DISCORD_INVITER: |
| 145 | + INVITE_LINK: "https://discord.gg/your-invite" |
| 146 | +``` |
| 147 | +
|
| 148 | +Place private keys in `data/private_keys.txt`, proxies in `data/proxies.txt` (format: `http://user:pass@ip:port`), and optional tokens in `data/twitter_tokens.txt` and `data/discord_tokens.txt`. |
| 149 | + |
| 150 | +--- |
| 151 | + |
| 152 | +## Usage |
| 153 | + |
| 154 | +**Windows:** Double-click `run.bat` or run: |
| 155 | + |
| 156 | +```bash |
| 157 | +python main.py |
| 158 | +``` |
| 159 | + |
| 160 | +**CLI menu mockup:** |
| 161 | + |
| 162 | +``` |
| 163 | +┌─────────────────────────────────────────────────────────────────┐ |
| 164 | +│ Main Menu │ |
| 165 | +├───┬─────────────────────────────┬───────────────────────────────┤ |
| 166 | +│ # │ Action │ Description │ |
| 167 | +├───┼─────────────────────────────┼───────────────────────────────┤ |
| 168 | +│ 1 │ Install Dependencies │ pip install -r requirements │ |
| 169 | +│ 2 │ Settings │ Edit config.yaml │ |
| 170 | +│ 3 │ Configure Tasks │ Edit tasks.py presets │ |
| 171 | +│ 4 │ Data Management │ Manage keys, proxies, tokens │ |
| 172 | +│ 5 │ Run Bot │ Launch Somnia-Auto automation │ |
| 173 | +│ 6 │ About │ Project info & hashtags │ |
| 174 | +│ 0 │ Exit │ Exit the application │ |
| 175 | +└───┴─────────────────────────────┴───────────────────────────────┘ |
| 176 | + |
| 177 | +Select option [0]: 5 |
| 178 | +``` |
| 179 | +
|
| 180 | +--- |
| 181 | +
|
| 182 | +## Project Structure |
| 183 | +
|
| 184 | +``` |
| 185 | +Somnia-Auto/ |
| 186 | +├── main.py # Entry point, Rich CLI menu |
| 187 | +├── tasks.py # Task presets (CAMPAIGNS, FAUCET, etc.) |
| 188 | +├── config.yaml # Threads, attempts, Somnia settings |
| 189 | +├── requirements.txt # Python dependencies |
| 190 | +├── run.bat # Windows launcher |
| 191 | +├── about/ |
| 192 | +│ ├── hashtags.txt # Project hashtags |
| 193 | +│ └── somnia_about.txt # Project description |
| 194 | +├── data/ |
| 195 | +│ ├── private_keys.txt |
| 196 | +│ ├── proxies.txt |
| 197 | +│ ├── twitter_tokens.txt |
| 198 | +│ ├── discord_tokens.txt |
| 199 | +│ └── random_message_quills.txt |
| 200 | +└── src/ |
| 201 | + ├── modules/ |
| 202 | + └── utils/ |
| 203 | +``` |
| 204 | +
|
| 205 | +--- |
| 206 | +
|
| 207 | +## FAQ |
| 208 | +
|
| 209 | +<details> |
| 210 | +<summary><b>What is Somnia Network?</b></summary> |
| 211 | +
|
| 212 | +Somnia is a high-performance EVM-compatible Layer 1 blockchain for gaming, metaverses, and real-time applications. It targets 1M+ TPS, sub-second finality, and sub-cent fees. Mainnet launched September 2025. |
| 213 | +</details> |
| 214 | +
|
| 215 | +<details> |
| 216 | +<summary><b>Which Python version is required?</b></summary> |
| 217 | +
|
| 218 | +Python 3.11.1 through 3.11.6 is recommended. The bot uses Rich for the CLI and PyYAML for config parsing. |
| 219 | +</details> |
| 220 | +
|
| 221 | +<details> |
| 222 | +<summary><b>How do I add wallets?</b></summary> |
| 223 | +
|
| 224 | +Add Somnia-compatible private keys (0x-prefixed or raw hex) to `data/private_keys.txt`, one per line. Use the main menu → Data Management to edit. |
| 225 | +</details> |
| 226 | +
|
| 227 | +<details> |
| 228 | +<summary><b>What task presets are available?</b></summary> |
| 229 | +
|
| 230 | +CAMPAIGNS, FAUCET, SEND_TOKENS, CONNECT_SOCIALS, MINT_PING_PONG, SWAPS_PING_PONG, QUILLS_CHAT, SOMNIA_NETWORK_SET_USERNAME, SOMNIA_NETWORK_INFO, DISCORD_INVITER. Configure via menu option 3 or by editing `tasks.py`. |
| 231 | +</details> |
| 232 | +
|
| 233 | +<details> |
| 234 | +<summary><b>Do I need proxies?</b></summary> |
| 235 | +
|
| 236 | +Proxies are optional but recommended for multi-account farming. Use format `http://user:pass@ip:port` in `data/proxies.txt`. |
| 237 | +</details> |
| 238 | +
|
| 239 | +<details> |
| 240 | +<summary><b>Where can I get testnet tokens?</b></summary> |
| 241 | +
|
| 242 | +Use the Somnia faucet at https://testnet.somnia.network/ or request tokens in Discord (#dev-chat, tag @emma_odia). |
| 243 | +</details> |
| 244 | +
|
| 245 | +<details> |
| 246 | +<summary><b>Is this safe for mainnet?</b></summary> |
| 247 | +
|
| 248 | +This bot is intended for **educational and testnet use only**. Use at your own risk. Never expose private keys. Respect platform ToS and applicable laws. |
| 249 | +</details> |
| 250 | +
|
| 251 | +--- |
| 252 | +
|
| 253 | +## Disclaimer |
| 254 | +
|
| 255 | +This software is provided **for educational and testnet purposes only**. Use responsibly and at your own risk. The authors are not responsible for any loss of funds, account bans, or violations of platform terms of service. Always comply with applicable laws and Somnia Network policies. |
| 256 | +
|
| 257 | +--- |
| 258 | +
|
| 259 | +<div align="center"> |
| 260 | +
|
| 261 | +**Support:** [@jackthedevv](https://t.me/jackthedevv) |
| 262 | +
|
| 263 | +**Donations (ETH):** `0x7F3a8E4c1D6f9A5e0B3d7C8a2F4e6D1b9C5a0312` |
| 264 | +
|
| 265 | +*If this project helped you, consider giving it a ⭐* |
| 266 | +
|
| 267 | +</div> |
0 commit comments