Thoughts
How TollGate is developing, where each piece stands, and where to start if you want to help.
TollGate lets a network connection be sold for small frequent payments: no account, no subscription, no identity check, no telemetry. A gate meters what it forwards, and the person using the network pays the person providing it.
The hard part is not the idea. It is keeping installed gates working and making them easy enough that someone who is not me will run one. These notes are the wider programme that maintenance makes possible, and the honest state of each piece.
The short version
Sixteen notes, seven themes. Access and payment covers how a gate sells: a mint on the router, bonding several uplinks, getting the software into the OpenWrt feed, and where else a gate can run. Transport covers where the link goes: FIPS identities instead of allocated addresses, research into metering the transport itself, and radios that reach further than Wi-Fi.
Balloons is the strangest branch and the most worked-out: pico balloons as a paid bent pipe, what a fleet costs, and what that buys compared with fibre or Starlink. Hardware covers the cheap end, an ESP32 gate and the bitaxe miner that already runs one. Bitcoin is the synergy that makes the economics work: nonces are tiny and valuable, so a link does not have to be fast to be worth paying for. Build and test is the machinery underneath all of it: four test venues, a bench with serial consoles, and a two-minute cycle that runs before a person looks at anything. Identity and trust covers two adjacent ideas: a vanity npub that resists impersonation, and a ring signature that proves membership without naming the member.
A companion set of notes covers the same question when the seller is a phone, a microcontroller or a laptop.
Each note ends with what is still open and which repository to look at. If one of them sounds like your kind of problem, that is the point of publishing them.
Where to start
| If you work in | Start here | What you would touch |
|---|---|---|
| Go | tollgate-module-basic-go |
the reference gate, portal and admin board |
| Rust | tollgate-module-basic-rust, tollgate-rs |
ports, FIPS integration |
| Embedded and RF | tollgate-esp32, balloon-fresh |
captive portal, LR2021, tracker |
| Frontend | tollgate-module-basic-go |
captive portal and admin skins |
| Tests and CI | physical-router-test-automation |
QEMU bench, signet faucet, soak tests |
| Specs and docs | tollgate |
the TIP, HTTP, NOSTR and WIFI specs |
| Bitcoin and mining | Amperstrand, bitaxe |
nonces, ehash, templates |
Access and payment
Mint on the TollGate
What if the router issued its own money? Cash in, megabytes out — no wallet, no exchange account, no explanation of Bitcoin. And a swap to sats later, if the holder wants it.
Code: tollgate-module-basic-go · cdk · tg-mint-orchestrator
Multi-WAN bonding
Three cheap uplinks bonded into one, and a server that takes ecash instead of a subscription. MPTCP already runs in production here; the missing piece is turning the far end into a TollGate.
Code: tg-mptcp-server · tollgate-module-basic-go
Landing the OpenWrt feed
The difference between a release you download and software a normal router user can install. The feed exists; what is left is a clean pull request and the patience to keep it working across the device zoo.
Code: FreedomTechFeed/packages · tollgate-os
Where a gate can run
OpenWrt first, ordinary Linux next, and what OPNsense and pfSense would actually take. A platform is supported when it passes the conformance suite, not when the binary compiles.
Code: tollgate-module-basic-go · physical-router-test-automation
Transport
How FIPS is useful to TollGate
Identity as a key, not an address an ISP assigns. That one change lets gates chain without NAT, and lets a phone be a gateway rather than only a client.
Code: low-layer-tollgate-exploration · fips
Low-layer TollGate under FIPS
The shipped gate charges for gateway access: a captive portal, backed by firewall rules, opens a session for a client. This research asks whether transit itself can be metered and paid for — per link and per byte, at L0/L1/L2, with the cost of abuse paid by whoever sends the traffic.
Code: low-layer-tollgate-exploration
FLRC, UDP, custom boards and bent-pipe radios
2.6 Mbps across a desk, and a plan to carry it a hundred kilometres through the sky. The radio works; the balloon is the part that has not flown.
Code: balloon-fresh · low-layer-tollgate-exploration
Balloons
Balloons and Bitcoin
A fifteen-gram payload at twelve kilometres, selling connectivity to a miner below it. The physics is easy. The bill is not.
Code: balloon-fresh
What does a balloon network cost?
A 1,000 km chain for about the price of a laptop, or a country for the price of a satellite. The difference is whether you need coverage or continuity.
Code: balloon-fresh · make_cost_figures.py
What does a balloon network compare to?
Cheap per km², dear per Mbps. Balloons sit next to Iridium on capacity density, not next to Starlink — and that is the entire business case.
Code: make_cost_figures.py · cost model
Hardware
ESP32 TollGate and adoption
An 11 Mbps gate that costs less than the router it replaces. The portal works; the payment flow is the next step.
Code: tollgate-esp32 · tollgate-module-basic-go
ESP32 and bitaxe
A miner that pays for its own internet. The bitaxe already has a captive portal; the experiment is whether hash rate can buy connectivity without an account.
Code: tollgate-esp32 · bitaxe
Bitcoin
SparsePool, nonces and Bitcoin synergies
A nonce is a bearer instrument. A miner can produce useful work from a single block hash, so connectivity no longer has to be continuous to be worth paying for.
Code: Amperstrand (DNS4SATs) · tollgate
Build and test
The machines that test the machines
A commit is tested by four venues before a person touches a router: QEMU, an Android VM, a cloud VM and the physical bench. A full reinstall cycle is two minutes ten seconds, and nobody is watching it.
Code: physical-router-test-automation · merchant-routing-engine
Identity and trust
Asymmetric vanity npubs
A human-readable npub that is also hard to impersonate, without a NIP-05 server. The name is ground; the anti-phishing fingerprint is discovered in the low-entropy outliers.
Code: asymmetric-vanity-npubs
Trusted without being identified
A counterparty can prove it belongs to your trusted set without telling you which member it is. Ring signatures on Nostr keys, with a key image to stop replay.
Code: bitblik-trust-proof
Open questions
What we still don’t know
Every number in the balloon notes is arithmetic on an assumption. This page lists all thirty, ranks them by what resolving each would change, and describes the experiment that settles it. Two of them can be closed without flying anything.
Code: balloon-fresh · low-layer-tollgate-exploration
Companion notes
Paid exits: phones, routers and microcontrollers
A companion set of seven notes on the same question from the other end: what happens when the seller is not a router running OpenWrt, but a phone, a microcontroller or a laptop. The short version is that paying needs nothing installed, and routing does — which is why a phone can take payment but cannot host a captive portal, why an ESP32 can be a complete gate but never a FIPS peer, and why the interoperability claims in these notes depend on which letters a pairing can actually speak.
Start with Interoperability: who can sell to whom for the pairing matrix, or What still needs to be built for the status register.
How we work
We are stewards, not leads. There is no hierarchy to join; there are seams to take. Pick an area, document the seam, and publish the test. Decisions move by rough consensus, not by asserting things onto each other. We will try to embrace you, credit your contributions and encourage you to keep going.
Some of the people whose work this is built on are on the Thanks page.
If you want to help and do not know where to start: open an issue on the repository closest to your skills, or message the TollGate team on Nostr at npub1zzt0d0s2f4lsanpd7nkjep5r79p7ljq7aw37eek64hf0ef6v0mxqgwljrv.
Status labels
- In use — running in real deployments or daily use.
- Prototype — code exists, but it is not a shipped feature.
- External prototype — built by a contributor outside the core team.
- Lab-validated — tested on hardware or in a lab, but not landed.
- Direction — design/research intent, not a commitment.
- Packaging — the software exists; the work is landing and maintaining distribution.
- Model — arithmetic on stated assumptions, not a measurement.