adammwest f130b05511
ASIC version mask now based on pool stratum version mask msg (#349)
* make set version mask a function call

* update name

* update init fuc to support version mask setting

* update parameter spec for bm1397

* parametrize set version rolling and update init func for BM136X +

* add default stratum mask

* update all bmchips with a new set_version_mask ASIC function which can be called in main

* update init func prototype params

* update self test to remove extra vmask call in init

* fix compiler errors

* fix compiler errors in main

* add version_mask_given bool to tell the next job to set a new version mask to the chip when a smg comes in
2024-09-26 11:30:06 -04:00
2024-09-05 16:45:18 +02:00
2023-08-26 12:28:17 -04:00
2023-09-07 11:44:18 -04:00
2024-06-11 10:14:30 +02:00
2023-08-26 12:21:41 -04:00
2024-09-23 16:14:21 -04:00
2024-09-23 16:14:21 -04:00
2024-09-23 16:14:21 -04:00
2024-09-23 16:14:21 -04:00
2024-09-23 16:14:21 -04:00
2024-09-21 01:01:38 -04:00
2023-07-01 14:34:26 -04:00
2023-07-01 14:16:04 -04:00
2024-09-20 21:50:14 -04:00
2024-09-21 01:13:27 -04:00
2023-08-26 12:21:41 -04:00

GitHub Downloads (all assets, all releases) GitHub commit activity GitHub contributors

ESP-Miner

esp-miner is open source ESP32 firmware for the Bitaxe

If you are looking for premade images to load on your Bitaxe, check out the releases page. Maybe you want instructions for loading factory images.

Bitaxetool

We also have a command line python tool for flashing Bitaxe and updating the config called Bitaxetool

Bitaxetool Requires Python3.4 or later and pip

Install bitaxetool from pip. pip is included with Python 3.4 but if you need to install it check https://pip.pypa.io/en/stable/installation/

pip install --upgrade bitaxetool

The bitaxetool includes all necessary library for flashing the binary file to the Bitaxe Hardware.

You need to provide a config.cvs file (see repo for examples) and the appropiate firmware.bin file in it's executed directory.

  • Flash with the bitaxetool
bitaxetool --config ./config.cvs --firmware ./esp-miner-factory-v2.0.3.bin

AxeOS API

The esp-miner UI is called AxeOS and provides an API to expose actions and information.

For more details take a look at main/http_server/http_server.c.

Things that can be done are:

  • Get System Info
  • Get Swarm Info
  • Update Swarm
  • Swarm Options
  • System Restart Action
  • Update System Settings Action
  • System Options
  • Update OTA Firmware
  • Update OTA WWW
  • WebSocket

Some API examples in curl:

# Get system information
curl http://YOUR-BITAXE-IP/api/system/info
# Get swarm information
curl http://YOUR-BITAXE-IP/api/swarm/info
# System restart action
curl -X POST http://YOUR-BITAXE-IP/api/system/restart
Description
A bitcoin ASIC miner for the ESP32
Readme GPL-3.0 18 MiB
Languages
C 55.4%
SCSS 25.9%
TypeScript 12%
HTML 4.4%
Python 0.9%
Other 1.3%