prototype / direction
ESP32 and bitaxe: cheap gates and hash-rate payments
An ESP32 captive portal prototype, the bitaxe captive portal, and ehash vouchers for hash rate.
What it is
An ESP32 can be a very cheap TollGate: a small access point that also connects upstream, runs a captive portal, and eventually accepts ecash. A bitaxe is an ESP32-based Bitcoin miner that already uses a captive portal for its own setup. The interesting version connects the two: a second bitaxe could join the first one, receive a block template, mine against it, and earn ecash vouchers for the hash rate it contributed.
What exists today
I built an ESP32-S3 captive-portal prototype, connected it upstream in STA mode, and served an access point at the same time. It reached about 11 Mbps through the shared radio, which is useful for a device at that price. The portal worked; ecash integration was the next step and is not complete.
The bitaxe side is also real: bitaxe already uses a captive portal for initial configuration and pool selection. The ehash idea is that a miner can receive vouchers for useful hash rate rather than needing a pool account before it can earn anything. Vouchers can be redeemed later, or sold to someone who aggregates enough of them to meet a pool threshold.
Why it matters to TollGate and Bitcoin
TollGate normally asks a person to acquire ecash before they can buy access. That is a learning and UX burden. A miner that produces value from electricity can instead earn vouchers from its upstream connection and spend those vouchers on connectivity. The device pays for internet without its owner learning about mints, custody, or wallets first.
The reverse is also true: TollGate makes a bitaxe easier to use, because the miner can discover a template and a payout path through the same local portal. Bitcoin mining becomes a way to bootstrap connectivity in places where the value per byte is high.
Status
Prototype / direction. The ESP32 portal and throughput test exist. The ehash/bitaxe voucher flow is prototyped but far from something a normal user can rely on. This is deliberately not the headline of the work; it is part of the maintenance and adjacent experimentation.
What is still open
The portal and the throughput test exist. The interesting parts are unfinished:
- the ehash voucher flow end to end: a bitaxe earning vouchers for hash rate and spending them on access
- a second bitaxe joining a template and splitting the work
- selling or aggregating vouchers without a pool account
- testing on real hardware rather than on a bench
Get involved
tollgate-esp32— the ESP32 side. Start at the captive portal; it is small enough to read in an evening.tollgate-module-basic-go— the gate that prices and settles.bitaxe— the firmware the voucher flow has to meet.- The bitaxe side is a good first contribution: self-contained, cheap hardware, and a clear success condition.
Issues and questions: open one in the repo, or message the TollGate team on Nostr (npub1zzt0d0s2f4lsanpd7nkjep5r79p7ljq7aw37eek64hf0ef6v0mxqgwljrv, also in the index).
← Back to Thoughts · Next: SparsePool, nonces and Bitcoin synergies →