ESP Mining
PoT-O challenges are designed to be solvable by ESP32S and ESP8266 microcontrollers.
Device Constraints
| Device | Max Tensor Dims | Working Memory | Supported Ops |
|---|---|---|---|
| ESP32 / ESP32S | 64x64 | 320 KB | matrix_multiply, convolution, relu, sigmoid, dot_product, normalize |
| ESP8266 | 32x32 | 80 KB | relu, sigmoid, dot_product, normalize |
The challenge generator always respects the most restrictive registered device's limits, so ESP miners can participate in every round.
Setup (Future)
Register device with the validator:
bashcurl -X POST https://pot.rpc.gateway.tribewarez.com/devices/register \ -H "Content-Type: application/json" \ -d '{"device_type": "esp32s"}'Flash firmware with WiFi credentials and the validator endpoint
Device fetches challenges, computes proofs locally, and submits results
Arduino Sketch (Planned)
cpp
#include "pot_o_miner.h"
PotOMiner miner("your_miner_id", "pot.rpc.gateway.tribewarez.com", 8900);
void setup() {
Serial.begin(115200);
WiFi.begin("ssid", "password");
miner.initialize();
}
void loop() {
miner.mine_step();
delay(100);
}Extension Point
ESP device support is implemented via the DeviceProtocol trait. The ESP32SDevice and ESP8266Device implementations are stubbed with correct constraint constants. See Extension Points for details.