Tải xuống NushyPool
Tải các gói npminer cho NushyPool và giữ ghi chú cài đặt, lệnh, hỗ trợ nền tảng và công cụ mining tương lai ở một nơi.
NPMiner
Gói phát hành mới nhấtTrình đào GPU đa coin hiệu năng cao với backend CUDA và OpenCL.
npminer hỗ trợ gì
- 0% devfee on nushypool.com
Người dùng NushyPool đào không mất dev fee. - Stratum, gRPC, and Xelis RPC
Dùng cùng một flow với--urlvà--user. - API thống kê cục bộ
Cung cấp thống kê HTTP chỉ đọc cho HiveOS, mmpOS và dashboard tương thích XMRig. - GPU NVIDIA và AMD
CUDA cho NVIDIA, OpenCL cho card AMD.
Hỗ trợ AMD OpenCL còn thử nghiệm. - Chọn nhiều GPU
Dùng--devicesvới GPU Index từ--list-gpus. - Bộ nhớ đệm autotune
Thiết lập launch đã tune được dùng lại sau khi restart. - Giám sát watchdog
Khởi động và giám sát worker theo hướng phục hồi.
Thuật toán
| Coin | Algo | Backend |
|---|---|---|
| Vecno | memhash | CUDA / OpenCL |
| Cryptix | cryptix | CUDA / OpenCL |
| Hoosat | hoohash | CUDA / OpenCL |
| Xelis | xelishash | CUDA / OpenCL |
Dùng driver GPU mới nhất để ổn định và có hashrate tốt nhất.
Devfee
Các endpoint NushyPool được miễn phí. Khi đào trên pool tương thích khác hoặc solo trực tiếp tới node riêng, npminer áp dụng devfee tích hợp như bên dưới.
| Coin | Thuật toán | Pool Stratum khác | Node trực tiếp solo | NushyPool |
|---|---|---|---|---|
| Vecno | memhash |
1% | 1% via grpc:// |
0% |
| Hoosat | hoohash |
1% | 1% via grpc:// |
0% |
| Cryptix | cryptix |
1% | 1% via grpc:// |
0% |
| Xelis | xelishash |
1% | 1% via rpc:// |
0% |
Với XelisHash, solo mining direct-node dùng endpoint JSON-RPC của Xelis, ví dụ rpc://ADDRESS:PORT. Các ví dụ direct-node của Vecno, Hoosat và Cryptix dùng grpc://ADDRESS:PORT.
Ví dụ đào pool
Vecno PPS/Solo pool
./npminer -a memhash -o stratum+tcp://POOL:PORT -u vecno:YOUR_WALLET -w worker1
Hoosat PPS/Solo pool
./npminer -a hoohash -o stratum+tcp://POOL:PORT -u hoosat:YOUR_WALLET -w worker1
Cryptix PPS/Solo pool
./npminer -a cryptix -o stratum+tcp://nushypool.com:40003 -u cryptix:YOUR_WALLET -w worker1
XelisHash PPS/Solo pool
./npminer -a xelishash -o stratum+tcp://nushypool.com:40008 -u xel:YOUR_WALLET -w worker1
Liệt kê GPU
./npminer --list-gpus
Chọn GPU
./npminer -a memhash -o grpc://POOL:PORT -u vecno:YOUR_WALLET -d 0,2
Ví dụ solo direct-node
Vecno gRPC
./npminer -a memhash -o grpc://127.0.0.1:7110 -u vecno:YOUR_WALLET
Hoosat gRPC
./npminer -a hoohash -o grpc://127.0.0.1:42420 -u hoosat:YOUR_WALLET
Cryptix gRPC
./npminer -a cryptix -o grpc://127.0.0.1:19201 -u cryptix:YOUR_WALLET
XelisHash RPC
./npminer -a xelishash -o rpc://127.0.0.1:8080 -u xel:YOUR_WALLET
Dùng grpc:// cho direct-node mining kiểu Vecno. Dùng rpc://host:port[/json_rpc] cho XelisHash direct-node mining. --devices dùng GPU Index in ra bởi --list-gpus, không phải Bus ID.
Tham chiếu API
npminer cung cấp HTTP API cục bộ chỉ đọc cho HiveOS, mmpOS và công cụ giám sát tương thích XMRig. Khi chạy standalone, API tắt cho tới khi bạn bật; gói HiveOS và mmpOS bật localhost mặc định.
Bật API
Dùng --api-port để khởi động API trên localhost. Cổng mining OS mặc định là 42330, và --api-disable luôn được ưu tiên.
./npminer -a memhash -o stratum+tcp://nushypool.com:50010 -u vecno:YOUR_WALLET -w Hashvilly --api-port 42330
Mặc định bảo mật
API mặc định bind vào 127.0.0.1. Bind tới địa chỉ khác yêu cầu --api-token, và client phải gửi Authorization: Bearer TOKEN.
Flag tương thích XMRig
Dashboard hiện có có thể dùng alias --http-enabled, --http-host, --http-port và --http-access-token. API npminer v1 chỉ đọc; --http-no-restricted được chấp nhận như no-op.
./npminer -a xelishash -o stratum+tcp://nushypool.com:40008 -u xel:YOUR_WALLET -w Hashvilly --http-enabled --http-port 42330
| Tùy chọn | Mô tả |
|---|---|
--api-port <PORT> | Khởi động HTTP stats API cục bộ trên cổng đã chọn. |
--api-bind <ADDR> | Địa chỉ bind cho API listener. Mặc định là localhost. |
--api-token <TOKEN> | Bearer token dùng để bảo vệ phản hồi API. Bắt buộc cho bind không phải local. |
--api-disable | Tắt API, kể cả khi gói mining OS bình thường sẽ bật nó. |
--api-worker-id <ID> | Ghi đè worker ID hiển thị trong phản hồi API. |
--api-id <ID> | Ghi đè ID instance miner hiển thị trong phản hồi API. |
--http-enabled, --http-host, --http-port, --http-access-token | Alias tương thích XMRig cho phần mềm giám sát đã biết các HTTP flag của miner. |
--http-no-restricted | Được chấp nhận để tương thích CLI. npminer v1 không mở endpoint ghi hoặc điều khiển. |
| Endpoint | Phản hồi |
|---|---|
/npminer/v1/health | Phản hồi health nhỏ với uptime, thuật toán và trạng thái snapshot. |
/npminer/v1/stats | Stats native đầy đủ của npminer, gồm tổng hashrate, telemetry từng device, shares, difficulty, mode, URL và tuổi snapshot. |
/npminer/v1/hiveos | Stats JSON dạng HiveOS cho tích hợp mining OS. |
/npminer/v1/mmpos | Stats JSON dạng mmpOS cho tích hợp mining OS. |
/2/summary, / | Phản hồi summary kiểu XMRig cho dashboard giám sát phổ biến. |
/2/backends | Phản hồi backend và thread từng GPU kiểu XMRig. |
/1/summary, /1/threads | Alias tương thích cho client kiểu XMRig cũ. |
Ví dụ truy vấn
curl http://127.0.0.1:42330/npminer/v1/stats curl http://127.0.0.1:42330/2/summary curl -H "Authorization: Bearer YOUR_TOKEN" http://127.0.0.1:42330/npminer/v1/stats
Tham chiếu lệnh
Output từ npminer -h.
npminer version
NushyPool Miner is high performance GPU miner
USAGE:
npminer [OPTIONS]
OPTIONS:
-a, --algo <ALGO> Mining algorithm to use (supported: memhash, hoohash, cryptix, xelishash)
--api-bind <API_BIND> HTTP stats API bind address [default: 127.0.0.1] [aliases: http-host]
--api-disable Disable the HTTP stats API even when a mining OS integration enables it
--api-id <API_ID> Custom instance ID reported by the HTTP stats API
--api-port <API_PORT> Enable the local HTTP stats API on this port [aliases: http-port]
--api-token <API_TOKEN> Bearer token for HTTP stats API access; required when binding outside localhost [aliases: http-access-token]
--api-worker-id <API_WORKER_ID> Custom worker ID reported by the HTTP stats API
--cuda-device <CUDA_DEVICE> Comma separated list with CUDA GPUs to use (example: --cuda-device 2,3 or --cuda-device=2,3) [default: all]
--cuda-disable Disable CUDA workers
--cuda-lock-core-clocks <CUDA_LOCK_CORE_CLOCKS> Lock core clocks eg: ,1200, [default: 0]
--cuda-lock-mem-clocks <CUDA_LOCK_MEM_CLOCKS> Lock mem clocks eg: ,810, [default: 0]
--cuda-no-blocking-sync Actively wait for result. Higher CPU usage, but less red blocks. Can have lower workload.
--cuda-nonce-gen <CUDA_NONCE_GEN> The random method used to generate nonces. Options: (i) xoshiro (ii) lean [default: lean] [default: lean]
--cuda-power-limits <CUDA_POWER_LIMITS> Lock power limits eg: ,150, [default: 0]
--cuda-workload <CUDA_WORKLOAD> Ratio of nonces to GPU possible parallel run for CUDA, optionally comma-separated per device [default: 128] [default: 128]
--cuda-workload-absolute The values given by workload are not ratio, but absolute number of nonces [default: false]
-d, --devices <DEVICES> Comma separated GPU Index values from --list-gpus, not Bus ID [default: all] [aliases: device]
-h, --help Print help information
--http-enabled Enable the HTTP stats API using the default API port
--http-no-restricted Accepted for XMRig CLI compatibility; npminer v1 API remains read-only
--list-gpus List detected GPUs and exit
--mine-when-not-synced Mine even when node says it is not synced
-o, --url <URL> Mining server URL for stratum, grpc, or Xelis RPC (e.g. stratum+tcp://host:port, grpc://host:port, rpc://host:port)
--opencl-amd-disable Disables AMD mining (does not override opencl-enable)
--opencl-device <OPENCL_DEVICE> Comma separated list with OpenCL GPUs to use on a specific platform
--opencl-no-amd-binary Disable fetching of precompiled AMD kernel (if exists)
--opencl-nonce-gen <OPENCL_NONCE_GEN> The random method used to generate nonces. Options: (i) xoshiro (ii) lean [default: lean]
--opencl-platform <OPENCL_PLATFORM> Which OpenCL platform to use (limited to one per executable)
--opencl-workload <OPENCL_WORKLOAD> Ratio of nonces to GPU possible parallel run for OpenCL [default: 128] [default: 128]
--opencl-workload-absolute The values given by workload are not ratio, but absolute number of nonces in OpenCL [default: false]
-p, --pass <PASS> Standard stratum mining CLI worker password (stratum only)
--reset-autotune Delete cached autotune/JIT state and force fresh autotuning before startup
--testnet Use testnet for solo grpc mining
-u, --user <USER> Mining wallet/address for stratum, grpc, or Xelis RPC (for example vecno:... or vecno:....worker)
-v, --version Print version information
-w, --worker <WORKER> Standard stratum mining CLI worker name (stratum only)
Examples:
npminer --algo memhash --url stratum+tcp://pool:50010 --user vecno:... --worker Hashvilly
npminer --algo hoohash --url grpc://127.0.0.1:7110 --user hoosat:...
npminer --algo cryptix --url stratum+tcp://nushypool.com:40003 --user cryptix:... --worker Hashvilly
npminer --algo xelishash --url stratum+tcp://nushypool.com:40008 --user xel:... --worker Hashvilly
npminer --algo xelishash --url rpc://127.0.0.1:8080 --user xel:...
npminer --algo xelishash --url stratum+tcp://nushypool.com:40008 --user xel:... --worker Hashvilly --api-port 42330
npminer --algo xelishash --url stratum+tcp://nushypool.com:40008 --user xel:... --worker Hashvilly --http-enabled
HTTP API examples:
curl http://127.0.0.1:42330/npminer/v1/stats
curl http://127.0.0.1:42330/2/summary
curl http://127.0.0.1:42330/2/backends



