CKB (Nervos) Testnet Mining Tutorial

CKB is the token of Nervos chain. Here is the 4th phase testnet mining tutorial. This mining event will start from 6:00 UTC on Sep 7th, to 6:00 UTC on Sep 21st.

More details: https://talk.nervos.org/t/nervos-ckb-request-for-comment/3485

Part 1 — Mining Equipment And Environment

Algorithm: Eaglesong

Support: Nvidia GPU card

Mining software: Bminer (The official CKB miner software is not supported)

NBMiner(A card & N card both supported)

Part 2 — Obtain CKB Wallet Address

2.1 Download the wallet

Currently only command wallet is available. First please download the wallet as below:

GitHub: https://github.com/nervosnetwork/ckb/releases

Choose the wallet version according to the system. Here we take Windows as the example.

For Windows 64-digit: ckb_v0.19.2_x86_64-pc-windows-msvc.zip

2.2 Unzip the wallet folder and operate the file through cmd

You can save the folder on the desktop (C:\Users\ray\Desktop\ckb_v0.18.0_x86_64-pc-windows-msvc). If you want to save it in other folder, please obtain the file source through the position below:

Press “Windows+R”button on your keyboard, enter the cmd, then operate it after confirmation. Here we take the source above as the example. Please press “enter” button after input the commands every time.
1. Input c:                    (Go into the relevant disk, if the file is saved in D disk, then input d:)

2. Input dir                    (Check files and folders in the current index)

3. cd+Space+the folder name      (Check the chosen folder index)

4. “cd desktop” and press enter             (go to the desktop page)

Input cd ckb_v0.18.0_x86_64-pc-windows-msvc and press enter button, to go into the chosen folder.

As below:

For more details please consider the tutorial: https://www.wikihow.com/Run-Exe-from-Cmd-on-PC-or-Mac

2.3 Generate the wallet

Input ckb-cli account new then press enter button.

Input the password and press enter button after “Password” and “Repeat password”. Your password will not be shown in your screen. As an example, if the password is “123456”, it will be shown as below:

$ ckb-cli account new
Password:
Repeat password: address:
mainnet: ckb1qyqyz82dk3htdyylvc3sn4p7xykh6mupgfts083sx9
testnet: ckt1qyqyz82dk3htdyylvc3sn4p7xykh6mupgftsjz002e
lock_arg: 411d4db46eb6909f662309d43e312d7d6f814257
lock_hash: ~


Save the content under “Address” and keep it safe.

2.4 Export the wallet private key

Input ckb-cli account export --lock-arg 411d4db46eb6909f662309d43e312d7d6f814257 --extended-privkey-path privkey

Switch the numbers after lock-arg to your new generated lock-arg as above.

After input the password that configured above, there will generate a private key file, where it saves your private key (1st line) and the generated hardware wallet chain number (2nd line).

Until now, the wallet has been completely configured.

Attention:you must use the mainnet address to main ckb in F2Pool

Part 3 — Obtain the mining software

Bminer:https://www.bminer.me/zh/releases/ 

Bminer support N card miner to dual-mine ckb and eth:

bminer -uri ethash://eth_wallet_address.worker_name@eth.f2pool.com:8008 -uri2 ckb://ckb_wallet_address.worker_name@ckb.f2pool.com:4300

Attention:you must use the mainnet address to main ckb in F2Pool

 

NBMiner:https://github.com/NebuTech/NBMiner/releases

NBMiner support N card and A card miner to mine ckb or dual-mine ckb and eth:

ckb mining:

nbminer -a eaglesong -o stratum+tcp://ckb.f2pool.com:4300 -u wallet_address.worker_name

ckb and eth dual-mining:

nbminer -a eaglesong_ethash -o stratum+tcp://ckb.f2pool.cn:4300 -u wallet_address.worker_name -do ethproxy+tcp://eth.f2pool.com:8008 -du eth_wallet_address.worker_name

Attention:you must use the mainnet address to main ckb in F2Pool

 

Part 4 – Monitoring mining machine status and revenue

To view the operational status and daily income of the mining machine, you can access the f2pool official website, click on the search bar in the upper right corner, and enter the wallet address to check.

You can also view the information through our f2pool app. From the login screen, select “Quick View” in the bottom right corner and enter your wallet address.

Please note: After you set up your miner, it may take a little time before your mining data will sync with the f2pool website and app.

 

Happy Mining 🐟

Having issues? Send us an email at support@f2pool.com or find us on Discord.

Also, follow us on Twitter!