2022年6月8日 星期三

挖礦 | 使用NBMiner挖礦到幣安的乙太幣礦池

這邊簡單介紹用NBMiner挖礦到幣安的乙太幣礦池,首先要完成幣安的註冊認證,這部分就不介紹了,然後準備好一台Linux或Windows的機器,我想花比較多時間的應該是在幣安的部分,真的有點麻煩,反而是NBMiner用一行指令就搞定了,直接看步驟吧~


步驟一:建立幣安挖礦帳戶


登入到幣安首頁後,點選理財 -> 幣安礦池


點選右上方有個頭像,選擇挖礦帳戶設置




選擇添加挖礦帳戶


取名後創建帳戶

這邊可以看到已經創建好幣安乙太幣礦池,接著記住配置資訊


步驟二:找到幣安錢包地址Wallet address


點選上方錢包 -> 現貨錢包,然後找到ETH點選充值




幣種選擇ETH,主網類型選擇ETH,就會產生錢包地址,點複製圖示複製下來待會會用到




步驟三:用NBMiner挖礦


直接到NBMiner的Github專案下載程式,解壓縮後進入目錄,後輸入下面命令

nbminer -a ethash -o {Mining pool address} -u {Your wallet address}.{Your miner name}:{礦機名稱} -log -pl {WW}%% -cclock @{XXXX} -mclock {YYYY} -fan {FF}

由於我是用Linux挖,log後面調整顯卡頻率參數都不可以使用,有興趣的就是裝Windows來操作看看。
root@Test-2080:~/nb/NBMiner_Linux# ./nbminer -a ethash -o ethash.poolbinance.com:3333 -u 0x87b6d..(錢包地址).MPEN001:3090-01 -log
[16:45:28] INFO - ----------------------------------------------
[16:45:28] INFO - |                                            |
[16:45:28] INFO - |                                            |
[16:45:28] INFO - |                                            |
[16:45:28] INFO - |                                            |
[16:45:28] INFO - |                                            |
[16:45:28] INFO - |                                            |
[16:45:28] INFO - |                                            |
[16:45:28] INFO - |         NBMiner - Crypto GPU Miner         |
[16:45:28] INFO - |                    42.2                    |
[16:45:28] INFO - |                                            |
[16:45:28] INFO - ----------------------------------------------
[16:45:28] INFO - ------------------- System -------------------
[16:45:28] INFO - OS:     Ubuntu 20.04.4 LTS, 5.13.0-39-generic
[16:45:28] INFO - CPU:    Intel(R) Core(TM) i9-9820X CPU @ 3.30GHz
[16:45:28] INFO - RAM:    22380 MB / 24005 MB
[16:45:28] INFO - CU_DRV: 11.6, 510.54
[16:45:28] INFO - ------------------- Config -------------------
[16:45:28] INFO - ALGO:   ethash
[16:45:28] INFO - URL:    ethash.poolbinance.com:3333
[16:45:28] INFO - USER:   0x87beruoeru6232a3c411205d51bd0fc9e01df0c9.MPEN001.001:123456
[16:45:28] INFO - TEMP:   limit 90C, start 85C
[16:45:28] INFO - ------------------- Device -------------------
[16:45:28] INFO -  |ID|PCI|  CC| Memory| CU| RamType| RamVendor|
[16:45:28] INFO - *| 0|  1|  75| 11019M| 68|   GDDR6|   Samsung| NVIDIA GeForce RTX 2080 Ti
[16:45:28] INFO - ----------------------------------------------
[16:45:28] INFO - ethash - Logging in to ethash.poolbinance.com(76.223.62.235):3333 ...
[16:45:28] INFO - ethash - Login succeeded. #成功登入後就可以順利挖礦
[16:45:28] INFO - ethash - New job: ethash.poolbinance.com:3333, ID: 0ed12338, HEIGHT: 13400648, DIFF: 8.590G
[16:45:28] INFO - API:  0.0.0.0:22333
[16:45:28] INFO - API server started.
[16:45:30] INFO - ethash - New job: ethash.poolbinance.com:3333, ID: 9e650110, HEIGHT: 13400648, DIFF: 8.590G
[16:45:30] INFO - Device 0 started, Free mem = 10855 MB.
[16:45:33] INFO - ethash - New job: ethash.poolbinance.com:3333, ID: 89f0c1be, HEIGHT: 13400648, DIFF: 8.590G
[16:45:35] INFO - Light cache built, 4.82 s.
[16:45:37] INFO - Device 0: DAG - Building, EPOCH 497
[16:45:39] INFO - ethash - New job: ethash.poolbinance.com:3333, ID: 26649cfc, HEIGHT: 13400648, DIFF: 8.590G
[16:45:43] INFO - ethash - New job: ethash.poolbinance.com:3333, ID: 0c0bfcc0, HEIGHT: 13400648, DIFF: 8.590G
[16:45:44] INFO - Device 0: DAG - Built, 6.72 s.
[16:45:44] INFO - Device 0: DAG - Verification ok.
[16:45:49] INFO - ethash - New job: ethash.poolbinance.com:3333, ID: 33415041, HEIGHT: 13400648, DIFF: 8.590G
[16:45:52] INFO - ethash - New job: ethash.poolbinance.com:3333, ID: 1e836798, HEIGHT: 13400648, DIFF: 8.590G
[16:45:54] INFO - ethash - New job: ethash.poolbinance.com:3333, ID: 9514d0d8, HEIGHT: 13400648, DIFF: 8.590G
[16:45:58] INFO - ==================== [nbminer v42.2] Summary 2022-06-08 16:45:58 ====================
[16:45:58] INFO - |ID|Device|Hashrate|Accept|Reject|Inv|Powr|CTmp|MTmp|Fan|CClk|GMClk|RV|MUtl|Eff/Watt|
[16:45:58] INFO - | 0|2080ti| 51.31 M|     0|     0|  0| 146|  66|  77| 30|1260| 6800|Sa|  88| 351.5 K|
[16:45:58] INFO - |------------------+------+------+---+----+------------------+-------------+--------|
[16:45:58] INFO - |    Total: 51.31 M|     0|     0|  0| 146| Uptime: 0D 00:00  NvDrv: 510.54  CPU: 2%|
[16:45:58] INFO - =====================================================================================



步驟四:確認挖礦狀態


這時候回到步驟一,幣安礦池,點統計可以看到目前礦機是否有在正常運作以及其他訊息。



點礦機也可以看到不同礦機挖礦的算力







沒有留言: