Peer-to-Peer Energy Trading meets IOTA:
Toward a Scalable, Low-Cost, and
Efficient Trading System
Conor Mullaney, Adnan Aijaz, Nathan Sealey, Ben Holden
Bristol Research and Innovation Laboratory, Toshiba Europe Ltd., Bristol, United Kingdom
firstname.lastname@toshiba-bril.com
Abstract—Peer-to-Peer (P2P) energy trading provides various
benefits over conventional wholesale energy markets and makes
renewable energy more accessible. This paper proposes a novel
multi-layer P2P energy trading system for microgrids based
on IOTA 2.0, which is a distributed ledger technology (DLT)
primarily designed for Internet-of-Things (IoT) applications. The
proposed energy trading system, which is a manifestation of
a cyber-physical system (CPS), exploits the benefits brought
by IOTA’s unique ledger structure as well as the recently
introduced IOTA smart contract protocol (ISCP). Further, it
implements a uniform double-auction market mechanism and
a hierarchical routing structure for interconnected microgrids.
Performance evaluation demonstrates key benefits over wholesale
markets as well as speed, energy efficiency and cost benefits over
conventional blockchain-based P2P energy trading systems.
Index Terms—Blockchain, CPS, DLT, IOTA, energy trading,
microgrid, P2P, smart contracts, Tangle.
I. INTRODUCTION
Increased penetration of distributed energy resources
(DERs) in the energy sector paves the way toward decentral-
ization of current energy markets by allowing consumers to
become prosumers [1]. Typically energy generation based on
DERs is intermittent and difficult to predict, requiring robust
management systems to utilize them effectively. Peer-to-peer
(P2P) energy trading is a promising approach for effective
management of DERs in smart cities [2]. The fundamental
concept of P2P trading is that prosumers and consumers can
buy and sell energy amongst themselves directly in a com-
pletely decentralized manner. P2P energy trading promotes the
use of renewable energy by empowering prosumers to actively
participate in the energy market [3]. For example, a consumer
household with solar panels can trade surplus energy with
its neighbours. This will increasingly remove centralization
in energy generation and diminishes the need for large non-
renewable power plants.
The key principles for designing P2P energy manage-
ment systems (e.g., platforms) include decentralization, trans-
parency, privacy, scalability, energy efficiency and user con-
trol. Decentralization benefits the entities in the system by
removing their need to trust in a centralized third party.
Transparency ensures that the system and all actors are acting
honestly whilst ensuring privacy. User control gives entities
the choice as to what they share and with whom. Scalability
becomes important due to rapidly growing demand; thanks to
the growth in population and Internet-of-Things (IoT) devices.
Energy efficiency of any system must be considered due to
environmental concerns.
Blockchain, which is the most well-known type of dis-
tributed ledger technology (DLT), has been identified as the
key to facilitating P2P energy trading due to the inherent
features of decentralization, resilience, privacy and security
[4]. However, conventional blockchain technologies still face
challenges when applied to a P2P energy trading use case.
DLTs based on a directed acyclic graph (DAG) structure
overcome many limitations associated with blockchains and
have been investigated from the perspective of blockchain
replacement in energy management systems [5].
To this end, this paper advances state-of-the-art by devel-
oping a P2P energy trading system based on IOTA Tangle,1
which is a DAG-based DLT specifically designed for IoT envi-
ronments. The proposed energy trading system is a realization
of cyber-physical systems (CPSs) approach and it provides
a multi-layer trading functionality involving microgrids, IOTA
smart contracts, and the Tangle. To the best of our knowledge,
this is one of the first works investigating the use of IOTA
Tangle and smart contracts for P2P energy trading. The main
contributions of this work are summarized as follows:
•We develop a P2P energy trading system that exploits the
key benefits of IOTA Tangle and IOTA smart contract pro-
tocol (ISCP) framework. The proposed system provides
key advantages of lower cost, lower transaction times,
and high scalability compared to conventional systems.
•We implement a market mechanism via smart contracts
employing a uniform double-auction to match producers
and consumers fairly in each bidding round, allowing
microgrids to act as a single entity when interacting and
trading. Our multi-layer trading system, underpinned by
IOTA, ensures the transparency and security of transac-
tions in a decentralized manner.
•We introduce a hierarchical routing structure of inter-
connected microgrids to fulfil all excess supply/demand
in the system per bidding round. This maximizes energy
utility and adheres to demand response standards.
1Our focus is strictly on the newer version, i.e., IOTA 2.0
(https://www.iota.org/) which is significantly different from the first
version.
arXiv:2210.06427v1 [cs.NI] 12 Oct 2022