This repo holds scripts to mine or dual mine. It works on linux devices, like Helium hotspots or raspberry pi.
THIS GITHUB REPO IS NOT AFFILIATED WITH ANY COMPANY.
Open the folder you are interested in, and follow the instructions there.
The .ps1 scripts are for Windows machines. They will connect using ssh to the given device IP, and executes the .sh script. Instead you can run the ".sh" script directly from a ssh session on the target device.
The scripts support both balena and docker, so they can run on Pisces, Sensecap, Nebra, and other Raspberry PI devices having docker or balena installed. It will create configuration folders in /mnt/data/ or /usr/depin though.
The scripts will ask you all required info for onboarding.
You can also run the scripts multiple times.
- Install the latest version of microsoft powershell from the windows store.
- open powershell (enter
pwshin the search box of the window's taskbar)
pwsh -ExecutionPolicy Bypass -Command "iwr 'https://raw.githubusercontent.com/softlion/depin/main/zzzzzzzzzz.ps1' | iex"Replace zzzzzzzzzz by one of the existing file name.
Ex:
pwsh -ExecutionPolicy Bypass -Command "iwr 'https://raw.githubusercontent.com/softlion/depin/main/wingbits/wingbits.ps1' | iex"
- ssh into your device and run:
bash -c "$(curl 'https://raw.githubusercontent.com/softlion/depin/main/.../zzzzzzzzzz.sh')"
#or
sudo bash ...Replace zzzzzzzzzz by one of the existing file name.
Ex:
bash -c "$(curl 'https://raw.githubusercontent.com/softlion/depin/main/wingbits/wingbits.sh')"
#or
sudo bash ...
sudo docker image prune -a
or
balena image prune -a