01933nas a2200169   4500008004100000245008400041210006900125260000800194520138800202653001501590653004901605100002201654700001501676700001901691700001701710856003601727       2020                        eng d00aLightweight Blockchain Framework for Location-aware Peer-to-Peer Energy Trading0 aLightweight Blockchain Framework for Locationaware PeertoPeer En  cmay3 aPeer-to-Peer (P2P) energy trading can facilitate integration of a large number of small-scale producers and consumers into energy markets. Decentralized management of these new market participants is challenging in terms of market settlement, participant reputation and consideration of grid constraints. This paper proposes a blockchain-enabled framework for P2P energy trading among producer and consumer agents in a smart grid. A fully decentralized market settlement mechanism is designed, which does not rely on a centralized entity to settle the market and encourages producers and consumers to negotiate on energy trading with their nearby agents truthfully. To this end, the electrical distance of agents is considered in the pricing mechanism to encourage agents to trade with their neighboring agents. In addition, a reputation factor is considered for each agent, reﬂecting its past performance in delivering the committed energy. Before starting the negotiation, agents select their trading partners based on their preferences over the reputation and proximity of the trading partners. An Anonymous Proof of Location (A-PoL) algorithm is proposed that allows agents to prove their location without revealing their real identity. The practicality of the proposed framework is illustrated through several case studies, and its security and privacy are analyzed in detail.10aBlockchain10aComputer Science - Cryptography and Security1 aKhorasany, Mohsen1 aDorri, Ali1 aRazzaghi, Reza1 aJurdak, Raja  uhttp://arxiv.org/abs/2005.14520