git / moonbite-network / miner-app/start-miner.sh · raw

#!/usr/bin/env bash# MoonBite CPU Miner - one command to start (Linux / macOS).# Asks for your reward address, then runs a local node and mines to it.set -euo pipefailcd "$(dirname "$0")"if ! command -v python3 >/dev/null 2>&1; then  echo "Python 3 is required but was not found." >&2  echo "Install it from your package manager or https://www.python.org/downloads/." >&2  exit 1fiexec python3 ./moonbite-miner.py "$@"