Implementation of a blockchain based DApp for P2P electricity trading
Abstract
This article details the implementation of a decentralized application (DApp) based on public blockchain Ethereum for token backed P2P electricity trading, with electric vehicle as one the peers. A hybrid market model with a peer matching mechanism with score-based peer matching orchestrated by smart contracts is used and results are presented. Solidity language is used to create smart contracts which runs on the top of open source Ethereum public blockchain. Lockable tokens are created by modifying ERC20 APIs with wallets deployed using MetaMask. Client-side programming with Node-Express with a user interface is deployed. Truffle suite-based unit testing of whole DApp is carried out and deployed to block chain. The cost analysis for deployment of DApp both the simulation environment Ganache and test network Goerli is also presented with cost allocation to different market players.
Community
0 commentsNo discussion yet
Be the first to share a question or observation.