Abstract
LocalCoin is a decentralized, peer-to-peer payment system designed for high-density mobile environments. Unlike traditional cryptocurrencies that rely on energy-intensive Proof-of-Work (PoW) and persistent internet connectivity, LocalCoin utilizes "social hardness"—the difficulty of subverting a threshold of local witnesses—to secure transactions. By leveraging ad-hoc networking and a distributed ledger, LocalCoin enables reliable, energy-efficient micro-payments in offline scenarios. Simulations using real-world mobility traces demonstrate that the system achieves high security and near-zero energy overhead, making it ideal for localized commerce in crowded urban settings.
Introduction
The rise of decentralized digital currencies has transformed financial systems, yet their application in mobile, ad-hoc scenarios remains limited. High-power mining processes drain smartphone batteries, and the requirement for global consensus via the internet makes transactions impossible in disconnected or congested environments like stadiums or university campuses. LocalCoin addresses this gap by proposing a location-based currency that operates over local ad-hoc networks (e.g., Wi-Fi Direct, NFC), leveraging the physical density of users as a security asset rather than a bottleneck.
Methodology: Social Hardness and Distributed Consensus
The fundamental shift in LocalCoin is moving from mathematical puzzles to social proximity as a security primitive.
Social Hardness and Transaction Flow
In LocalCoin, security is derived from the difficulty of a malicious actor ensuring that every witness to a transaction is a colluder. A transaction is considered valid by a receiver only if it is witnessed and signed by a threshold of trusted peers.
As shown in Figure 2, when Alice initiates a transfer to Bob, the transaction propagates through the local network. Bob accepts the payment once it meets the $mTr$ (Minimum Trusted Users) requirement. This "strongest-link" security model ensures that if even one honest neighbor observes the transaction, double-spending attempts are detectable.
Block Creation and Verification
To manage the ledger without a central authority or global internet access, LocalCoin employs a distributed blockchain where users store only relevant blocks and a small redundancy factor. This keeps storage requirements low enough for modern smartphones.
The system utilizes a three-parameter defense mechanism to ensure the integrity of the ledger:
- $mTr$ (Minimum Trusted Users): The receiver's threshold for accepting a payment based on signatures from trusted peers.
- $mVu$ (Minimum Verifiers): The number of unique users required to verify transactions within a new block (illustrated in Figure 1).
- $aVd$ (Average Distance): A spatial constraint requiring verifiers to be physically distributed, preventing localized groups of colluders from faking blocks.
Evaluation and Results
The authors evaluated LocalCoin using Random Geometric Graphs (RGG) for theoretical connectivity, the ONE simulator for urban mobility modeling, and real-world contact logs from the Infocom and Haggle projects. These datasets provide actual contact logs from people carrying mobile devices, offering a rigorous test for transaction propagation.
Security and Reliability
In dense networks, the probability of a successful double-spend converges to zero, while transaction success rates converge to one. The system is resilient against "virtual-cut" attacks, where a malicious actor tries to physically partition a crowd. Analysis shows that an attacker would need to control a massive percentage of the total users (often >40%) to succeed.
Efficiency and Speed
LocalCoin is exceptionally lightweight. A standard 1KB transaction consumes approximately 0.0004 Joules, which is negligible compared to a typical smartphone battery capacity. In mobility traces, transactions were typically completed in seconds, while malicious attempts to hide fake transactions were detected within minutes during the block creation phase. Additionally, a "garbage collection" mechanism prunes old, spent transactions to prevent storage bloat.
Conclusion
LocalCoin demonstrates that social density can serve as a robust foundation for decentralized payments in offline environments. By leveraging local connectivity and social hardness, it provides a secure, energy-efficient alternative to traditional PoW-based systems for localized commerce. Future work includes enhancing location verification to prevent GPS spoofing and developing bridges to global blockchain networks like Bitcoin.
Summary updated