  The burgeoning domain of the Internet of Vehicles (IoV), a subset of the
Internet of Things (IoT), promises to revolutionize transportation through
enhanced safety, efficiency, and environmental sustainability. By amalgamating
technologies like sensors and cloud computing, the IoV paves the way for
optimized traffic management, heightened vehicle safety, and the birth of novel
business paradigms. However, this growth is shadowed by significant security
concerns, especially in the communication and payment sectors. Addressing the
pressing need for secure Vehicle to Everything (V2X) communications and
payments amidst rising cyber threats, this research introduces the Ethereum
based Secure Payment and Communication Solution (ESP2CS). Utilizing Ethereum as
a middleware, ESP2CS ensures robust and secure V2X interactions. The solution
is complemented by an Android Auto application for vehicles, streamlining inter
vehicle communication, parking space detection, and transaction management.
Furthermore, dedicated Android applications are developed for parking space
renters and the parking IoT system. Preliminary evaluations underscore ESP2CS's
superior cost effectiveness, integrity and consistency over contemporary
solutions, with Ethereum bolstering both security and efficiency.
