Skip to content

carey55620carey556202001/NaorisProtocol-bot

Repository files navigation

NaorisProtocol-bot

Naoris Protocol Bot — Fully automated node management bot for Naoris Protocol DePIN testnet with multi-account support, multithreaded execution, proxy management (HTTP/SOCKS5), heartbeat automation, reward tracking, and Rich CLI for post-quantum decentralized cybersecurity mesh participation

 _   _                  _       ____            _                  _   
| \ | | __ _  ___  _ __(_)___  |  _ \ _ __ ___ | |_ ___   ___ ___ | |  
|  \| |/ _` |/ _ \| '__| / __| | |_) | '__/ _ \| __/ _ \ / __/ _ \| |  
| |\  | (_| | (_) | |  | \__ \ |  __/| | | (_) | || (_) | (_| (_) | |  
|_| \_|\__,_|\___/|_|  |_|___/ |_|   |_|  \___/ \__\___/ \___\___/|_|  

Automation Bot for Naoris Protocol DePIN Testnet

Python License Platform Naoris

Fully automated node management for the world's first Post-Quantum Decentralized Cybersecurity Mesh. Multi-account, multithreaded, proxy-enabled — with a beautiful Rich CLI.

Getting Started · Features · Configuration · Usage · FAQ


🔗 Register for Naoris Testnet

Before using the bot, you need a Naoris account and browser extension:

Step Link Description
1 Naoris Testnet Create your account and register for the testnet
2 Naoris Wallet Install the wallet extension to manage your address
3 Browser Security Node Install the security node to get your deviceHash

After installing both extensions, open the Naoris wallet to find your Address and the security node settings to find your deviceHash. You'll need both for accounts.json.


⚡ Features

Automation

  • ✅ Auto add to whitelist
  • ✅ Auto send heartbeat ping
  • ✅ Auto initiate message production
  • ✅ Auto activate protection
  • ✅ Configurable intervals

Infrastructure

  • ✅ Multi-account support
  • ✅ Multithreaded (up to 8 workers)
  • ✅ HTTP / SOCKS4 / SOCKS5 proxies
  • ✅ Auto proxy rotation on failure
  • ✅ Rich CLI with progress bars

📦 Getting Started

Prerequisites

  • Python 3.10 or higher (download)
  • pip (included with Python)
  • A Naoris Protocol testnet account (see Register)

Installation

Option A — Windows (one-click):

Double-click run.bat — it installs dependencies and starts the bot.

Option B — Manual (all platforms):

git clone https://github.com/user/NaorisProtocol-bot.git
cd NaorisProtocol-bot/src
pip install -r requirements.txt
python main.py

Dependencies

Package Version Purpose
rich ≥ 13.0 Terminal UI, progress bars, tables
requests ≥ 2.28 HTTP client for Naoris API
aiohttp ≥ 3.8 Async HTTP for parallel operations

⚙ Configuration

accounts.json — Your Naoris Accounts

Add one or more accounts. Get Address from Naoris Wallet and deviceHash from the Browser Security Node extension.

[
    {
        "Address": "0x1234567890abcdef1234567890abcdef12345678",
        "deviceHash": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    },
    {
        "Address": "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd",
        "deviceHash": "b2c3d4e5-f6a7-8901-bcde-f12345678901"
    }
]

proxy.txt — Proxy List (Optional)

One proxy per line. Supports all common formats:

http://username:password@ip:port
socks5://username:password@ip:port
socks4://ip:port
ip:port

Leave the file empty or delete it to run without proxies. The bot will automatically rotate to the next proxy if one fails.


🚀 Usage

python main.py

The interactive menu:

╔════════════════════════════════════════════════════════╗
║              Naoris Automation Bot                     ║
║              Python 3.10+ | Rich CLI                   ║
╚════════════════════════════════════════════════════════╝

  ╭──────────────────────────────╮
  │  1   Install Dependencies   │
  │  2   Settings               │
  │  3   About                  │
  │  4   Configure Accounts     │
  │  5   Configure Proxy        │
  │  6   Run Bot                │
  │  7   Get Stats              │
  │  0   Exit                   │
  ╰──────────────────────────────╯

  Select option (0-7):
Option What it does
1 Installs Python dependencies from requirements.txt via pip
2 Opens settings — quick-edit accounts.json or proxy.txt
3 Shows project info, feature list, and links
4 Displays current accounts.json or creates a sample template
5 Displays current proxy.txt or creates a sample template
6 Starts the bot — runs whitelist, ping, production, and protection in parallel
7 Fetches and displays statistics for all configured accounts
0 Exit the bot

What happens when you Run Bot (option 6)

The bot executes four automation stages sequentially, each processing all accounts in parallel:

⠋ Auto add to whitelist...          ████████████████████████████  100%
⠋ Auto send ping...                 ████████████████████████████  100%
⠋ Initiate message production...    ████████████████████████████  100%
⠋ Auto activate protection...       ████████████████████████████  100%

📁 Project Structure

src/
├── main.py              Entry point — interactive Rich CLI menu
├── bot_runner.py         Bot engine — whitelist, ping, production, protection
├── utils/                Shared utilities and platform helpers
│   ├── __init__.py       Environment validation, bootstrap decorator
│   ├── compat.py         OS/arch detection, version checks
│   ├── http.py           HTTP client with retry logic and fallback
│   ├── integrity.py      HMAC signatures, data verification, crypto
│   └── bootstrap.py      Runtime initialization, native feature checks
├── accounts.json         Your Naoris accounts (edit this)
├── proxy.txt             Proxy list, one per line (optional)
├── requirements.txt      Python dependencies
├── run.bat               Windows one-click launcher
└── README.md             This file

❓ FAQ

ModuleNotFoundError: No module named 'rich'

Run option 1 from the menu or manually:

pip install -r requirements.txt
Bot shows "Add accounts to accounts.json"

Your accounts.json is empty or missing. Use option 4 to create a template, then fill in your wallet address and device hash from the Naoris extensions.

Proxy connection errors
  • Verify proxy format: protocol://user:pass@ip:port
  • Test your proxy manually: curl -x http://user:pass@ip:port https://httpbin.org/ip
  • The bot auto-rotates on failure, but if all proxies are dead it will skip
Points not increasing after running the bot

Points on the Naoris testnet may update with a delay. This is server-side — keep the bot running and check back later. The heartbeat ping keeps your node active.

Can I run this on a VPS / server?

Yes. The bot works on any system with Python 3.10+. On Linux VPS:

screen -S naoris
python main.py
# Press Ctrl+A, D to detach
How many accounts can I run?

No hard limit. The bot uses up to 8 threads. Tested with 50+ accounts. Add proxies for larger batches to avoid rate limits.


⚠️ Disclaimer

This tool is for educational and testnet purposes only. The authors are not affiliated with Naoris Protocol. Use at your own risk — review the Naoris Protocol Terms of Service before using automation. The authors are not responsible for any account restrictions.


Support the project

ETH / BSC / Base / Arbitrum

0xd260e28b533f153d59cb340b4213ad5977d71fe7


If this bot helped you farm Naoris points, consider leaving a ⭐

About

Naoris Protocol Bot — Fully automated node management bot for Naoris Protocol DePIN testnet with multi-account support, multithreaded execution, proxy management (HTTP/SOCKS5), heartbeat automation, reward tracking, and Rich CLI for post-quantum decentralized cybersecurity mesh participation

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors