GRIN Gold Miner on HiveOS
1/22/2019 Update
Have had issues with HiveOS native GrinMiner and GrinGoldMiner installing.
bminer is running great hash and working without issue. Screenshots of setup below. Running against F2 pool.
Older News
GRIN is now on TradeOgre
https://tradeogre.com/exchange/BTC-GRIN
How To Mine Grin Coin | Windows & Linux Mining Guide + What is GrinCoin anyway?
Updates
GitHub for GRIN on HiveOS
https://github.com/minershive/hiveos-linux/tree/master/hive/miners/grinminer
GRIN Pools
See what GRIN pools are most active
https://miningpoolstats.stream/grin-c29
Sparkpool is kind of a “Pain in the Ass” but does work.
WARNING Have gotten reports that people cannot get GRIN off this pool 1/16/2019. Will note here if people get past issues.
Just got GRINmint https://grinmint.com working, below are my screenshots.
F2 seems to be working well.
Hive OS F2 https://www.f2pool.com/ Config
Create an account at F2. Your username and password will be needed for miner login to exchange.
HiveOS F2 Screenshots
Pool URL:Port
grin29.f2pool.com:13654
Custom Miner URL
https://github.com/rigamp/HiveOS-GRIN-Miner/releases/download/v1.0.2c/grin_auto-1.0.2c.tar.gz
Wallet
Flight Sheet Setup 01
Flight Sheet Setup 02
Click on “Setup Miner Config” from above screenshot.
Hive OS GRINmint.com Config
WARNING Have gotten reports that people cannot get GRIN off this pool 1/16/2019. Will note here if people get past issues.
Grinmint Documentation:
https://blog.blockcypher.com/mining-grin-on-grinmint-a-step-by-step-tutorial-98235c038876
HiveOS Screeshots
Installation URL:
https://github.com/rigamp/HiveOS-GRIN-Miner/releases/download/v1.0.0.0/grin_auto-1.0.0.tar.gz
Pool URL:
us-east-stratum.grinmint.com:3416
Note the FAQ here: https://grinmint.com/pages/faq.html
Isn’t noted below but following the FAQ suggestion and adding +randomvalue of some and kind and pawword is a good idea. Password would be in “Pass” field. Didn’t add here because have not tested to satisfaction to pass on. Was having trouble getting “Pass” to send over to Pool. Without password limited to email payouts from GRINmint.
Even tried hardcoding values in grin-miner.toml
stratum_server_login = “satoshi+randomvalue@nakamoto.com/rig21”
stratum_server_password = “myverystrongpassword”
But didn’t seem to pass over that way either. More on this at Setup FAQ at GRINmint
What I am sure works is below.
After this apply Flight Sheet apply to miner.
Goto Pool URL (edit for your email):
https://grinmint.com/pages/dashboard.html?email=TurdMonkeyLove%40whatisanoperator.com®ion=US
miner
If your on a mac and not used to the vi editor Text Edit can be used. Open files like this:
open -a TextEdit $HOME/.grin/main/grin-wallet.toml
Mainnet GRIN Wallet Config
Wallets can be downloaded here:
https://github.com/mimblewimble/grin/releases
# Download for your architecture
# Start Node (needed for Wallet to work properly)
./grin
# Init Wallet
./grin wallet -p password init
# Configure Listener
cd
vi $HOME/.grin/main/grin-wallet.toml
# Edit the noted line
#host IP for wallet listener, change to “0.0.0.0” to receive grins
#api_listen_interface = “127.0.0.1”
api_listen_interface = “0.0.0.0”
# Fire up the listener!
./grin wallet listen
Password:
20190115 11:10:54.137 WARN grin_wallet::controller – Starting HTTP Foreign listener API server at 0.0.0.0:3415.
20190115 11:10:54.137 WARN grin_wallet::controller – HTTP Foreign listener started.
# Open needed firewall port. Note for wallet to work this needs to be port forwarded through firewall/router.
ufw allow 13415
Now the GRINmint pool can send you deposits.
# Check wallet status
./grin wallet status
GRIN Payouts from GRINmint https://grinmint.com
I didn’t set a password at the start so had to use email method. It worked. Info on working with attachment here:
https://github.com/mimblewimble/docs/wiki/How-to-use-the-Grin-wallet
######## Older Pre-Mainnet Stuff Below ########
Sparkpool is supporting testnet and has instructions for GRIN Miner setup.
https://support.sparkpool.com/hc/en-us/articles/360015566134-Grin-withdraw-tool-tutorial-SparkPool
Follow realworlducs on twitter, will be tweeting updates https://twitter.com/realucstweet
IF YOU get some updates please let me know on twitter.
Hive announcements channel.
All discussions are in this group https://t.me/hiveoschat_en
Chat and support for Hive OS.
Announcements are on other channel https://t.me/minershive
YES! – Custom Miner: GrinGoldMiner!
NOTE!# use updated GRIN Minder in flightsheet for below setup
https://github.com/ATrump/HiveMinersIntegrations/raw/master/gringoldminer-2.6.tar.gz
https://forum.hiveos.farm/t/custom-miner-gringoldminer/10240
Got the custom miner working
This works. Something to note the Hive OS “Wallet and worker template” in custom config is:
your_email/rig_name.
This is setup when registering with Sparkpool https://www.sparkpool.com/
Note that a random email is created when registering at Sparkpool, so be sure to add one that you own. HiveOS Wallet address does not really matter unless passing as variable (I didn’t, just hardcoded “your_email/rig_name”).
Grin is under development. Launch planned for Jan. 15th 2019.
Have this running on Ubuntu Server. HiveOS Custom Miner, is said to be scheduled for race day from Hive (even a pool). Can scroll to bottom to see non-custom minter cut and paste (just getting working already) version. Some recent news on mining GRIN H4SHR8 Crypto Mining Podcast https://www.youtube.com/watch?v=aDmMLOUgtE0
The grin-miner requires 8GB of RAM. Process will run out of memory with less and kernel will kill it.
CPU Requirements:
“They say to use an i5 but you might be able to get away with an i3. Celerons are gonna get rekt” ~ Source https://twitter.com/cryptochrisw
That is a pricey CPU upgrade. Also note motherboard has to be compatible!
Intel Core i5-8400 Desktop Processor 6 Cores up to 4.0 GHz LGA 1151 300 Series 65W
Did get a hold of a GRIN Dev and asked about this on https://gitter.im/grin-pool/Lobby
So what does all this mean? Seems 8GB of RAM is needed for sure, but CPU requirements are uncertain (to me at least). Would not upgrade for race day if CPU works on Floonet/Testnet. Very good reason to test your rig now!
GRIN Information
GRIN Site
https://grin-tech.org/
GRIN Miner on GitHub
https://github.com/mimblewimble/grin-miner
GRIN Forum
https://www.grin-forum.org/
GRIN Mining Pools
https://sparkpool.com/ This appears to be the most popular.
https://grinmint.com/pages/index.html
GRIN Social Media
The twitter is pretty active
https://twitter.com/grinmw
Introduction Videos
Info on MimbleWimble from the master
Bitcoin Q&A: MimbleWimble and Dandelion
Good description of GRIN
Davincij15 reveals GRIN COIN!! How to participate & profit?
This is Short and To the Point
Mimblewimble Launches: BEAM vs Grin
If you would like to deep dive into MimbleWimble. This is good.
What is MimbleWimble? (incl. Grin)
Long and OK
MimbleWimble – Beam And Grin
Build GRIN Miner
This is an AMAZING video walkthrough that follows. Pretty much all you need.
Getting Set Up With Grin
https://medium.com/@applicationist/getting-set-up-with-grin-ce76fa96a5fb
How to Mine GRIN with Mining Pool (Ubuntu + Nvidia)
Getting Set Up With Grin
Note will need to add –floonet to all commands for testnet
Only testnet exists so this represents setup for that. Once race day comes Jan 15th will update for production. Planning on having a testnet custom miner before the 15th. Not sure if HiveOS will have a production miner for GRIM by the 15th. If not, will kick one out.
Post at Bitcointalk covering EVERYTHING
[ANN] Grin | PoW Mining | Electronic transactions for all. Community
https://bitcointalk.org/index.php?topic=5090427.0
Specific Setups For CPU/CPU Mining
Read through all the Guides below, a successful setup requires pieces of each.
At the bottom of post, put my mostly cut and paste setup for GRIN Miner on HiveOS.
Grin Mining Pool — GPU Mining — How To
https://medium.com/@blade.doyle/gpu-mining-on-mwgrinpool-com-how-to-72970e550a27
Grin Mining Pool — CPU Mining — How To
https://medium.com/@blade.doyle/cpu-mining-on-mwgrinpool-com-how-to-efb9ed102bc9
“Getting Set Up With Grin” below flows well and gets all pieces in place after the above GPU/CPU setup
Getting Set Up With Grin
https://medium.com/@applicationist/getting-set-up-with-grin-ce76fa96a5fb
Super Quick Example (not custom miner integrated)
These are my mostly cut and paste notes on a successful install on HiveOS. These should work on Ubuntu also but are not tested there.
It gets complicated and like most I “just want it to work” so here is fast-track.
All that is needed to mine GRIN against a pool is a GRIN Miner and GRIN Wallet Listener. A GRIN Node has to be running for the wallet to work, and that is covered in the Listener section. A Node helps the network anyhow so go for it.
Best practice (IMHO) is to have Wallet Listener and Node running on separate machine from Miner.
I ran out of space on default HiveOS partition, so you might want to grow. This is a very good practice for a HiveOS setup anyway. There is an option at the HiveOS miner CLI login that works.
Resize filesystem to fill disk
https://forum.hiveos.farm/t/resize-filesystem-to-fill-disk/3769
Create account at https://www.mwgrinpool.com/
These will be the credentials you login with in miner config.
GRIN Miner
From https://medium.com/@blade.doyle/cpu-mining-on-mwgrinpool-com-how-to-efb9ed102bc9
(Did the CPU Miner first to ‘make sure it all works’ and not interrupt GPU mining on same rig)
sudo su – root
mkdir ~/mwgrinpool
cd ~/mwgrinpool
apt-get update
sudo apt-get install -y curl git cmake make zlib1g-dev pkgconf \
ncurses-dev libncursesw5-dev linux-headers-generic g++ \
libssl-dev
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
# For some reason the $ENV for root is jacked a little, so run this to get straight.
sudo su – root
cd ~/mwgrinpool
git clone https://github.com/mimblewimble/grin-miner.git
cd grin-miner
git submodule update –init
cargo build –release
# Below commands are nice, or just look at what is happening and edit grin-miner.toml
# login for the stratum server (if required)
stratum_server_login = “username”
# password for the stratum server (if required)
stratum_server_password = “password”
sed -i ‘s/stratum_server_addr.*/stratum_server_addr = “stratum.mwgrinpool.com:3333″/’ grin-miner.toml
# Note below two steps are login created at https://www.mwgrinpool.com/
# Type username
printf “\nUsername: ” && read username && sed -i ‘s/.*stratum_server_login.*/stratum_server_login = “‘$username'”/’ grin-miner.toml
# Type password
printf “\nPassword: ” && read password && sed -i ‘s/.*stratum_server_password.*/stratum_server_password = “‘$password'”/’ grin-miner.toml
# How many cores you got?
grep -c ^processor /proc/cpuinfo
# Select number of cores to mine with
printf “\nNumber of Processors: ” && read nthreads && sed -i ‘s/^nthreads.*/nthreads = ‘$nthreads’/’ grin-miner.toml
# RUN IT! I had to re-image HiveOS first time, because process would die without logging any reason. Fresh HiveOS worked fine.
./target/release/grin-miner
If quickly after launching process dies check /var/log/syslog. Found that 4g wasn’t enough to run the miner.
GRIN Wallet Listener
There are two parts. The Listener and the Web Wallet. Might be a very good idea NOT to run the wallet on miner.
Note: To run a listener and get payouts from pool, will need TCP port 13415 forwarded from external IP through to machine running Listener.
Listener
Source https://medium.com/@applicationist/getting-set-up-with-grin-ce76fa96a5fb
# Install dependencies
apt-get update
apt-get install build-essential cmake git libgit2-dev clang libncurses5-dev libncursesw5-dev zlib1g-dev pkg-config libssl-dev
# Download and install Wallet (these are Node also)
git clone https://github.com/mimblewimble/grin.git
cd grin
cargo build –release
# Start Node (needed for Wallet to work properly)
./grin/target/release/grin –floonet
# After running below command, note the “recovery phrase”
./target/release/grin –floonet wallet -p Make_Up_A_Password init
cd
vi .grin/floo/grin-wallet.toml
# Edit the noted line
#host IP for wallet listener, change to “0.0.0.0” to receive grins
#api_listen_interface = “127.0.0.1”
api_listen_interface = “0.0.0.0”
# Open needed firewall port. Note for wallet to work this needs to be port forwarded through firewall/router.
ufw allow 13415
# Fire up the listener!
# Command will hang up window/terminal so escape to screen or leave terminal/window open.
./grin/target/release/grin –floonet wallet listen
./grin/target/release/grin –floonet wallet listen
Password:
20190109 19:21:13.599 WARN grin_wallet::controller – Starting HTTP Foreign listener API server at 0.0.0.0:13415.
20190109 19:21:13.600 WARN grin_wallet::controller – HTTP Foreign listener started.
# Get some testnet coins. This will show if wallet has proper connectivity. This is better documented in source document above this section.
# This requests GRIN
source $HOME/.cargo/env
cd $HOME/grin/
curl gringod.info
The output of above command is fun “Of what awaits the sin of greed, For those who take, but do not earn, Must pay most dearly in their turn. Wait 5.7 minutes.“
# Info on Wallet (did the GRIN arrive? Takes a while)
./target/release/grin –floonet wallet info
Configure Pool To Send Payments to Listener
Source: https://medium.com/@blade.doyle/configure-payments-on-mwgrinpool-com-how-to-7b84163ec467
Add your external address and listener port. Will need a port forward at firewall for this.
# After a while check to see if GRIN is coming your way
./target/release/grin –floonet wallet txs
YOU ARE MINING!!!!!!! YOU ARE MINING!!!!!!! YOU ARE MINING!!!!!!!
YOU ARE MINING!!!!!!! YOU ARE MINING!!!!!!! YOU ARE MINING!!!!!!!
Web Wallet
Still Do Not Have This Working! Gave up on Web Wallet, since it isn’t essential to mine.
Source: https://medium.com/@applicationist/getting-set-up-with-grin-ce76fa96a5fb
# Go home
cd $HOME/.grin
# Edit this file
vi floo/grin-wallet.toml
# Comment out
#api_secret_path = “/root/.grin/.api_secret”
# Don’t know what this does, but needs to be running
cd $HOME/
./grin/target/release/grin –floonet wallet owner_api
# Build Web Wallet
git clone https://github.com/mimblewimble/grin-web-wallet.git
cd grin-web-wallet
apt install npm
npm install -g @angular/cli
npm install
# Start Web Wallet
ng serve
# Appears the Web Wallet is only available from localhost
# Even with all running, I get the below error and cannot get the Web Wallet working. If you have any ideas email me kg6itc@gmail.com. Thanks!
Be First to Comment