Yes what they use Batman-adv. This would save you form having to reinvent it. Could be something like freefunk, but "profitable" https://www.open-mesh.org/projects/batman-adv/wiki/BATMAN_IV
Discussion
One nice thing about TollGate is that you don't need a routing algorithm. Whether your traffic flows through my gateway or not depends on my pricing algorithm and your willingness to pay the price. I need to undercut existing ISPs to get your traffic and others can undercut me if they see an opportunity.
Good point