-
Notifications
You must be signed in to change notification settings - Fork 2
Mining
[Warning] Please remember your public key and store your keystore safely.
Download nbai node here(Please choose the latest version)
https://github.com/nebulaai/nbai-node/releases
Choose gnbai-v1.0.0-windows.zip
open cmd
c:\user\nbai>"gnbai-v1.0.0-windows" -rpcaddr 127.0.0.1 --rpcport 8081 --rpc --mine --nbaibase <your wallet address>
https://github.com/ethereum-mining/ethminer/releases/download/v0.16.1/ethminer-0.16.1-windows-amd64.zip
unzip the file and get the ethminer under bin open cmd cd to the bin folder
c:\user\nbai\bin> ethminer.exe http://127.0.0.1:8081
Start a local node(Please choose the latest version)
wget https://github.com/nebulaai/nbai-node/releases/download/v1.1.0/gnbai-linux-amd64-1.1.0
chmod +x gnbai-linux-amd64-1.1.0
./gnbai-linux-amd64-1.1.0 -rpcaddr 127.0.0.1 --rpcport 8081 --rpc --mine --nbaibase <your wallet address>
Download etherminer most recent release here
https://github.com/ethereum-mining/ethminer/releases/tag/v0.18.0
./ethminer -U -P getwork://127.0.0.1:8081
Using http://aegispool.org as an example
[Warning] Please remember your public key and save your keystore safely
Download T-Rex unzip the code, in the fold, create a script, nbai-aegispool.sh
#!/bin/sh
./t-rex -c config.txt
copy config_example to config.txt
"pools": [
{
"user": "0xXXXXXXXXX", // wallet address (change it)
"url": "stratum+tcp://aegispool.org:8008", // nbfs pool url
"pass": "x", // password
"worker": "%HOSTNAME%_rig0" // worker name
}
],
// Name of mining algorithm. You can see available names at the top of the help file.
"algo": "ethash",
save it.
Make nbai-aegispool.sh executable
chmod +x nbai-aegispool.sh
./nbai-aegispool.sh
Q: I cannot sync up the node
A: You can manually add the peers
./gnbai-linux-amd64-1.1.0 attach ./node1/geth.ipc
After enter the terminal, please enter:
admin.addPeer("enode://609ef69eace9793125a284d178a362d8f53d83591537f582c2c2b73ce42dca69ba371d4d253ef300efee1ae81b666a0dfc29d47ef5536e7713d1f47ee85c0fd6@18.215.32.172:30332");
admin.addPeer("enode://61e8a477bdb61e09fc10f43a0a9a139f73282d04ea8f8b4bf341694cc1abb26fdea732dddf1e2d25bb76794edecd5d901d1512c7604dd1279faf78737b3c54fd@18.211.182.244:30332");