SmartWiFi: Universal and Secure Smart Contract-Enabled WiFi Hotspot

WiFi hotspots have been widely used for establishing public WiFi services and enterprise networks. However, WiFi hotspots often suffer from mediocre security, unreliable performance, limited access, and cumbersome authentication procedure. Specifically, public WiFi hotspots can rarely guarantee satisfactory speed and uptime, and their configuration often requires a complicated setup with subscription to a payment aggregator. Moreover, paid hotspots can neither protect clients against low quality or non-service after prepayment, nor do they provide an adequate defense against misuse by the clients. In this paper, we propose SmartWiFi, a universal, secure, and decentralized smart contract-enabled WiFi hotspot that can be deployed in any public or private environment. SmartWiFi provides cross-domain authentication, fully automated accounting and payments, and security assurance for both hotspots and clients without relying on complex authentication and billing infrastructure. SmartWiFi utilizes a novel off-chain transaction scheme called Hash Chain-based Network Connectivity Satisfaction Acknowledgement (Hansa), which enables fast and low-cost provider-client protocol by restricting otherwise unacceptable delays and fees associated with blockchain interaction. In addition, we present DupSet, a dynamic user-perceived speed estimation technique, which can reliably evaluate the quality of Internet connection from the users’ perspective. We design and implement SmartWiFi desktop and mobile apps using an Ethereum smart contract. With extensive experimental evaluation, we demonstrate that SmartWiFi exhibits rapid execution with low communication overhead and reduced blockchain fees that are adjustable for balancing delays and costs.