Pages:
Author

Topic: My USB SHA256 lottery - page 2. (Read 499 times)

legendary
Activity: 3332
Merit: 6809
Cashback 15%
May 29, 2021, 06:43:59 AM
#2
I don't know how your post will go over with others in the mining section, but I appreciate your post, OP.  You remind me of this guy on Youtube who's always posting videos about using a RPi for crypto-related stuff. 

What you're doing is probably a waste of time, but man....I really love those USB stick miners, even in 2021.  I just wish I'd gotten into bitcoin in the early days when you could still mine profitably with a few of those.  And it's weird that the prices of Gekkoscience miners and Moonlanders have shot up in the past year or so.  I'm not sure if they're becoming collectibles or if people are actually using them to do what you're doing (lottery mining).

Anyway, the chances are against it but I wish you good luck finding a block.
copper member
Activity: 76
Merit: 47
May 29, 2021, 05:43:11 AM
#1



Hey

I saw many posts around here were people would to know more about a solo mining SHA 256 lottery.

I did mine with 2 Gekkoscience Newpac2, a old thinkpad which is running a StorJ node with a 10TO HDD. The CPU solo mine Monero XMR. You will need a powered usb hub to overclock your gekkoscience newpac. I put two cheap fans which I had to increase the overclock possibility.

You can use that with a Raspberry Pi 2-3-4. It failed with my Zero W.  I use the thinkpad because the STORJ node host on it cover easily all the costs. I personally think that this lottery could really be a waste of time and electricity, probabilities are quite near to 0 to solve a block. But in my situation I have already this laptop h24 running because of the node, so I prefer have this "Lottery Ticket" here. If I'll solve a block I would be pretty happy lol


I run this lottery on solo ck pool. You will find a list of solo pools at the bottom of this post. You can use these USB sticks with any coin based on SHA256 algo : btc bch dgb etc...etc....


How to setup that

1. I personnaly use Ubuntu Server : very stable, not a shitty microsoft windows which will do update/reboot automatically.
    I advise to use any Debian based OS. A desktop environment is not necessary.


2. Do a update
Code:
sudo apt-get update
sudo apt-get upgrade
3. Install dependances
Code:
sudo apt-get install -y build-essential git autoconf automake libtool pkg-config libcurl4-openssl-dev libudev-dev libusb-1.0-0-dev libncurses5-dev
4. Get the Gekko version of cgminer
Code:
mkdir -p mining/newpac; cd mining/newpac
git clone https://github.com/vthoang/cgminer.git
cd cgminer

5. Build cgminer
Code:
Ubuntu :
CFLAGS="-O2 -march=native" ./autogen.sh --enable-gekko
make -j 2

Debian / RaspberryOS :
Code:
CFLAGS="-O2" ./autogen.sh --enable-gekko
make -j 2


6. Run
Code:
cd ~/mining/newpac/cgminer
./cgminer -o stratum+tcp://pool.ckpool.org:3333 -u [i]yourwallet[/i] -p x --suggest-diff 32 --gekko-newpac-freq 150
You can change the difficulty and frequence as you want.


Informations about Gekkoscience Newpac Usb miner :




I personnaly switch off the screen of the laptop (less watt consumption)




List of solo pools :

CK Pool : https://solo.ckpool.org/
Kano : https://bitcointalk.org/index.php?topic=789369.44440
DGB SOLO : https://dgb-sha.solopool.org/
Pages:
Jump to: