This project contains the Gogetum Minmine development server, a Flask API bridge, a Sentinel Apex engine simulator, Cloudflare route support, and a Bitcoin regtest cluster helper.
- Python 3.13+
- Docker / Docker Compose
- Node.js if you want to run the
sentinel-apex.cjsNode script - PowerShell for the helper scripts
- Install Python dependencies:
Set-Location G:\gogetum-minmine_PROD
python -m pip install -r requirements.txt- Update
.envwith your values:
REACT_APP_NICEHASH_API_KEY="insert_your_real_key_here"
REACT_APP_API_URL="http://127.0.0.1:5000"
CLOUDFLARE_TOKEN="your_cloudflare_api_token"
CLOUDFLARE_ZONE_ID="your_cloudflare_zone_id"
CF_TUNNEL_TARGET="your-tunnel-uuid.cfargotunnel.com"- Start the Bitcoin regtest cluster:
.\start-regtest.ps1Note: This repository uses a Dockerized Bitcoin Core regtest cluster and the
bitcoindCLI inside the container. It does not requirebitcoind_qt.exeor the GUI wallet binary for regtest operation.
- Start the API + engine server:
.\start-server.ps1- Optionally run the Node sentinel script:
node .\sentinel-apex.cjsGET /api/healthGET /api/dataGET /api/stateGET /api/bitcoin/regtest/statusPOST /api/bitcoin/regtest/startPOST /api/bitcoin/regtest/stop
- Install OpenSSH in Termux:
pkg install openssh
passwd
sshd- Find your phone IP:
ip addr show wlan0- From your PC connect with SSH:
ssh username@PHONE_IPThis lets you access your phone terminal remotely while working on the project.
- The Python files were syntax-checked using
python -m py_compile. api_bridge.pynow exposes Bitcoin regtest control endpoints.docker-compose.bitcoin-regtest.ymlcreates a 3-node regtest cluster.amf.pyprovides a small application messaging framework for future extension.